![]() |
Sayonara Player
|
DBWrapper is responsible for fetching playlist data from database, especially the handling between skeleton and the playlist itself Most of the functions are wrappers for the DatabasePlaylist class. More...
#include <PlaylistDBWrapper.h>
Public Member Functions | |
bool | get_skeletons (CustomPlaylistSkeletons &skeletons, PlaylistStoreType type, PlaylistSortOrder so=PlaylistSortOrder::IDAsc) |
bool | get_all_skeletons (CustomPlaylistSkeletons &skeletons, PlaylistSortOrder so=PlaylistSortOrder::IDAsc) |
bool | get_non_temporary_skeletons (CustomPlaylistSkeletons &skeletons, PlaylistSortOrder so=PlaylistSortOrder::IDAsc) |
bool | get_temporary_skeletons (CustomPlaylistSkeletons &skeletons, PlaylistSortOrder so) |
bool | get_all_playlists (CustomPlaylists &playlists, PlaylistSortOrder so=PlaylistSortOrder::IDAsc) |
bool | get_temporary_playlists (CustomPlaylists &playlists, PlaylistSortOrder so=PlaylistSortOrder::IDAsc) |
bool | get_non_temporary_playlists (CustomPlaylists &playlists, PlaylistSortOrder so=PlaylistSortOrder::IDAsc) |
CustomPlaylist | get_playlist_by_id (int id) |
CustomPlaylist | get_playlist_by_name (const QString &name) |
bool | rename_playlist (int id, const QString &new_name) |
bool | save_playlist_as (const MetaDataList &v_md, const QString &name) |
bool | save_playlist_temporary (const MetaDataList &v_md, const QString &name) |
bool | save_playlist (const CustomPlaylist &pl) |
bool | save_playlist (const MetaDataList &v_md, int id, bool is_temporary) |
bool | delete_playlist (int id) |
bool | delete_playlist (const QString &name) |
bool | exists (const QString &name) |
DBWrapper is responsible for fetching playlist data from database, especially the handling between skeleton and the playlist itself Most of the functions are wrappers for the DatabasePlaylist class.