summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-16 20:15:44 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-16 20:15:44 +0200
commit743cf8e3a236a18080de2fb9467185d54e60afe4 (patch)
treecb0d30690fc8386e06afc97981074e41ab198ef4 /streamer.c
parent635c9daea388c25793585aada5a1a7f7dde3d296 (diff)
gapless playback now can skip through deleted items
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/streamer.c b/streamer.c
index c6d85b00..dd012003 100644
--- a/streamer.c
+++ b/streamer.c
@@ -74,7 +74,11 @@ streamer_song_removed_notify (playItem_t *it) {
}
if (it == orig_streaming_song) {
orig_streaming_song = NULL;
- // FIXME: must queue new next song for streaming
+ // queue new next song for streaming
+ if (bytes_until_next_song > 0) {
+ streambuffer_fill = bytes_until_next_song;
+ pl_nextsong (0);
+ }
}
}