diff options
| author | Michael Hohmuth <sideral@rockbox.org> | 2011-02-27 20:25:11 +0000 |
|---|---|---|
| committer | Michael Hohmuth <sideral@rockbox.org> | 2011-02-27 20:25:11 +0000 |
| commit | 1a23e0ca1927ad9712f42d86fff998d0f62bc39e (patch) | |
| tree | f962318b7904b71af6bc711e9c08db0dec9ac605 /apps | |
| parent | 0facf23e142cf7f2296b4e99826911f04aa15e31 (diff) | |
| download | rockbox-1a23e0ca1927ad9712f42d86fff998d0f62bc39e.zip rockbox-1a23e0ca1927ad9712f42d86fff998d0f62bc39e.tar.gz rockbox-1a23e0ca1927ad9712f42d86fff998d0f62bc39e.tar.bz2 rockbox-1a23e0ca1927ad9712f42d86fff998d0f62bc39e.tar.xz | |
Fix database import and export
Correct an omission that happened when the DB schema was changed last
time. Add a comment to enum tag_type to prevent this from happening
in the future.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29435 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/tagcache.c | 2 | ||||
| -rw-r--r-- | apps/tagcache.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 6dfc88b..42ef2d3 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -130,7 +130,7 @@ static long tempbuf_pos; static const char *tags_str[] = { "artist", "album", "genre", "title", "filename", "composer", "comment", "albumartist", "grouping", "year", "discnumber", "tracknumber", "bitrate", "length", "playcount", "rating", - "playtime", "lastplayed", "commitid", "mtime" }; + "playtime", "lastplayed", "commitid", "mtime", "lastoffset" }; /* Status information of the tagcache. */ static struct tagcache_stat tc_stat; diff --git a/apps/tagcache.h b/apps/tagcache.h index 8c09063..59f8b8b 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h @@ -26,7 +26,7 @@ #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. */ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title, |