[mpd] Do not start playback automatically after adding songs to the

queue
This commit is contained in:
chme 2016-02-28 10:29:45 +01:00
parent d35894ac15
commit 07947a526d
1 changed files with 0 additions and 30 deletions

View File

@ -1606,12 +1606,6 @@ mpd_command_add(struct evbuffer *evbuf, int argc, char **argv, char **errmsg)
player_queue_add(items, NULL);
ret = player_playback_start(NULL);
if (ret < 0)
{
DPRINTF(E_LOG, L_MPD, "Could not start playback\n");
}
return 0;
}
@ -1659,12 +1653,6 @@ mpd_command_addid(struct evbuffer *evbuf, int argc, char **argv, char **errmsg)
"Id: %d\n",
item_id);
ret = player_playback_start(NULL);
if (ret < 0)
{
DPRINTF(E_LOG, L_MPD, "Could not start playback\n");
}
return 0;
}
@ -2362,12 +2350,6 @@ mpd_command_load(struct evbuffer *evbuf, int argc, char **argv, char **errmsg)
player_queue_add(items, NULL);
ret = player_playback_start(NULL);
if (ret < 0)
{
DPRINTF(E_LOG, L_MPD, "Could not start playback\n");
}
return 0;
}
@ -2628,12 +2610,6 @@ mpd_command_findadd(struct evbuffer *evbuf, int argc, char **argv, char **errmsg
player_queue_add(items, NULL);
ret = player_playback_start(NULL);
if (ret < 0)
{
DPRINTF(E_LOG, L_MPD, "Could not start playback\n");
}
return 0;
}
@ -3263,12 +3239,6 @@ mpd_command_searchadd(struct evbuffer *evbuf, int argc, char **argv, char **errm
player_queue_add(items, NULL);
ret = player_playback_start(NULL);
if (ret < 0)
{
DPRINTF(E_LOG, L_MPD, "Could not start playback\n");
}
return 0;
}