aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_stream.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-04 18:52:37 +0100
committerMax Kellermann <max@duempel.org>2009-02-04 18:52:37 +0100
commite27a665b8996dea78a0aebc32e68ffce6c3c239b (patch)
treead821ff4dc95e192d27e3737a0a99211bf7dd85c /src/input_stream.c
parentb6e5c248786415bd0f69ca62eb0f6aa6862cc2ad (diff)
downloadmpd-e27a665b8996dea78a0aebc32e68ffce6c3c239b.tar.gz
mpd-e27a665b8996dea78a0aebc32e68ffce6c3c239b.tar.xz
mpd-e27a665b8996dea78a0aebc32e68ffce6c3c239b.zip
playlist: simplified playlist.queued updates
Before every operation which modifies the playlist, remember a pointer to the song struct. After the modification, determine the "next song" again, and if it differs, dequeue and queue the new song. This removes a lot of complexity from the playlist update code, and makes it more robust.
Diffstat (limited to 'src/input_stream.c')
0 files changed, 0 insertions, 0 deletions