2015-04-05, 19:44
Hi Mizaki,
i looked bit more into it now. it seems awxi and chorus do it a different way with same result:
chorus json/rpc request:{"jsonrpc":"2.0","method":"Addons.GetAddons","id":1,"params":["xbmc.addon.audio","unknown","all",["name","thumbnail","enabled"]]}
awxi json/rpc request: {"jsonrpc": "2.0", "method": "Files.GetDirectory", "params" : { "directory" : "addons://sources/audio", "media" : "music", "properties": [ "file" ], "sort": { "order": "ascending", "method": "file" } }, "id": 1}
so i do it different than awxi but the same way as chorus, but i select not for xbmc.addon.audio but xbmc.python.pluginsource.
the difference is, then there is a the media attribute which can be (or):
"video",
"music",
"pictures",
"files",
"programs"
i do video, but shoutcast works perfectly (and it's the only one i have). problems i have with some search functions. but i bevlieve i can't help that. Why Awxi and chorus concentrate on music? i don't know, maybe a developer flavor choice: this works for sure better, or they just care more about music. if you like awxi or chorus, but want to get more addons in the list, i am pretty sure if you just modify localy the above mentioned json/rpc call, it will work pretty well too (did not try it, i recomend better use my webinterface
(future release))
no, actually, until know it works as expectet except some hickups, which is more about the addon i guess. i even could replace my whole "search youtube within my interface and play on kondi" because the youtube plugin also works surprisingly well even with search function.
Long speaking short: even when you have the "wrong" type, it works pretty good, as far (which is not so far) i could test.
i looked bit more into it now. it seems awxi and chorus do it a different way with same result:
chorus json/rpc request:{"jsonrpc":"2.0","method":"Addons.GetAddons","id":1,"params":["xbmc.addon.audio","unknown","all",["name","thumbnail","enabled"]]}
awxi json/rpc request: {"jsonrpc": "2.0", "method": "Files.GetDirectory", "params" : { "directory" : "addons://sources/audio", "media" : "music", "properties": [ "file" ], "sort": { "order": "ascending", "method": "file" } }, "id": 1}
so i do it different than awxi but the same way as chorus, but i select not for xbmc.addon.audio but xbmc.python.pluginsource.
the difference is, then there is a the media attribute which can be (or):
"video",
"music",
"pictures",
"files",
"programs"
i do video, but shoutcast works perfectly (and it's the only one i have). problems i have with some search functions. but i bevlieve i can't help that. Why Awxi and chorus concentrate on music? i don't know, maybe a developer flavor choice: this works for sure better, or they just care more about music. if you like awxi or chorus, but want to get more addons in the list, i am pretty sure if you just modify localy the above mentioned json/rpc call, it will work pretty well too (did not try it, i recomend better use my webinterface
![Tongue Tongue](https://forum.kodi.tv/images/smilies/razz.png)
no, actually, until know it works as expectet except some hickups, which is more about the addon i guess. i even could replace my whole "search youtube within my interface and play on kondi" because the youtube plugin also works surprisingly well even with search function.
Long speaking short: even when you have the "wrong" type, it works pretty good, as far (which is not so far) i could test.