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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user