Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category User Interface → Themes
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Anonymous Submitter - 2003-03-09
Last edited by zagor - 2003-06-04

FS#1059 - Display right position of track in shuffled directory

If “shuffle” and “play selected first” are on, and you play
a directory,
then the playlist starts with the selected track, which has
a random position.
⇒ %pp displays for instance 5, 6, 7, 8, 1, 2, 3, 4
(instead of 1,…,8)

This patch simply uses the “playlist.first_index” to display
the rigth position (from 1 to N) in WPS and ID3.

Closed by  zagor
2003-06-04 14:18
Reason for closing:  Accepted
Anonymous Submitter commented on 2003-03-10 10:45

this would come in handy !

please include in rockbox!

Project Manager
zagor commented on 2003-03-11 09:11

I’d prefer if you make a new tag for this, such as %pi (playlist index).

Anonymous Submitter commented on 2003-03-12 00:43
I’d prefer if you make a new tag for this, such as %pi
(playlist index).

I thought of this patch as a bugfix rather than a new feature,
because it’s really the position of the track within the “playlist” :
- *.m3u + shuffle on/off

current "%pp" displays 1,2,3,...fine
"wanted  %pi" displays 1,2,3,...fine

- directory + shuffle OFF

current "%pp" displays 1,2,3,...fine
"wanted  %pi" displays 1,2,3,...fine

- directory + shuffle ON + “play selected first” OFF

current "%pp" displays 1,2,3,...fine
"wanted  %pi" displays 1,2,3,...fine

- directory + shuffle ON + “play selected first” ON

and you want to start with the 3rd track (e.g)
current "%pp" displays 7,8,1,2,3,4,5,6 (that's the point !)
"wanted  %pi" displays 1,2,3,...better

In this example, “7” is random : it’s the index of the (chosen)
3rd track in the shuffled playlist.
IMO, it’s not “human-readable”, and not a wanted feature.
(in fact, I did use the current %pp code for debug purpose,
and I renamed it “%pi” as it is indeed an index :-)

If you want the “%pi” tag anyway, I will do it.

Pascal.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing