From 5d4b450c52b3af92a03a8380a40dc703f0df4233 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 18 Jan 2014 18:20:54 +0100 Subject: DetachedSong: add attribute "real_uri" Prepare for UPnP songs that retain there database identity. --- src/SongUpdate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SongUpdate.cxx') diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx index ee70085f3..2eb0a0966 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -130,7 +130,7 @@ DetachedSong::Update() { if (IsAbsoluteFile()) { const AllocatedPath path_fs = - AllocatedPath::FromUTF8(uri.c_str()); + AllocatedPath::FromUTF8(GetRealURI()); struct stat st; if (!StatFile(path_fs, st) || !S_ISREG(st.st_mode)) -- cgit v1.2.3