summaryrefslogtreecommitdiff
path: root/src/db/plugins/upnp/UpnpDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-01-23 19:28:07 +0100
committerMax Kellermann <max@musicpd.org>2017-01-23 19:28:07 +0100
commitd3013d4f8c277a3945a78a276e73322fe982ccd8 (patch)
tree264b16f4be1d441f4653a82e9d9a63c48304f45a /src/db/plugins/upnp/UpnpDatabasePlugin.cxx
parent678524ad2109853be9ecc682f2ad7017794c6222 (diff)
lib/upnp/Util: remove parameter "skipinit", always true
Diffstat (limited to 'src/db/plugins/upnp/UpnpDatabasePlugin.cxx')
-rw-r--r--src/db/plugins/upnp/UpnpDatabasePlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/plugins/upnp/UpnpDatabasePlugin.cxx b/src/db/plugins/upnp/UpnpDatabasePlugin.cxx
index 3ac4b4f86..45a402e0d 100644
--- a/src/db/plugins/upnp/UpnpDatabasePlugin.cxx
+++ b/src/db/plugins/upnp/UpnpDatabasePlugin.cxx
@@ -180,7 +180,7 @@ UpnpDatabase::ReturnSong(const LightSong *_song) const
const LightSong *
UpnpDatabase::GetSong(const char *uri) const
{
- auto vpath = stringToTokens(uri, "/", true);
+ auto vpath = stringToTokens(uri, "/");
if (vpath.size() < 2)
throw DatabaseError(DatabaseErrorCode::NOT_FOUND,
"No such song");
@@ -577,7 +577,7 @@ UpnpDatabase::Visit(const DatabaseSelection &selection,
VisitSong visit_song,
VisitPlaylist visit_playlist) const
{
- auto vpath = stringToTokens(selection.uri, "/", true);
+ auto vpath = stringToTokens(selection.uri, "/");
if (vpath.empty()) {
for (const auto &server : discovery->GetDirectories()) {
if (visit_directory) {