2011-03-01, 09:54
fufubar Wrote:...Don't worry, i didn't
Again: Sorry if you explained this already, you can just point me to the post if you can find it quickly, otherwise just ignore me
No, i don't keep an app side playlist. Wouldn't make much sense, since playback would stop once the app goes offline, or you add an item by some other means.
To add items to the playlist i'm using the JSON command AudioPlaylist.Add(), to start the playback XBMC.Play().
What i was talking about earlier: You can either use the filename to add an item to a playlist, or use the database id.
If one is using the filename, XBMC knows nothing about the metadata like fanart. If you add it by database id, it should know about it.
I've given this some quick testing (tech talk following):
When playing some music via keyboard, the fanart reference correctly appears when i do a AudioPlaylist.getItems as well as when i do a {"jsonrpc": "2.0", "method": "System.getInfoLabels", "params": ["MusicPlayer.Property(Fanart_Image)"], "id": "1"}.
When i use JSON to playback something, fanart info is missing on the later command.
This is clearly a bug with XBMC, i'l post it on the developer subforum.