aboutsummaryrefslogtreecommitdiffstats
path: root/src/Playlist.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-02 12:00:32 +0100
committerMax Kellermann <max@duempel.org>2013-12-02 12:50:27 +0100
commit2b717997e2d09d18e569cd36524aef0f8a3b1716 (patch)
treeb50039f8a33b9cb4f0a758566e46900f2b909923 /src/Playlist.hxx
parent20ebacf489333933ce752d66ffb6068434a846f5 (diff)
downloadmpd-2b717997e2d09d18e569cd36524aef0f8a3b1716.tar.gz
mpd-2b717997e2d09d18e569cd36524aef0f8a3b1716.tar.xz
mpd-2b717997e2d09d18e569cd36524aef0f8a3b1716.zip
command: add commands "addtagid", "cleartagid"
Diffstat (limited to 'src/Playlist.hxx')
-rw-r--r--src/Playlist.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Playlist.hxx b/src/Playlist.hxx
index 5875ff4d8..2116abe7c 100644
--- a/src/Playlist.hxx
+++ b/src/Playlist.hxx
@@ -23,8 +23,10 @@
#include "Queue.hxx"
#include "PlaylistError.hxx"
+enum TagType : uint8_t;
struct PlayerControl;
struct Song;
+class Error;
struct playlist {
/**
@@ -205,6 +207,10 @@ public:
PlaylistResult SetPriorityId(PlayerControl &pc,
unsigned song_id, uint8_t priority);
+ bool AddSongIdTag(unsigned id, TagType tag_type, const char *value,
+ Error &error);
+ bool ClearSongIdTag(unsigned id, TagType tag_type, Error &error);
+
void Stop(PlayerControl &pc);
PlaylistResult PlayPosition(PlayerControl &pc, int position);