![]() |
Sayonara Player
|
Public Types | |
| enum | PlaylistChooserType : quint8 { OnlyTemporary =1, OnlyPermanent =2, TemporaryAndPermanent =3 } |
Public Member Functions | |
| DatabasePlaylist (const QSqlDatabase &db, quint8 db_id) | |
| bool | getAllPlaylistSkeletons (CustomPlaylistSkeletons &skeletons, DatabasePlaylist::PlaylistChooserType type, Playlist::SortOrder sortorder=Playlist::SortOrder::NameAsc) |
| bool | getPlaylistSkeletonById (CustomPlaylistSkeleton &skeleton) |
| int | createPlaylist (QString playlist_name, bool temporary) |
| 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 | 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 |
1.8.13