Only read local files in SongLoader::EffectiveSongLoad
This commit is contained in:
@@ -341,7 +341,7 @@ void SongLoader::LoadMetadataBlocking() {
|
|||||||
|
|
||||||
void SongLoader::EffectiveSongLoad(Song *song) {
|
void SongLoader::EffectiveSongLoad(Song *song) {
|
||||||
|
|
||||||
if (!song) return;
|
if (!song || !song->url().isLocalFile()) return;
|
||||||
|
|
||||||
if (song->init_from_file() && song->filetype() != Song::FileType_Unknown) {
|
if (song->init_from_file() && song->filetype() != Song::FileType_Unknown) {
|
||||||
// Maybe we loaded the metadata already, for example from a cuesheet.
|
// Maybe we loaded the metadata already, for example from a cuesheet.
|
||||||
|
|||||||
Reference in New Issue
Block a user