PlaylistSong: copy the "real" URI
Playback with some decoder plugins was broken because the Queue's DetachedSong instances did not have the "real" URI (the mapped path).
This commit is contained in:
parent
73aec9ce63
commit
73b0610d89
@ -69,6 +69,9 @@ playlist_check_load_song(DetachedSong &song, const SongLoader &loader)
|
||||
return false;
|
||||
|
||||
song.SetURI(tmp->GetURI());
|
||||
if (!song.HasRealURI() && tmp->HasRealURI())
|
||||
song.SetRealURI(tmp->GetRealURI());
|
||||
|
||||
apply_song_metadata(song, *tmp);
|
||||
delete tmp;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user