diff options
author | Max Kellermann <max@duempel.org> | 2014-12-12 13:47:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-12 22:10:24 +0100 |
commit | fed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55 (patch) | |
tree | a5c6ba9076df11690dfc45c311bb57ef2fdaf7fd /src/command | |
parent | 71ece564702a5d91d72f5d35fe34fe5cf9f18556 (diff) | |
download | mpd-fed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55.tar.gz mpd-fed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55.tar.xz mpd-fed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55.zip |
sticker/Song: add enum StickerOperator to sticker_song_find()
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/StickerCommands.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command/StickerCommands.cxx b/src/command/StickerCommands.cxx index f2fad86cc..b8eee55c5 100644 --- a/src/command/StickerCommands.cxx +++ b/src/command/StickerCommands.cxx @@ -143,6 +143,9 @@ handle_sticker_song(Client &client, ConstBuffer<const char *> args) const char *const base_uri = args[2]; + StickerOperator op = StickerOperator::EXISTS; + const char *value = nullptr; + bool success; struct sticker_song_find_data data = { client, @@ -150,6 +153,7 @@ handle_sticker_song(Client &client, ConstBuffer<const char *> args) }; success = sticker_song_find(*db, base_uri, data.name, + op, value, sticker_song_find_print_cb, &data, error); if (!success) { |