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.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user