aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-23 00:10:33 +0100
committerMax Kellermann <max@duempel.org>2009-01-23 00:10:33 +0100
commit0d4319ed302d0cfd8afb4cc32caf727b23f25805 (patch)
tree93d2b6a425ea7fe3e582c95e541fe0b9768b81f7 /src/directory.c
parentbd71d3ea78c23c9d344208c823e21cb7f900ba97 (diff)
downloadmpd-0d4319ed302d0cfd8afb4cc32caf727b23f25805.tar.gz
mpd-0d4319ed302d0cfd8afb4cc32caf727b23f25805.tar.xz
mpd-0d4319ed302d0cfd8afb4cc32caf727b23f25805.zip
playlist: calculate next song before deleting the current one
By calling queue_next_order() before playlist.current is invalidated (by the deletion of a song), we get more robust results, and the code becomes a little bit easier. incrPlaylistCurrent() is unused now, and can be removed.
Diffstat (limited to 'src/directory.c')
0 files changed, 0 insertions, 0 deletions