# HG changeset patch # User ib # Date 1354197075 0 # Node ID 79c77d8a34c7d3ea016202b8ef5478a9f4337b16 # Parent 725ff1d87a9a7edb9c47ce6bdde26af07a182115 Set track counter on guiPlaylistInitialize(). The files are either enqueued or there will be no play event (evPlay). Either way the track counter must be initialized. Based on a patch by Hans-Dieter Kosch, hdkosch kabelbw de. diff -r 725ff1d87a9a -r 79c77d8a34c7 gui/interface.c --- a/gui/interface.c Thu Nov 29 12:31:49 2012 +0000 +++ b/gui/interface.c Thu Nov 29 13:51:15 2012 +0000 @@ -864,6 +864,9 @@ if (enqueue) filename = NULL; // don't start playing + if (result) + guiInfo.Track = 1; + return result; }