summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-04-12 20:14:05 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-04-12 20:14:05 +0000
commit9d9937a0ad64018a7e8beb503f7207696e694856 (patch)
tree33b8686cb06727fd7012917dd75cd1e8dcc6780f /apps/tagtree.c
parentec88dffb6cde1b0e88c813e1676c8e989668fd9b (diff)
Added virtual tags in database to break track length to minutes and seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13132 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index e9370fa443..cc8c1456e6 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -200,6 +200,8 @@ static int get_tag(int *tag)
MATCH(tag, buf, "ensemble", tag_albumartist);
MATCH(tag, buf, "genre", tag_genre);
MATCH(tag, buf, "length", tag_length);
+ MATCH(tag, buf, "Lm", tag_virt_length_min);
+ MATCH(tag, buf, "Ls", tag_virt_length_sec);
MATCH(tag, buf, "title", tag_title);
MATCH(tag, buf, "filename", tag_filename);
MATCH(tag, buf, "tracknum", tag_tracknumber);