2011-04-06, 17:52
jitterjames Wrote:- AddToPlayListFromDB (this one is huge for me - without it my voice control app is essentially broken)You can add anything to the playlists, movies, tvshows whatever. Just as you would get them. i.e. VideoPlaylist.Add(tvshowid = 12)
jitterjames Wrote:- Activate Window()
- call an addon/script with a parameter (just having this might allow workarounds for other missing things)
- commands like Container.PreviousViewMode,Container.SetViewMode(id)
- sendkeys (it would be nice if we could send modified keys like "shift-F" there is currently no way to do this, not even with keyboard emulation because xbmc won't release the shift key)
- Skin.ToggleSetting(setting), Skin.SetBool(setting), ReloadSkin()
...and quite a bit more. I am happy to submit them all via trac, but I wanted to get some feedback first.
- Are some of these already possible?
- Have they already been rejected?
- Can I submit a big list to trac or is it better to submit a request for each item?
There are many other things that would make my voice control app way better (but that would benefit others as well) such as a command to filter the current list of items on various fields, jump to an item (by name or id) etc. I am currently sort of managing to do this by sending a sequence of sms keys, but to be honest, this method kind of sucks, especially since we can only filter on a single word, and jumping to a letter will jump past it and do other weird things if the list doesn't contain any items that start with that letter.
It might also be nice to be able to get a list of items on screen (eg. all the movies on the current view). Perhaps accessed in the same basic manner as a playlist.
Like I said, I can submit all these via the proper channels but I wanted to get a general sense of what would be possible. From what I can see, if I lost access to the http api and had to use what was in the JSON spec. now my program would not be worth using with XBMC any more.
Please submit them as feature requests, please do one ticket for each method you want with as much information as possible. i.e. Full description how you want the params and the expected results in as many cases as possible. Names and namespaces and permissions would also be very good.
Cheers,
Tobias