Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Support and General Use
Audio Playback, Database and Playlists
playlists start over
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: playlists start over (Read 6945 times)
reptillikus
Member
Posts: 8
playlists start over
«
on:
October 01, 2017, 09:42:23 AM »
I cant figure this out, and its driving me nuts.
6g iPod, running the new bootloader, installed via Rockbox Utility for about a week or two now. Everything was working fine until a couple days ago, and then suddenly, this:
Listening to a playlist i created on my PC (m3u or m3u8, doesnt matter). Pause and it auto-shuts off. Turn rockbox back on later, and it picks up at the beginning of the playlist. Every time. If i create a dynamic playlist with Rockbox it works just fine, until I save it as a new playlist, then they do the same. Weird thing is, they used to work just fine. No changes made to them, nothing, they just randomly all stopped resuming. Cant figure it out.
«
Last Edit: October 01, 2017, 12:18:41 PM by reptillikus
»
Logged
reptillikus
Member
Posts: 8
Re: playlists start over
«
Reply #1 on:
October 02, 2017, 09:59:33 AM »
I'm at a complete loss. I recreated a playlist within rockbox and saved it, and it works fine. But every playlist I make on my PC, or even one I make on my iPod, copy to my PC, edit and put back on the iPod, will restart at the 1st track when the iPod powers down. I tried clearing my config file, but that didn't work. Then deleted the whole .rockbox folder and reinstalled via the Utility, and they still don't work right. I just don't get it.
Logged
Bilgus
Developer
Member
Posts: 959
Re: playlists start over
«
Reply #2 on:
October 02, 2017, 10:11:36 AM »
it is probably missing a field that the rockbox created ones have try making a 2 song playlist on the device and the same two songs on one on the PC and then compare them in a Hex editor..
Logged
saratoga
Developer
Member
Posts: 9308
Re: playlists start over
«
Reply #3 on:
October 02, 2017, 10:24:10 AM »
At shutdown it should save the current resume position. I assume this is a normal shutdown and not the battery draining to zero, the player hard rebooting, etc?
Logged
reptillikus
Member
Posts: 8
Re: playlists start over
«
Reply #4 on:
October 02, 2017, 10:51:50 AM »
Yeah I set idle poweroff to 1 min for testing. So normal shutdown.
Bilgus, you might be close to the solution. I think it might be the difference in file location relative to the root dir on my PC's HD vs on my iPod. I'm currently moving my music library to a different location on my PC, and will then try to recompile my playlists off my other (stock) iPod via winamp. It's gonna take about 2 hours so I'll report back with my results.
Logged
reptillikus
Member
Posts: 8
Re: playlists start over
«
Reply #5 on:
October 03, 2017, 02:45:12 PM »
Ok, I've got it all figured out.
I'm chalking it up to my mistake, combined with a quirk of Rockbox I did not expect. So I wrote my playlists in WinAmp (and tried in foobar with the same results). So here's where I went wrong.
My directories on my PC are set up as:
C:\users\kevin\music\slayer (or any other band you prefer).
Playlists were in c:\users\kevin\playlists.
The catch is, on my iPod, the directories were f:\music and f:\playlists.
So by some quirk of Rockbox I did not expect, even tho the playlists would point to a directory that technically didn't exist on the iPod (users\kevin\music), the playlists would still play, but lose their place when the iPod powered off. That was the problem. To get around this, I moved my music directory on my PC to a new location so I could put it in the root directory (d:\music & d:\playlists). I then reloaded my music library in WinAmp, and synced my other 'stock' iPod with it (i have 4 with various mods done). So when I synced that one, it rewrote all of my playlists to reflect the new music directory (d:\music). So now the directory locations on both the PC and iPod match, and just like that, all my playlists work again
«
Last Edit: October 03, 2017, 02:55:35 PM by reptillikus
»
Logged
jhMikeS
Developer
Member
Posts: 242
Re: playlists start over
«
Reply #6 on:
October 03, 2017, 07:17:11 PM »
This may solve the weirdness:
http://gerrit.rockbox.org/r/1688
Logged
reptillikus
Member
Posts: 8
Re: playlists start over
«
Reply #7 on:
October 04, 2017, 02:52:09 PM »
Adjusting the music dir structure on my PC to more closely match the rockbox directory has solved the issue. Id have to move tunes back to the old location to test it. I might yet over the weekend when i have more free time.
Logged
jhMikeS
Developer
Member
Posts: 242
Re: playlists start over
«
Reply #8 on:
October 04, 2017, 03:57:25 PM »
It might but it's not a proper solution because the code put in place for resume was actually wrong. The patch should fix the inconsistency such that if had been correct, this thread never would have existed because your setup should have worked fine.
Edit: Testing a similar setup with a couple files would be enough. There's no need to redo the entire music library.
«
Last Edit: October 04, 2017, 03:59:26 PM by jhMikeS
»
Logged
jhMikeS
Developer
Member
Posts: 242
Re: playlists start over
«
Reply #9 on:
October 07, 2017, 03:01:23 PM »
I put in the patch since it's the correct way to do it. I'll consider this issue dealt with unless something goes horribly wrong with the change.
Logged
fredex
Member
Posts: 53
Re: playlists start over
«
Reply #10 on:
October 27, 2017, 12:58:25 PM »
Is the patch in #6, above, now available in the dev (daily??) builds?
I've had a similar problem for years on all my Sansa players (Fuze v2, clip zip) where some small number of audiobooks always start over at the first track whenever the player is restarted, so I'm wondering if I should try this fix... If not available in the dev builds, is there a build (based on 3.14) I can get that contains the fix, so I can try it?
At the moment there is one audiobook for which that seems to happen all the time.
all my playlists are generated by a Linux shellscript, make-m3u, all in exactly the same way, and they are created from the point of view of the SD card, so they all have the correct path-to-file in them. if I understand the patch description (and I may well not) it is some kind of discrepancy between the playlist and database?
?
thank in advance!
Logged
TheAlmightyGuru
Member
Posts: 37
Re: playlists start over
«
Reply #11 on:
October 30, 2017, 02:06:59 PM »
I'm having the same problem on my ClipZip using the build from today (and all previous ones since 3.14). I can load a pre-made m3u playlist and it will play songs just fine. But after I shut off my ClipZip and turn it back on, it will restart the playlist from the beginning rather than play from where the last song left off.
If you need more info or to try a test of anything, just let me know!
Logged
fredex
Member
Posts: 53
Re: playlists start over
«
Reply #12 on:
October 30, 2017, 08:59:14 PM »
Guru: that's exactly what happens to me, but its only on a very few playlists, and not 100% of the time (only about 90%
) I'm currently playing one that has been bad and this time thru, so far, its working fine. Go Figure.
If instead of selecting the playlist, I go to the folder where the files are and start playing them, they work fine. its onlywith my m3u8 playlist that it usually fails.
If you're using the latest build and it doesn't solve it, then either (1) the fix didn't get into current builds, or (2) we've got another problem entirely.
I'd like to get a reply from jhMikeS regarding the disposition of the patch. that would shed a bit of light on it.
Logged
saratoga
Developer
Member
Posts: 9308
Re: playlists start over
«
Reply #13 on:
October 30, 2017, 09:42:07 PM »
That patch was committed on the 7th, so if it didn't fix it, then you've got a different problem.
Logged
TheAlmightyGuru
Member
Posts: 37
Re: playlists start over
«
Reply #14 on:
October 31, 2017, 10:01:56 AM »
I've found a pattern!
When the songs in the playlist begin with a current or parent directory operator, Rockbox fails to remember the last song after shutdown and restarts the playlist from the beginning. For example, this playlist will fail to remember:
./Artist/Song 1.ogg
./Artist/Song 2.ogg
And so will this one:
../Music/Artist/Song 1.ogg
../Music/Artist/Song 2.ogg
However, when I remove the current or parent directory operator, Rockbox properly remembers the last song. So, this one works:
Artist/Song 1.ogg
Artist/Song 2.ogg
Fredex, can you verify this on your ClipZip?
Logged
Print
Pages: [
1
]
2
« previous
next »
Rockbox Technical Forums
Support and General Use
Audio Playback, Database and Playlists
playlists start over
SMF 2.0.19
|
SMF © 2021
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.302 seconds with 22 queries.