aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/mvp_plugin.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/output/mvp_plugin.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 '')
0 files changed, 0 insertions, 0 deletions