# HG changeset patch # User ib # Date 1355333581 0 # Node ID b356942130dfb28647cebd06f4887bf1cffb12ef # Parent 2508973357da2d8ff7159861c13ff2f40e3c1170 Fix setting PlaylistNext after a playlist change. It doesn't depend on the previous state of the list, but the playing state. (We would have a two times playback of the first item after a change in stop mode else.) diff -r 2508973357da -r b356942130df gui/dialog/playlist.c --- a/gui/dialog/playlist.c Wed Dec 12 17:18:01 2012 +0000 +++ b/gui/dialog/playlist.c Wed Dec 12 17:33:01 2012 +0000 @@ -237,7 +237,7 @@ { uiSetFile( item->path,item->name,STREAMTYPE_FILE ); guiInfo.NewPlay = GUI_FILE_NEW; - guiInfo.PlaylistNext = (curr.name ? False : True); + guiInfo.PlaylistNext = !guiInfo.Playing; guiInfo.Track = 1; } }