Rockbox General > Rockbox General Discussion
Odd problem with my Iriver H3xx
djrichwoods:
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?
cool_walking_:
The directory buffer limit is for all files in the folder, not just songs. The cover bitmaps would have put you over the limit.
LinusN:
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.
djrichwoods:
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.
lenny:
--- Quote from: djrichwoods on January 31, 2008, 05:21:23 PM ---I upload my songs from a Mac so I make sure to delete the ._ items using a windows machine
--- End quote ---
save yourself some time and just run the disktidy plugin, it works great!
Navigation
[0] Message Index
[#] Next page
Go to full version