aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:17 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:17 +0200
commit110cef6fda704ae9ea806c13ef346de6a1059a9f (patch)
tree2416856ed2f404f8e031b4932454d97a038ba100 /src/playlist.c
parent7125fdc4f24176997e68e5e6923ca6df685cf159 (diff)
downloadmpd-110cef6fda704ae9ea806c13ef346de6a1059a9f.tar.gz
mpd-110cef6fda704ae9ea806c13ef346de6a1059a9f.tar.xz
mpd-110cef6fda704ae9ea806c13ef346de6a1059a9f.zip
don't call playerStop() before playerPlay()
Since playerPlay() already calls playerStop(), we can remove its invocation of playerStop() from playPlaylistOrderNumber(). We can also make playerStop a static function.
Diffstat (limited to '')
-rw-r--r--src/playlist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 0f6f1d010..e5aad2ed8 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -837,8 +837,6 @@ static void playPlaylistOrderNumber(int orderNum)
{
char path_max_tmp[MPD_PATH_MAX];
- playerStop();
-
playlist_state = PLAYLIST_STATE_PLAY;
playlist_noGoToNext = 0;
playlist.queued = -1;