Backport r29435 to 3.8 branch.

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_8@29439 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alex Parker 2011-02-27 21:01:31 +00:00
parent 2076ed09eb
commit a1d157ba1e
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ static long tempbuf_pos;
static const char *tags_str[] = { "artist", "album", "genre", "title", static const char *tags_str[] = { "artist", "album", "genre", "title",
"filename", "composer", "comment", "albumartist", "grouping", "year", "filename", "composer", "comment", "albumartist", "grouping", "year",
"discnumber", "tracknumber", "bitrate", "length", "playcount", "rating", "discnumber", "tracknumber", "bitrate", "length", "playcount", "rating",
"playtime", "lastplayed", "commitid", "mtime" }; "playtime", "lastplayed", "commitid", "mtime", "lastoffset" };
/* Status information of the tagcache. */ /* Status information of the tagcache. */
static struct tagcache_stat tc_stat; static struct tagcache_stat tc_stat;

View file

@ -26,7 +26,7 @@
#include "metadata.h" #include "metadata.h"
/** /**
Note: When adding new tags, make sure to update index_entry_ec in Note: When adding new tags, make sure to update index_entry_ec and tags_str in
tagcache.c and bump up the header version too. tagcache.c and bump up the header version too.
*/ */
enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title, enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,