command/file: add command "readpicture"

Closes https://github.com/MusicPlayerDaemon/MPD/issues/42
This commit is contained in:
Max Kellermann
2019-08-12 14:01:14 +02:00
parent 54daa85ac2
commit e2da13b0d3
5 changed files with 89 additions and 0 deletions
+1
View File
@@ -168,6 +168,7 @@ static constexpr struct command commands[] = {
{ "rangeid", PERMISSION_ADD, 2, 2, handle_rangeid },
{ "readcomments", PERMISSION_READ, 1, 1, handle_read_comments },
{ "readmessages", PERMISSION_READ, 0, 0, handle_read_messages },
{ "readpicture", PERMISSION_READ, 2, 2, handle_read_picture },
{ "rename", PERMISSION_CONTROL, 2, 2, handle_rename },
{ "repeat", PERMISSION_CONTROL, 1, 1, handle_repeat },
{ "replay_gain_mode", PERMISSION_CONTROL, 1, 1,