db/upnp/Object: add attribute "url"

Don't store in the std::map.
This commit is contained in:
Max Kellermann
2014-01-11 01:36:08 +01:00
parent f031eb1ef2
commit 44a65fc5de
3 changed files with 4 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ static Song *
upnpItemToSong(const UPnPDirObject &dirent, const char *uri)
{
if (*uri == 0)
uri = dirent.getprop("url");
uri = dirent.url.c_str();
Song *s = Song::NewFile(uri, nullptr);