Commit 42688977 authored by Warren Dukes's avatar Warren Dukes

when playing a url, previous always goto to previous song and never to the

beginning of the stream! git-svn-id: https://svn.musicpd.org/mpd/trunk@1110 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 1b1d79d2
...@@ -954,7 +954,10 @@ int previousSongInPlaylist(FILE * fp) { ...@@ -954,7 +954,10 @@ int previousSongInPlaylist(FILE * fp) {
syncPlaylistWithQueue(0); syncPlaylistWithQueue(0);
if (getPlayerElapsedTime()>PLAYLIST_PREV_UNLESS_ELAPSED) { if (getPlayerElapsedTime()>PLAYLIST_PREV_UNLESS_ELAPSED &&
playlist.songs[playlist.order[playlist.current]]->type
!= SONG_TYPE_URL)
{
return playPlaylistOrderNumber(fp,playlist.current); return playPlaylistOrderNumber(fp,playlist.current);
} }
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment