diff options
author | Max Kellermann <max@duempel.org> | 2016-02-22 18:00:49 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-02-22 18:00:49 +0100 |
commit | 7623c1c5cba95f24f2fb530d9796eceb9a95b710 (patch) | |
tree | e66472158e5740fa2868f2c59aa6c818a32f1110 /src/playlist/plugins | |
parent | de568c84c267f4b33afd6dac10b6de15a8a38a69 (diff) |
SongUpdate: move tag_scan_fallback() to tag/Generic.cxx
Diffstat (limited to 'src/playlist/plugins')
-rw-r--r-- | src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx b/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx index 2dd615793..10b5cbf49 100644 --- a/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx +++ b/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx @@ -29,8 +29,7 @@ #include "../SongEnumerator.hxx" #include "../cue/CueParser.hxx" #include "tag/TagHandler.hxx" -#include "tag/TagId3.hxx" -#include "tag/ApeTag.hxx" +#include "tag/Generic.hxx" #include "DetachedSong.hxx" #include "TagFile.hxx" #include "fs/Traits.hxx" @@ -104,11 +103,8 @@ embcue_playlist_open_uri(const char *uri, const auto playlist = new EmbeddedCuePlaylist(); tag_file_scan(path_fs, embcue_tag_handler, playlist); - if (playlist->cuesheet.empty()) { - tag_ape_scan2(path_fs, &embcue_tag_handler, playlist); - if (playlist->cuesheet.empty()) - tag_id3_scan(path_fs, &embcue_tag_handler, playlist); - } + if (playlist->cuesheet.empty()) + ScanGenericTags(path_fs, embcue_tag_handler, playlist); if (playlist->cuesheet.empty()) { /* no "CUESHEET" tag found */ |