aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/playlist/PlaylistSong.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/playlist/PlaylistSong.cxx b/src/playlist/PlaylistSong.cxx
index bb82a0254..3e3b40949 100644
--- a/src/playlist/PlaylistSong.cxx
+++ b/src/playlist/PlaylistSong.cxx
@@ -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;