mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-02 02:26:44 +01:00
Only read local files in SongLoader::EffectiveSongLoad
This commit is contained in:
parent
816cdcf4bf
commit
5f156d6bab
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user