From 7471f65d952336ec18fba4c057b864615a5ce89b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Jan 2014 09:18:33 +0100 Subject: LightSong: add attribute "real_uri" The UPnP database plugin can now show relative song URIs for remote songs. --- src/LightSong.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/LightSong.hxx') diff --git a/src/LightSong.hxx b/src/LightSong.hxx index b93d5876c..c0cd47749 100644 --- a/src/LightSong.hxx +++ b/src/LightSong.hxx @@ -46,6 +46,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. */ -- cgit v1.2.3