]> git.tue.mpg.de Git - paraslash.git/commit
Fix off-by-one bug in playlist handling.
authorAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2007 14:14:09 +0000 (15:14 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2007 14:14:09 +0000 (15:14 +0100)
commit2347b1cc856585b03351ba71938fcff3630bdfe8
treef8f47fecbd1c5e27792b720b3292b09e4d25b3ee
parente0ab706af6691a8156b2ed7fe29b6c60792ea46a
Fix off-by-one bug in playlist handling.

In playlist mode, the old code skipped the first entry of the list,
i.e para_server began streaming using the second playlist entry.

The fix is to set current_playlist_entry to the last entry of the list
whenever a new playlist is loaded.

Thanks to Gerrit Renker for reporting this bug.
playlist_selector.c