Posts: 328
Joined: Jul 2011
Reputation:
7
Hi Montellese,
Is there a chance you could add a JSON call to "increase/decrease volume by X"? where X is a value between 1 and 100? And (maybe to reduce load from server, an optional "do this Y times" parameter which defaults to 1 if not set).
Reason:
Currently the set volume calls require a value to set to. For example 98. This means that a call has to be made to obtain the current volume, then add / subtract the required amount, then resubmit the new value using "set."
This is cumbersome when using one way HTTP to post to the server. Additionally in scenarios such as EvenGhost scripts, a lot of senseless load (even if small) is placed on the server to repeatedly , ask the server "what's the volume" then increase by "X" each time the user presses the "up" or "down" key.
With my proposal:
The server knows that the volume has to be increased "X" from the current value. It checks the boundaries even if the user goes beyond by constant calls and does nothing. ESPECIALLY if the optional parameter is supported. The user simply says "lower by 10", and if the volume is 4, then it can simply set to 0 (instead of 4 calls of lower by 1 from user being respected, and 6 calls being 'wasted').
Love to hear your thoughts on this...
Posts: 183
Joined: Apr 2012
Reputation:
10
Hi,
What is the best way to play all files in a directory ? at the same time i want to insert this files in a playlist, its possible ?
I tried this for insert all items in a playlist:
{"jsonrpc":"2.0","method":"Playlist.Add","params":{ "playlistid":1, "item": {"directory":"Z:/Downloads/00 VideoClips/"}},"id":1}
Don work for me, i am doing some thing wrong.
Thanks for the help
Clayton
Posts: 183
Joined: Apr 2012
Reputation:
10
Ops, my bad, its working very nice now.
Posts: 566
Joined: Nov 2010
Reputation:
30
It appears that the runtime field isn't returning the exact value for videos. It is very close, but appears to be rounded. For example, I see that The Usual Suspects is 6364 seconds long, based on playing the video as well as my own parsing of the video file. Using the Files.GetDirectory call with a smart playlist as the directory argument, the runtime for the video is returned as 6360. I also see many of my tv video files returned as 1800 seconds when they actually vary quite a bit.
Posts: 3,077
Joined: Jun 2009
Ok so now that Frodo is out have you decided the final way to make the Feature Requests for Frodo and acceptation system ?
Since next release is far away I think I'll propose more patch to help going further for what I can but will still need some pointers and best practices correction at start I guess
Posts: 34
Joined: Jun 2011
Reputation:
0
doozer
Junior Member
Posts: 34
Frodo 12.0 stable:
Via the keyboard you can hit the 'i' key and it will toggle the playback info on screen (for example the movie name and playback position etc).
Is there a way via the JSONv6 API to do the same thing?
Sending a GUI.ActivateWindow with the param 'videoosd' displays the overlay, but there is no way to remotely cancel it. Which results in any further commands being queued until you use the keyboard/mouse directly on the XBMC machine.
Anyone managed to get this working?
Thanks,
Matt.
Posts: 3,077
Joined: Jun 2009
I was talking about the old discution in another thread about using trac or github as feature request tracker
For PR of course it will be github I was more talking about the GO / NO GO on feature that I can handle or not to not do work for nothing and hints about where to start for FR about specific features
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Just create a new thread for every feature you can think of in the JSON-RPC subforum and we can discuss them there.
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.