Only read local files in SongLoader::EffectiveSongLoad

This commit is contained in:
Jonas Kvinge 2021-08-19 18:56:28 +02:00
parent 816cdcf4bf
commit 5f156d6bab
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ void SongLoader::LoadMetadataBlocking() {
void SongLoader::EffectiveSongLoad(Song *song) {
if (!song) return;
if (!song || !song->url().isLocalFile()) return;
if (song->init_from_file() && song->filetype() != Song::FileType_Unknown) {
// Maybe we loaded the metadata already, for example from a cuesheet.