diff options
author | waker <wakeroid@gmail.com> | 2013-07-07 23:07:50 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2013-07-07 23:08:02 +0200 |
commit | 3e71fdc649f2d181d32187b00032895eab58bd3b (patch) | |
tree | 5e5df11b60259eef1f979cfae51871f9fe4c5958 /plugins/wma/asfheader.c | |
parent | 1282b9029aba4b2a903c7dfe35b154dd262b7aeb (diff) |
wma: experimental embedded cue support; reload metadata support
Diffstat (limited to 'plugins/wma/asfheader.c')
-rw-r--r-- | plugins/wma/asfheader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/wma/asfheader.c b/plugins/wma/asfheader.c index c6e84e89..97c37256 100644 --- a/plugins/wma/asfheader.c +++ b/plugins/wma/asfheader.c @@ -653,6 +653,10 @@ static int asf_parse_header(DB_FILE *fd, asf_waveformatex_t* wfx, DB_playItem_t unsigned char *s = id3buf; asf_utf16LEdecode(fd, length, &id3buf, &id3buf_remaining); deadbeef->pl_append_meta (it, "composer", s); + } else if ((!strcasecmp("foobar2000/cuesheet", utf8buf)) && (type == 0)) { + unsigned char *s = id3buf; + asf_utf16LEdecode(fd, length, &id3buf, &id3buf_remaining); + deadbeef->pl_append_meta (it, "cuesheet", s); } else if (!strcmp("WM/Year", utf8buf)) { if (type == 0) { unsigned char *s = id3buf; |