Fix a bug loading where song metadata wouldn't be loaded from the library when loading a local file containing spaces. Fixes issue 2192
This commit is contained in:
parent
2f63130606
commit
5884502389
@ -260,7 +260,7 @@ SongLoader::Result SongLoader::LoadLocal(const QString& filename, bool block,
|
||||
|
||||
LibraryQuery query;
|
||||
query.SetColumnSpec("%songs_table.ROWID, " + Song::kColumnSpec);
|
||||
query.AddWhere("filename", url.toString());
|
||||
query.AddWhere("filename", url.toEncoded());
|
||||
|
||||
SongList song_list;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user