Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2583 from alcoheca/upnp-fix-paths

upnp: fix wrong library paths in container updates
  • Loading branch information...
commit 15fd923d83e8cf673a5c18740d311774a3aeb16c 2 parents c1413ad + 0c41a0e
@alcoheca alcoheca authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 xbmc/network/upnp/UPnPServer.cpp
View
7 xbmc/network/upnp/UPnPServer.cpp
@@ -38,7 +38,7 @@ const char* audio_containers[] = { "musicdb://genres/", "musicdb://artists/", "m
"musicdb://songs/", "musicdb://recentlyaddedalbums/", "musicdb://years/",
"musicdb://singles/" };
-const char* video_containers[] = { "videodb://movies/titles/", "videodb://tvshows/titles/",
+const char* video_containers[] = { "library://video/movies/titles.xml/", "library://video/tvshows/titles.xml/",
"videodb://recentlyaddedmovies/", "videodb://recentlyaddedepisodes/" };
/*----------------------------------------------------------------------
@@ -418,14 +418,15 @@ CUPnPServer::Announce(AnnouncementFlag flag, const char *sender, const char *mes
UpdateContainer("videodb://recentlyaddedepisodes/");
}
else if(item_type == "tvshow") {
- UpdateContainer("videodb://tvshows/titles/");
+ UpdateContainer("library://video/tvshows/titles.xml/");
UpdateContainer("videodb://recentlyaddedepisodes/");
}
else if(item_type == "movie") {
- UpdateContainer("videodb://movies/titles/");
+ UpdateContainer("library://video/movies/titles.xml/");
UpdateContainer("videodb://recentlyaddedmovies/");
}
else if(item_type == "musicvideo") {
+ UpdateContainer("library://video/musicvideos/titles.xml/");
UpdateContainer("videodb://recentlyaddedmusicvideos/");
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.