diff options
author | 2009-11-22 18:32:41 +0100 | |
---|---|---|
committer | 2009-11-22 18:32:41 +0100 | |
commit | 8a5d72dd1b7883acd1ede735ae6afb44ce94de5c (patch) | |
tree | f1bb31ed161e15fba14bdf6edc4d4b143f2ecaac | |
parent | 191d188cd05e80db06bf0fc328d52ab04a77ebf0 (diff) |
added CUESHEET tag reading support for APEv2
-rw-r--r-- | junklib.c | 3 | ||||
-rw-r--r-- | playlist.c | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -599,6 +599,9 @@ junk_read_ape (playItem_t *it, DB_FILE *fp) { else if (!strcasecmp (key, "comment")) { pl_add_meta (it, "genre", value); } + else if (!strcasecmp (key, "cuesheet")) { + pl_add_meta (it, "cuesheet", value); + } else if (!strncasecmp (key, "replaygain_album_gain", 21)) { it->replaygain_album_gain = atof (value); trace ("album_gain=%s\n", value); @@ -1459,6 +1459,7 @@ pl_load (const char *fname) { "comment", "track", "band", + "cuesheet", NULL }; |