2010-10-31, 20:43
Interesting to know that the whole things works with TCP as well. Maybe I might get rid of the HTTP overhead as well.
I have a problem with AudioPlaylist.GetItems. This is the call
and this is what I get back
Normally I get back all/most of the requested fields. At least I always get title and artist. Does this mean that there is no metadata for these files in the XBMC database or what could be the cause?
I have a problem with AudioPlaylist.GetItems. This is the call
Code:
{
"jsonrpc": "2.0",
"method": "AudioPlaylist.GetItems",
"params": {
"fields": [
"title",
"artist",
"genre",
"year",
"rating",
"album",
"tracknumber",
"discnumber",
"duration",
"comment",
"lyrics"
]
},
"id": 10
}
Code:
{
"id" : 10,
"jsonrpc" : "2.0",
"result" : {
"current" : 0,
"end" : 11,
"items" : [
{
"fanart" : "special://masterprofile/Thumbnails/Video/Fanart/baa0133a.tbn",
"file" : "smb://***/Nickelback/All The Right Reasons/01-nickelback-follow_you_home.mp3",
"label" : "01-nickelback-follow_you_home"
},
{
"fanart" : "special://masterprofile/Thumbnails/Video/Fanart/6f944701.tbn",
"file" : "smb://***/Nickelback/All The Right Reasons/02-nickelback-fight_for_all_the_wrong_reasons.mp3",
"label" : "02-nickelback-fight_for_all_the_wrong_reasons"
},
...
],
"paused" : false,
"playing" : true,
"start" : 0,
"total" : 11
}
}
Normally I get back all/most of the requested fields. At least I always get title and artist. Does this mean that there is no metadata for these files in the XBMC database or what could be the cause?