2012-03-05, 00:11
Yeah that's intended and correct because to XBMC a smartplaylist is a directory/node containing items (e.g. movies, episodes, albums, songs, ...). So you pass one of those paths to an XSP to Files.GetDirectory and specify the matching "media" parameter ("music" in the above example) and you will get a list of all items contained in that playlist. You can even retrieve all the properties you'd get from AudioLibrary.GetFoo if you specify them in the "properties" parameter.