diff options
Diffstat (limited to 'src/Mapper.cxx')
-rw-r--r-- | src/Mapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mapper.cxx b/src/Mapper.cxx index c9ef4316b..f29fd0646 100644 --- a/src/Mapper.cxx +++ b/src/Mapper.cxx @@ -223,7 +223,7 @@ map_song_detach(const LightSong &song) { DetachedSong detached(song); - if (detached.IsInDatabase()) { + if (detached.IsInDatabase() && !detached.HasRealURI()) { const auto uri = song.GetURI(); detached.SetRealURI(PathTraitsUTF8::Build(music_dir_utf8.c_str(), uri.c_str())); |