Rockbox Technical Forums
Rockbox General => Rockbox General Discussion => Topic started by: djrichwoods on January 31, 2008, 05:21:23 PM
-
So I'm not sure if this is a general bug or a playlist related bug or even a wps/album art related bug so I'll put it here...
I had been running a version from May 2007 or so and decided it was time to upgrade to a more recent build so I installed the build from Jan 18. I also decided I wanted a wps that supported album art so I created 100x100 bmps for my album art, titled them with the album title only and put them all in my music folder (all of my songs are in a Songs directory with no subdirectories so this worked) and installed the Cabbie default theme from the WPS gallery in the wiki.
But 2 odd things started to happen... The first involves the Songs directory and the playlist and the other involves the playlist.
The first problem was that many of my songs were not showing up in the directory. I had 1190 songs in there and had my directory buffer limit set to 1200 (as recommended in the manual) but I still got directory buffer full error messages (I upload my songs from a Mac so I make sure to delete the ._ items using a windows machine). I checked the properties of the Songs directory and it said I had 1190 files in there. But some artists that I KNEW I had more than 1 song for were showing up with only 1 song. And not only that, if I chose a song to play out of the Songs directory only 850 shuffled songs would load up into the playlist instead of all 1190. So I turned shuffle off and tried this again and the first and last tracks in the playlist were the first and last songs (alphabetically) in the directory but it was still only showing 850 tracks.
Weird right?
So I took a look at the directory with the unit connected to a PC and confirmed again that there were 1190 items. I created another folder and moved everything over and deleted the original folder, disconnected the unit and looked at the new folder. Oddly enough, again there were only 850 items in there but the directory only went up to S (instead of all the way up to Z) even though the properties said there were 1190 items in there. And again the playlist mirrored what I could see in the directory.
So my workaround was to split the directory into 2 parts (A-R, S-Z) and now if I go to the Songs folder and insert through the context menu I get all 1190 songs in the playlist. And this isn't the end of the world but I'm still wondering about this odd 850 file limit. That seems like such an arbitrary number especially given that the top limit for the directory buffer is 10k. I had the same problems running the rockbox default theme and wps so I don't think Cabbie default was the problem.
The second problem only happened when I had the Cabbie default wps running (If I switched the theme to rockbox default and cleared the backdrop but kept the Cabbie wps it still happened). What was happening was that when I went to the playlist through the context menu and deleted 3 items (deleting 1 or 2 was ok), when I hit play to get back to the wps the unit would stop and freeze at a menu and need to be reset. If I changed the wps to the rockbox default I was fine, I could delete 100 tracks and hitting the play button would get me back to the wps.
Has anyone else encountered this? Can anyone load up the Cabbie default theme and check it out and see if you can replicate it?
-
The directory buffer limit is for all files in the folder, not just songs. The cover bitmaps would have put you over the limit.
-
And it's even more complicated than that. The buffer space is calculated for an average file name length of 40 characters. If your file names are longer than that, there will still not be room for as many files as you have set in the directory buffer limit setting.
-
The album art was in the parent directory so that's not the issue... And not only that, I only had them named for the album, not a bmp for every track...
And I didn't know about the 40 character average... That said, my file names are Artist - Title (Album) so while some might hit the 40 character limit, most won't.
That still doesn't explain the 850 file limit... I forgot to add in my original post that I moved the directory limit up to 2000 but that didn't increase the number of files I could see in the directory... you also should remember that at first there were files missing from the middle, not just the end as the last file in the directory (which started with a band name of "Zounds") was there but there will still only 850 items in there...
And since I upgraded to the 013108 build yesterday I now am getting the freeze problem when I delete only 1 item from the playlist while running Cabbie default.
-
I upload my songs from a Mac so I make sure to delete the ._ items using a windows machine
save yourself some time and just run the disktidy plugin, it works great!
-
I upload my songs from a Mac so I make sure to delete the ._ items using a windows machine
save yourself some time and just run the disktidy plugin, it works great!
I always forget about that, thanks for reminding me.
:)
-
So has anyone encountered the 2nd scenario?
The first is easily fixable with subdirectories but the 2nd is still happening and is really frustrating especially given that Cabbie is being considered as the default theme/wps for rockbox.
If someone can try and recreate this problem and maybe figure out what's causing it I'd appreciate it.
Thanks.
-
I'll try and film my problem and post it up here since no one seems to believe me.
::)
-
Please don't multi-post.
Maybe you could clarify the conditions a bit for the second bit. I tried it with my e280 but couldn't cause a freeze. I set Cabbie_default as my theme, navigated to a folder and deleted three items then resumed playback with no problem.
I wasn't quite clear on this part:
(If I switched the theme to rockbox default and cleared the backdrop but kept the Cabbie wps it still happened)
-
Please don't multi-post.
Maybe you could clarify the conditions a bit for the second bit. I tried it with my e280 but couldn't cause a freeze. I set Cabbie_default as my theme, navigated to a folder and deleted three items then resumed playback with no problem.
I wasn't quite clear on this part:
(If I switched the theme to rockbox default and cleared the backdrop but kept the Cabbie wps it still happened)
Where did I multipost? ??? I simply bumped my own thread with updates as I wasn't getting replies.
And it's not navigating to a folder, it's using the "view current playlist" from the context menu and deleting items. When I push play to get back to the wps it freezes at the Playlist context menu (where it says view current playlist, search in playlist, etc.).
-
I think your problem is solved with revision 16277.
Update rockbox and see if you still have the playlist problem.
-
Where did I multipost? ??? I simply bumped my own thread with updates as I wasn't getting replies.
And this is what was meant by multiply posting. Bumping is not permitted here. If you have additional information and nobody has posted since you, please use the modify button and edit your previous post. This is in the posting guidelines. Thanks :)
-
Where did I multipost? ??? I simply bumped my own thread with updates as I wasn't getting replies.
And this is what was meant by multiply posting. Bumping is not permitted here. If you have additional information and nobody has posted since you, please use the modify button and edit your previous post. This is in the posting guidelines. Thanks :)
Apologies.
But I'm curious... if no one answers my question and there's really no other information to add then what recourse do I have to get my problem resolved? Is it really just me hoping someone notices my thread and decides to try and answer my question? That seems rather limiting.
-
I think your problem is solved with revision 16277.
Update rockbox and see if you still have the playlist problem.
I updated up to Jan 31, 2008. Does this revision come after that?
-
Update to the current revision (as per the posting guidelines). You can find out the version from the Rockbox Info menu.
P.S. You just double posted AGAIN, whilst apologising for double posting!