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/DecoderThread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DecoderThread.cxx') diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx index 1df038158..8658c8883 100644 --- a/src/DecoderThread.cxx +++ b/src/DecoderThread.cxx @@ -402,7 +402,7 @@ decoder_run(DecoderControl &dc) const std::string uri = song.IsFile() ? map_song_fs(song).c_str() - : song.GetURI(); + : song.GetRealURI(); if (uri.empty()) { dc.state = DecoderState::ERROR; -- cgit v1.2.3