Rockbox General > Rockbox General Discussion

Loss of Max files in dir browser setting?

<< < (3/3)

gevaerts:

--- Quote from: chrisjj on January 28, 2014, 07:59:41 AM ---

--- Quote ---Note: You may need to increase the value of the Max files in dir browser setting (Settings → General Settings → System → Limits) in order to view long lists of tracks in the ID3 database browser.
--- End quote ---

Unless anyone knows otherwise...

--- End quote ---

The code seems to indicate that the limit in the settings is multiplied with an assumed average filename length (which is 40) in order to allocate a buffer. After that, the buffer size forms the actual limit, so if your filenames (or track titles, using the database) are shorter than 40 characters on average, more will fit.

That's from a very brief look at the code though, so I could be wrong.

Anyway, I will update the manual to reflect the changed string soon.,

chrisjj:

--- Quote from: gevaerts on January 28, 2014, 09:37:41 AM ---The code seems to indicate that the limit in the settings is multiplied with an assumed average filename length (which is 40) in order to allocate a buffer. After that, the buffer size forms the actual limit, so if your filenames (or track titles, using the database) are shorter than 40 characters on average, more will fit.
--- End quote ---

Well, that doesn't accord with what I see. With Max Entries in File Browser = 50 (allowing 40 x 50 = 800 chars), with filenames totalling 38433 chars, Database browser Track shows all 1,234 files fine.

Whereas the File browser says "Dir buffer is Full!" - as per the manual.

Perhaps we should be asking what's supposed to happen when Database browser overflows the buffer. :)

Navigation

[0] Message Index

[*] Previous page

Go to full version