[MPlayer-dev-eng] [PATCH] GUI: Corrections for showing track number after playlist editing

Ingo Brückl ib at wupperonline.de
Sat Dec 1 19:14:55 CET 2012


Hans-Dieter Kosch wrote on Sat, 01 Dec 2012 03:18:18 +0100:

> Set track number to 1 when playlist is loaded and re-initialised.

Well, that is what happens track-wise at the moment (playback starts with
track 1 again), but this is a bug. (Try adding playlist items while playback
is running. You will now get different and confusing results if either
playback ends or if you press NEXT.)

The "track number" with playlist playback should reflect the file's position
in the playlist, and the playlist is allowed to change during playback.

There is something wrong with the playlist code which I'll examine first, and
there is something wrong with track numbering and playlists (which is a known
bug though).

> Set track number to 0 when playlist is cleared and nothing is playing.

There is even more to reset and we should reuse code we've already
introduced.

I'll address all these issues with some patches. Let's see afterwards which
track issues remain.

Ingo


More information about the MPlayer-dev-eng mailing list