SongUpdate: move tag_scan_fallback() to tag/Generic.cxx
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user