diff options
author | 2009-12-01 22:50:10 +0100 | |
---|---|---|
committer | 2009-12-01 22:50:10 +0100 | |
commit | 542bdd08190a0ec1f4fc3acc804d84eb0a1f2410 (patch) | |
tree | 66a5662787a832d3f70548cafef1bb27ca7579bd /streamer.c | |
parent | 2dccdf377da4e527f630b05509c01217499bedce (diff) |
fixed redraw after last track finishes
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -310,6 +310,7 @@ streamer_thread (void *ctx) { } } else if (nextsong == -2 && bytes_until_next_song == 0) { + int from = orig_playing_song ? pl_get_idx_of (orig_playing_song) : -1; bytes_until_next_song = -1; trace ("nextsong=-2\n"); nextsong = -1; @@ -321,6 +322,7 @@ streamer_thread (void *ctx) { streamer_set_current (NULL); pl_item_free (&str_playing_song); orig_playing_song = NULL; + messagepump_push (M_SONGCHANGED, 0, from, -1); continue; } else if (p_isstopped ()) { |