Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

library: allow optional <path> tag in custom filter nodes

  • Loading branch information...
commit c916868107375bc2bd5b5049896c686a078881cb 1 parent 32a74fa
Sascha Montellese authored October 11, 2012

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 6  xbmc/filesystem/LibraryDirectory.cpp
6  xbmc/filesystem/LibraryDirectory.cpp
@@ -75,6 +75,12 @@ bool CLibraryDirectory::GetDirectory(const CStdString& strPath, CFileItemList &i
75 75
             CSmartPlaylistDirectory::GetDirectory(playlist, items))
76 76
         {
77 77
           items.SetProperty("library.filter", "true");
  78
+
  79
+          CStdString path;
  80
+          XMLUtils::GetPath(node, "path", path);
  81
+          if (!path.empty())
  82
+            items.SetPath(path);
  83
+          
78 84
           return true;
79 85
         }
80 86
       }

0 notes on commit c916868

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