Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

XBMC commands ? http,JSON,etc...
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
XBMC commands ? http,JSON,etc...
28th Aug, 2013, 01:23 AM
Post: #1
Fohnbit Offline
Registered
Posts: 4
Joined: Aug 2013
Reputation: 0
http commands
Hello

Is it possible to control xbian with http commands?

Thank you!
Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 01:39 AM
Post: #2
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: http commands
means what? maybe you can be more specific what is it that you trying to achieve

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 01:49 AM
Post: #3
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: http commands
It's possible to control XBMC with a browser if thats what you are asking.

<address of RPi>:8080

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 02:29 AM
Post: #4
Fohnbit Offline
Registered
Posts: 4
Joined: Aug 2013
Reputation: 0
RE: http commands
Hello

No, I mean http commands:
http:<IP>:<Port>/command?value=Volume:80

for example.

Thanks
Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 02:35 AM
Post: #5
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
Re: RE: http commands
(28th Aug, 2013 02:29 AM)Fohnbit Wrote:  Hello

No, I mean http commands:
http:<IP>:<Port>/command?value=Volume:80

for example.

Thanks

Your looking for the JSON-RPC interface.

http://wiki.xbmc.org/?title=JSON-RPC_API
http:// wiki.xbmc.org/index.php?title=JSON-RPC_API/v6

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 06:10 AM
Post: #6
Fohnbit Offline
Registered
Posts: 4
Joined: Aug 2013
Reputation: 0
RE: http commands
Thank you.
Json I already found, but have you an example?

I dont want use Json directly!
Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 06:23 AM
Post: #7
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: http commands
again.what is it you want to do? I mean maybe there is other way than http to do the things you want.
Just be more specific what you want XBMC to do?

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 07:40 AM
Post: #8
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
Re: http commands
An example using http to set volume:

http://xbmc@yourpi:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Application.SetVolume","params":{"volume":100},"id": 1}}

Simply replace "yourpi" with your raspberry pi ip address or hostname.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 07:28 PM
Post: #9
Fohnbit Offline
Registered
Posts: 4
Joined: Aug 2013
Reputation: 0
JSON command for starting a saved audio playlist
Hello

Which command is for starting a saved audio playlist?

Thanks
Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 07:54 PM
Post: #10
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: XBMC commands ? http,JSON,etc...
(28th Aug, 2013 07:28 PM)Fohnbit Wrote:  Hello

Which command is for starting a saved audio playlist?

Thanks

this is all related to your previous thread where you should keep answering and posting as without you move nowhere. No point to make new threads for every question you ask.
So I have merged your threads
-thx-

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
28th Aug, 2013, 09:46 PM
Post: #11
brantje Offline
Tester
Posts: 305
Joined: Dec 2012
Reputation: 32
RE: XBMC commands ? http,JSON,etc...
(28th Aug, 2013 07:28 PM)Fohnbit Wrote:  Hello

Which command is for starting a saved audio playlist?

Thanks
Welcome to the our forum.
Please note there is very much info about the xbmc json interface on google.
I've made myself an webinterface in the past for he xbmc4xbox.

For your questtion, i googled, and it was the first hit
http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v4#Player.Open

XBian Skin Beta Testing
Clock Screensaver

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 06:27 AM Powered By MyBB, © 2002-2025 MyBB Group.