diff options
Diffstat (limited to 'src/db/UpnpDatabasePlugin.cxx')
-rw-r--r-- | src/db/UpnpDatabasePlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx index 5228d8b60..68a24cb4f 100644 --- a/src/db/UpnpDatabasePlugin.cxx +++ b/src/db/UpnpDatabasePlugin.cxx @@ -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); |