Posts: 62
Joined: Dec 2009
Reputation:
2
2013-06-03, 08:45
Not sure if it's been mentioned here already. All add-ons I've been using is built on different listings, so it would be nice to expose the "list" back to the JSON API so a remote app on the phone/tablet could execute the add-on and you can browse video listings etc in the phone and start the playback from there. Same goes for the future development with for example the Spotify add-on so you could start the playback of a song/playlist without the need of a display.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
Isn't this already possible through vfs in json rpc? i.e. Files.GetDirectory?
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 62
Joined: Dec 2009
Reputation:
2
Hrm might be, I'll look in to that!
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
It would also be great to be able to pass custom JSON back to the request.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
The problem with Files.GetDirectory is that it only works on plugins and it only supports a specific set of properties to be retrieved so if the plugin adds additional properties those can't be retrieved. But otherwise you should be able to use Files.GetDirectory to e.g. browse through the youtube plugin.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.