diff options
author | Max Kellermann <max@duempel.org> | 2014-01-20 09:18:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-21 21:08:11 +0100 |
commit | 7471f65d952336ec18fba4c057b864615a5ce89b (patch) | |
tree | d9856c1c291716a727e93e3882b5b45c4bdc6573 /src/LightSong.hxx | |
parent | 5d4b450c52b3af92a03a8380a40dc703f0df4233 (diff) | |
download | mpd-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 'src/LightSong.hxx')
-rw-r--r-- | src/LightSong.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/LightSong.hxx b/src/LightSong.hxx index b93d5876c..c0cd47749 100644 --- a/src/LightSong.hxx +++ b/src/LightSong.hxx @@ -47,6 +47,16 @@ struct LightSong { const char *uri; /** + * The "real" URI, the one to be used for opening the + * resource. If this attribute is empty, then #uri (and + * #directory) shall be used. + * + * This attribute is used for songs from the database which + * have a relative URI. + */ + std::string real_uri; + + /** * Must not be nullptr. */ const Tag *tag; |