- Status Closed
- Percent Complete
- 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
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.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
this would come in handy !
please include in rockbox!
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
- directory + shuffle OFF
- directory + shuffle ON + “play selected first” OFF
- directory + shuffle ON + “play selected first” ON
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.