Support and General Use > Audio Playback, Database and Playlists

SOLVED Tagnavi_custom MAX SIZE?

(1/2) > >>

Buzkill:
Been putting some decent time into making a cool custom genre database page and Ive found that if I add anymore code, it seems to break the viewer and how it's supposed to work.

Is there a limit to the size and length of the tagnavi_custom file? Or what could be the issue? I know its not the code, because if I remove any part to make it smaller it starts to work as expected again.

Any ideas? ???

THANK YOU

chris_s:

--- Quote from: Buzkill on August 31, 2021, 09:08:18 AM ---Is there a limit to the size and length of the tagnavi_custom file?
--- End quote ---
Yes:

--- Code: ---#define TAGMENU_MAX_ITEMS  64
#define TAGMENU_MAX_MENUS  32
#define TAGMENU_MAX_FMTS   32
--- End code ---
See here: https://github.com/Rockbox/rockbox/blob/c11ed99cb453af968493018e1b83606423d9b9a0/apps/tagtree.h#L30

chris_s:
Actually, sorry, I think I sent you to the wrong place. This seems to be the relevant piece of code:


--- Code: ---#define TAGCACHE_MAX_CLAUSES 32
--- End code ---

https://github.com/Rockbox/rockbox/blob/c11ed99cb453af968493018e1b83606423d9b9a0/apps/tagcache.h#L84

chris_s:
Wait, no, now I'm confusing myself. I was right before (I think).  :D

Buzkill:
Im not quite sure what your pointing out :D is it something i can change or no?
I mean obviously i can change the value and recompile, but why did they pick that limit to begin with?

Would be interested to know how high you could push that without major problems but i have no clue what it would effect

Navigation

[0] Message Index

[#] Next page

Go to full version