FS#4991 - Bookmark plays wrong song

Attached to Project: Rockbox
Opened by Anonymous Submitter - Saturday, 01 April 2006, 23:01 GMT
Task Type Bugs
Category Music playback
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


About 50% of the time, when selecting a song from the list of recent bookmarks, it will play the song PRIOR to the one listed. In other words, let's say I have a playlist with Songs A, B, and C and shut off my player at 1:21 during playback of song C (I have my player set to automatically bookmark on stop). When I start up my player next time and go to recently used bookmarks, I will see "Song C 1:21" in the bookmark list. When I select it, it plays Song B at 1:21 when it should be playing Song C at 1:21.

I've been able to repeat this bug numerous times.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Friday, 29 September 2006, 23:20 GMT
Reason for closing:  Out of Date
Additional comments about closing:  no response from reporter. Additionally, this task was opened anonymously.
Comment by Linus Nielsen Feltzing (linusnielsen) - Sunday, 02 April 2006, 08:30 GMT
This is probably because the bookmark code saves the playlist *position* instead of the actual file name. If you add or remove files it will use the wrong file.
Comment by Matt Prager (mobamoba) - Sunday, 02 April 2006, 21:06 GMT
No. It does it with no changes whatsoever in the playlist - I didn't add or change anything in the playlist. This bug is repeatable on numerous different playlists.
Comment by Linus Nielsen Feltzing (linusnielsen) - Sunday, 02 April 2006, 22:43 GMT
It could also be that one or two song in the playlist could not be played for some reason, and are automatically removed. That *could* cause the same behaviour. I'll have my eyes open for this. Thanks for reporting.
Comment by Matt Prager (mobamoba) - Tuesday, 04 April 2006, 22:31 GMT
FYI, this also happens with "resume playback on start" - it sometimes starts one song earlier just like with the bookmark.
Comment by Daniel Stenberg (bagder) - Friday, 28 April 2006, 09:19 GMT
Is this problem still present?