diff options
author | Max Kellermann <max@duempel.org> | 2016-07-29 17:47:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-07-29 17:47:08 +0200 |
commit | 9bfb844cfa1118aeccdf4a738df28053a3005516 (patch) | |
tree | e30e3e6f6613f2f49d4b71d723015a812a991b00 /src/decoder/plugins/SidplayDecoderPlugin.cxx | |
parent | d790d3ba3c222fd87b16c3193aa2d552a4a674a2 (diff) |
decoder/sidplay: read the "date" tag
Diffstat (limited to 'src/decoder/plugins/SidplayDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/SidplayDecoderPlugin.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index d99908251..1ab73d056 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -327,6 +327,12 @@ sidplay_scan_file(Path path_fs, tag_handler_invoke_tag(handler, handler_ctx, TAG_ARTIST, artist); + /* date */ + const char *date = GetInfoString(info, 2); + if (date != nullptr) + tag_handler_invoke_tag(handler, handler_ctx, TAG_DATE, + date); + /* track */ char track[16]; sprintf(track, "%d", song_num); |