summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-09-21 16:34:26 +0200
committerArno <arno@disconnect.de>2017-09-21 16:34:26 +0200
commitaf4b07b399d22110b17f6a6dbc1c76152df1e9e0 (patch)
tree48dd6baa464752f8196383374969e2f4f3b1d9c2 /playerwidget.h
parent327e823ed0d9fcf4008521b9b12804db982b1c34 (diff)
downloadBeetPlayer-af4b07b399d22110b17f6a6dbc1c76152df1e9e0.tar.gz
BeetPlayer-af4b07b399d22110b17f6a6dbc1c76152df1e9e0.tar.bz2
BeetPlayer-af4b07b399d22110b17f6a6dbc1c76152df1e9e0.zip
Add Favorites
For now you can only add favorites, no view or removal. On the database side it's kinda awkward. I can't reference a song ID or something, because the DB is cleared on reindexing. So keep artist, song title and album as reference. I'm not yet sure if it's a good idea, though...
Diffstat (limited to 'playerwidget.h')
-rw-r--r--playerwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/playerwidget.h b/playerwidget.h
index 52f2785..91f34e0 100644
--- a/playerwidget.h
+++ b/playerwidget.h
@@ -64,6 +64,7 @@ class PlayerWidget : public QWidget {
void addToPlayList();
void addToPlayListAndClear();
void removeFromPlayList();
+ void addToFavorites();
void clearPlayList();
void shufflePlayList();
void randomPlay();