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
This commit is contained in:
parent
1b1d79d22a
commit
426889778d
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user