![]() |
Sayonara Player
|
Public Types | |
enum | PlaylistChooserType : quint8 { OnlyTemporary =1, OnlyPermanent =2, TemporaryAndPermanent =3 } |
Public Member Functions | |
DatabasePlaylist (QSqlDatabase db, quint8 db_id) | |
bool | getAllPlaylistSkeletons (CustomPlaylistSkeletons &skeletons, DatabasePlaylist::PlaylistChooserType type, SortOrderPlaylists sortorder=SortOrderPlaylists::NameAsc) |
bool | getPlaylistSkeletonById (CustomPlaylistSkeleton &skeleton) |
int | createPlaylist (QString playlist_name, bool temporary) |
bool | deleteTrackFromPlaylists (int track_id) |
bool | renamePlaylist (int id, const QString &new_name) |
int | getPlaylistIdByName (const QString &name) |
bool | getPlaylistById (CustomPlaylist &pl) |
bool | storePlaylist (const MetaDataList &vec_md, QString playlist_name, bool temporary) |
bool | storePlaylist (const MetaDataList &vec_md, int playlist_id, bool temporary) |
bool | updatePlaylistTempState (int playlist_id, bool temporary) |
bool | deletePlaylist (int playlist_id) |
bool | emptyPlaylist (int playlist_id) |
bool | insertTrackIntoPlaylist (const MetaData &md, int playlist_id, int pos) |
Private Attributes | |
QSqlDatabase | _db |
quint8 | _module_db_id |