Skip to content
This repository
Browse code

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
Alasdair Campbell authored April 10, 2013

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  xbmc/network/upnp/UPnPServer.cpp
7  xbmc/network/upnp/UPnPServer.cpp
@@ -38,7 +38,7 @@ const char* audio_containers[] = { "musicdb://genres/", "musicdb://artists/", "m
38 38
                                    "musicdb://songs/", "musicdb://recentlyaddedalbums/", "musicdb://years/",
39 39
                                    "musicdb://singles/" };
40 40
 
41  
-const char* video_containers[] = { "videodb://movies/titles/", "videodb://tvshows/titles/",
  41
+const char* video_containers[] = { "library://video/movies/titles.xml/", "library://video/tvshows/titles.xml/",
42 42
                                    "videodb://recentlyaddedmovies/", "videodb://recentlyaddedepisodes/"  };
43 43
 
44 44
 /*----------------------------------------------------------------------
@@ -418,14 +418,15 @@ CUPnPServer::Announce(AnnouncementFlag flag, const char *sender, const char *mes
418 418
                 UpdateContainer("videodb://recentlyaddedepisodes/");
419 419
             }
420 420
             else if(item_type == "tvshow") {
421  
-                UpdateContainer("videodb://tvshows/titles/");
  421
+                UpdateContainer("library://video/tvshows/titles.xml/");
422 422
                 UpdateContainer("videodb://recentlyaddedepisodes/");
423 423
             }
424 424
             else if(item_type == "movie") {
425  
-                UpdateContainer("videodb://movies/titles/");
  425
+                UpdateContainer("library://video/movies/titles.xml/");
426 426
                 UpdateContainer("videodb://recentlyaddedmovies/");
427 427
             }
428 428
             else if(item_type == "musicvideo") {
  429
+                UpdateContainer("library://video/musicvideos/titles.xml/");
429 430
                 UpdateContainer("videodb://recentlyaddedmusicvideos/");
430 431
             }
431 432
         }

0 notes on commit 15fd923

Please sign in to comment.
Something went wrong with that request. Please try again.