aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-20 09:18:33 +0100
committerMax Kellermann <max@duempel.org>2014-01-21 21:08:11 +0100
commit7471f65d952336ec18fba4c057b864615a5ce89b (patch)
treed9856c1c291716a727e93e3882b5b45c4bdc6573 /src/DetachedSong.cxx
parent5d4b450c52b3af92a03a8380a40dc703f0df4233 (diff)
downloadmpd-7471f65d952336ec18fba4c057b864615a5ce89b.tar.gz
mpd-7471f65d952336ec18fba4c057b864615a5ce89b.tar.xz
mpd-7471f65d952336ec18fba4c057b864615a5ce89b.zip
LightSong: add attribute "real_uri"
The UPnP database plugin can now show relative song URIs for remote songs.
Diffstat (limited to '')
-rw-r--r--src/DetachedSong.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DetachedSong.cxx b/src/DetachedSong.cxx
index 83106edee..6a54bc8ad 100644
--- a/src/DetachedSong.cxx
+++ b/src/DetachedSong.cxx
@@ -25,6 +25,7 @@
DetachedSong::DetachedSong(const LightSong &other)
:uri(other.GetURI().c_str()),
+ real_uri(other.real_uri),
tag(*other.tag),
mtime(other.mtime),
start_ms(other.start_ms), end_ms(other.end_ms) {}