|
virtual void | clean_up () |
|
virtual void | close_db () |
|
virtual bool | is_initialized () |
|
virtual void | transaction () |
|
virtual void | commit () |
|
virtual void | rollback () |
|
quint8 | get_id () |
|
virtual bool | db_fetch_albums (SayonaraQuery &q, AlbumList &result) |
|
virtual int | getAlbumID (const QString &album) |
|
virtual int | getMaxAlbumID () |
|
virtual bool | getAlbumByID (const int &id, Album &album) |
|
virtual bool | getAllAlbums (AlbumList &result, SortOrder sortorder=SortOrder::AlbumNameAsc, bool also_empty=false) |
|
virtual bool | getAllAlbumsByArtist (int artist, AlbumList &result, Filter filter=Filter(), SortOrder sortorder=SortOrder::AlbumNameAsc) |
|
virtual bool | getAllAlbumsByArtist (IDList artists, AlbumList &result, Filter filter=Filter(), SortOrder sortorder=SortOrder::AlbumNameAsc) |
|
virtual bool | getAllAlbumsBySearchString (Filter filter, AlbumList &result, SortOrder sortorder=SortOrder::AlbumNameAsc) |
|
virtual int | insertAlbumIntoDatabase (const QString &album) |
|
virtual int | insertAlbumIntoDatabase (const Album &album) |
|
virtual int | updateAlbum (const Album &album) |
|
virtual bool | db_fetch_artists (SayonaraQuery &q, ArtistList &result) |
|
virtual int | getArtistID (const QString &artist) |
|
virtual bool | getArtistByID (int id, Artist &artist) |
|
virtual int | getMaxArtistID () |
|
virtual bool | getAllArtists (ArtistList &result, SortOrder sortorder=SortOrder::ArtistNameAsc, bool also_empty=false) |
|
virtual bool | getAllArtistsByAlbum (int album, ArtistList &result, SortOrder sortorder=SortOrder::ArtistNameAsc) |
|
virtual bool | getAllArtistsBySearchString (Filter filter, ArtistList &result, SortOrder sortorder=SortOrder::ArtistNameAsc) |
|
virtual int | insertArtistIntoDatabase (const QString &artist) |
|
virtual int | insertArtistIntoDatabase (const Artist &artist) |
|
virtual int | updateArtist (const Artist &artist) |
|
virtual bool | db_fetch_tracks (SayonaraQuery &q, MetaDataList &result) |
|
virtual bool | getAllTracksByAlbum (int album, MetaDataList &result, Filter filter=Filter(), SortOrder sortorder=SortOrder::TrackArtistAsc, int discnumber=-1) |
|
virtual bool | getAllTracksByAlbum (IDList albums, MetaDataList &result, Filter filter=Filter(), SortOrder sortorder=SortOrder::TrackArtistAsc) |
|
virtual bool | getAllTracksByArtist (int artist, MetaDataList &result, Filter filter=Filter(), SortOrder sortorder=SortOrder::TrackArtistAsc) |
|
virtual bool | getAllTracksByArtist (IDList artists, MetaDataList &result, Filter filter=Filter(), SortOrder sortorder=SortOrder::TrackArtistAsc) |
|
virtual bool | getAllTracksBySearchString (Filter filter, MetaDataList &result, SortOrder sortorder=SortOrder::TrackArtistAsc) |
|
virtual bool | insertTrackIntoDatabase (const MetaData &data, int artistID, int albumID) |
|
virtual bool | updateTrack (const MetaData &data) |
|
virtual bool | updateTracks (const MetaDataList &lst) |
|
virtual bool | getTracksFromDatabase (MetaDataList &returndata, SortOrder sortorder=SortOrder::TrackArtistAsc) |
|
virtual MetaData | getTrackById (int id) |
|
virtual MetaData | getTrackByPath (const QString &path) |
|
virtual bool | getMultipleTracksByPath (const QStringList &paths, MetaDataList &v_md) |
|
virtual bool | deleteTrack (int id) |
|
virtual bool | deleteTracks (const MetaDataList &) |
|
virtual bool | deleteTracks (const IDList &ids) |
|
virtual bool | deleteInvalidTracks () |
|
virtual QStringList | getAllGenres () |
|
virtual void | createIndexes () |
|
virtual bool | storeMetadata (const MetaDataList &v_md) |
|
virtual void | deleteTracksAlbumsArtists () |
|
bool | searchBookmarks (int track_id, QMap< quint32, QString > &bookmarks) |
|
bool | insertBookmark (int track_id, quint32 time, QString text) |
|
bool | removeBookmark (int track_id, quint32 time) |
|
bool | removeAllBookmarks (int track_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) |
|
bool | getAllPodcasts (QMap< QString, QString > &result) |
|
bool | deletePodcast (const QString &name) |
|
bool | addPodcast (const QString &name, const QString &url) |
|
bool | renamePodcast (const QString &name, const QString &url) |
|
bool | updatePodcastUrl (const QString &name, const QString &url) |
|
bool | load_setting (QString key, QString &val) |
|
bool | store_setting (QString key, const QVariant &val) |
|
bool | load_settings () |
|
bool | store_settings () |
|
bool | getAllStreams (QMap< QString, QString > &result) |
|
bool | deleteStream (const QString &name) |
|
bool | addStream (const QString &name, const QString &url) |
|
bool | renameStream (const QString &name, const QString &url) |
|
bool | updateStreamUrl (const QString &name, const QString &url) |
|
QList< RawColorStyle > | get_raw_color_styles () |
|
bool | insert_raw_color_style_to_db (const RawColorStyle &rcs) |
|
bool | update_raw_color_style (const RawColorStyle &rcs) |
|
bool | raw_color_style_exists (QString name) |
|
bool | delete_raw_color_style (QString name) |
|