diff options
Diffstat (limited to 'src/player_control.c')
-rw-r--r-- | src/player_control.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/player_control.c b/src/player_control.c index 1d5c76aa0..bc55bcff4 100644 --- a/src/player_control.c +++ b/src/player_control.c @@ -44,6 +44,13 @@ void pc_deinit(void) notify_deinit(&pc.notify); } +void +pc_song_deleted(const struct song *song) +{ + if (pc.errored_song == song) + pc.errored_song = NULL; +} + static void player_command(enum player_command cmd) { pc.command = cmd; |