2012-09-18, 15:12
musicdb:// and videodb:// are internal paths but there's no code stopping you from using such paths in Files.GetDirectory. You can also use addons:// path (literally anything that xbmc's virtual filesystem supports) but you won't be able to retrieve the metadata.
Returning the "artist" field as a string makes perfect sense for musicdb://2/ because that's the same as calling AudioLibrary.GetArtists which will also return a string for "artist" and not an array because it doesn't make sense to list multiple artists as the name for a single artist.
Returning the "artist" field as a string makes perfect sense for musicdb://2/ because that's the same as calling AudioLibrary.GetArtists which will also return a string for "artist" and not an array because it doesn't make sense to list multiple artists as the name for a single artist.