aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-18 18:20:54 +0100
committerMax Kellermann <max@duempel.org>2014-01-21 21:06:56 +0100
commit5d4b450c52b3af92a03a8380a40dc703f0df4233 (patch)
tree9f861173b3861c544670dfb3f38b436902f67b63 /src/DecoderThread.cxx
parent483b1f51c96303f2b587870cce6803cc6f699158 (diff)
downloadmpd-5d4b450c52b3af92a03a8380a40dc703f0df4233.tar.gz
mpd-5d4b450c52b3af92a03a8380a40dc703f0df4233.tar.xz
mpd-5d4b450c52b3af92a03a8380a40dc703f0df4233.zip
DetachedSong: add attribute "real_uri"
Prepare for UPnP songs that retain there database identity.
Diffstat (limited to '')
-rw-r--r--src/DecoderThread.cxx2
1 files changed, 1 insertions, 1 deletions
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;