# HG changeset patch # User ib # Date 1354543933 0 # Node ID 4d2ebecd16057830a84f35af33abe13f5a9eae0d # Parent 9dceffa5d9b2a826392f60cdfba6f07f01242283 Set track number in uiCurr(). Since a playlist can change on the fly during playback by a playlist file, this ensures a correct track number. diff -r 9dceffa5d9b2 -r 4d2ebecd1605 gui/ui/actions.c --- a/gui/ui/actions.c Mon Dec 03 14:10:12 2012 +0000 +++ b/gui/ui/actions.c Mon Dec 03 14:12:13 2012 +0000 @@ -326,6 +326,7 @@ if (curr) { uiSetFile(curr->path, curr->name, STREAMTYPE_FILE); guiInfo.PlaylistNext = 0; + guiInfo.Track = (int)listMgr(PLAYLIST_ITEM_GET_POS, curr); break; }