player_control: eliminate PLAYER_COMMAND_PLAY

Sending PLAYER_COMMAND_STOP followed by PLAYER_COMMAND_QUEUE does the
same.  PLAYER_COMMAND_PLAY is redundant.
This commit is contained in:
Max Kellermann
2009-10-08 21:22:31 +02:00
parent fd3934b849
commit d6a6f428b3
3 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -77,8 +77,7 @@ pc_play(struct song *song)
assert(pc.next_song == NULL);
pc.next_song = song;
player_command(PLAYER_COMMAND_PLAY);
pc_enqueue_song(song);
assert(pc.next_song == NULL);