aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-25 19:45:57 +0100
committerMax Kellermann <max@duempel.org>2009-03-25 19:45:57 +0100
commit1e9659bf1f84dc260129007a17cc4bbe1d146ada (patch)
tree128117dc38aef469339b87f9b4ac2530608fcc4c /src/decoder_thread.c
parent3be1cdf8e0488a933371a6a45ced720d2aa67905 (diff)
downloadmpd-1e9659bf1f84dc260129007a17cc4bbe1d146ada.tar.gz
mpd-1e9659bf1f84dc260129007a17cc4bbe1d146ada.tar.xz
mpd-1e9659bf1f84dc260129007a17cc4bbe1d146ada.zip
playlist_state: start playing after restore is complete
Don't start playback as soon as the "current" song is being loaded from the state file. That is unclean, and leads to an obscure bug: in repeat mode, when the song is started (which is yet the last song in the list), the playlist code marked the very first song in the playlist as "next" song, because the end of the playlist was wrapped. It's easier to set up the playback after all songs have been loaded, and after the random/repeat mode has been set.
Diffstat (limited to 'src/decoder_thread.c')
0 files changed, 0 insertions, 0 deletions