Commit 73b0610d authored by Max Kellermann's avatar Max Kellermann

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).
parent 73aec9ce
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment