Support and General Use > Audio Playback, Database and Playlists
Database format lines not stripping after 5 tags
(1/1)
onocentaur:
A bug? My format line is:
%format "fmt_comp" "%02d%s - %s - %02d:%02d" tracknum title artist Lm Ls %strip = "2"
In the database view I get all the tags - the %strip isn't removing the first two characters (i.e. track number). I've played around a bit and it's fine when there are only four tags in the format line, adding a fifth kills the stripping. Any thoughts?!
yueonyrl:
Yes, I have the same problem.
I am using Rocbox cpchan branch V-070626.
jgrg1:
I think this is governed by a constant within the tagtree.c code file called MAX_TAGS. By default this is defined = 5. When generating the format strings in the method
static int get_format_str(struct display_format *fmt)
it limits the number of tags:
...
while (fmt->tag_count < MAX_TAGS)
{
....
The only way to change this is to change the code.
Chronon:
--- Quote from: yueonyrl on June 28, 2007, 10:22:57 PM ---Yes, I have the same problem.
I am using Rocbox cpchan branch V-070626.
--- End quote ---
Please only comment about SVN Rockbox (or the release version) here. Discussion about unsupported builds should be restricted to a devoted topic in the Unsupported Builds forum.
Navigation
[0] Message Index
Go to full version