Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 1 of 4
Topic:
XBMC
This thread has 53 replies. Displaying posts 1 through 15.
Post 1 made on Wednesday August 18, 2010 at 23:50
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,048
I am just about finished with the implementation of an XBMC remote application for the Philips Pronto PRO (9800/9600 and adaptable to the 9400).

It drives the XBMC system using its HTTP API interface over TCP/IP (Wi-Fi) I have the basic code working to do all of the available operations including Wake-on-LAN and shutdown. It is table driven so can be easily modified or extended.

I also have the capability implemented to spin disks up or down on an unRaid NAS.

I am wondering how much interest is out there for this application
Post 2 made on Thursday August 19, 2010 at 00:26
gopronto
Senior Member
Joined:
Posts:
April 2008
1,384
Hi Barry

What do you have XBMC running on, at the moment i have it on a Apple TV controlled via IP.. (Pronto Tunes), but the apple tv is a bit slow :(
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: prontoprojects.com] Axium Control catching up fast :)
Post 3 made on Thursday August 19, 2010 at 02:17
mkleynhans
Long Time Member
Joined:
Posts:
August 2009
54
Hi Barry, very interested =)
Post 4 made on Thursday August 19, 2010 at 03:24
nimnul
Long Time Member
Joined:
Posts:
August 2007
245
I am interested in learning more abot this as well.
Post 5 made on Thursday August 19, 2010 at 03:30
srandrews
Lurking Member
Joined:
Posts:
June 2009
8
Hi Barry, I have just installed XBMC last night and was starting to think about coding something based on the Official XBMC Android remote control, so your timing is excellent for me. Needless to say, I am very interested!
Post 6 made on Thursday August 19, 2010 at 04:21
kevin82
Long Time Member
Joined:
Posts:
January 2008
197
sounds great! but isn't xbmc going to change the way you can control it over ip?

Quote:

HTTP-API

NOTE: As of Dharma, the HTTP-API is depreciated - use the JSON-RPC interface instead


[Link: wiki.xbmc.org]


Discussion about this:

[Link: forum.xbmc.org]

Post 7 made on Thursday August 19, 2010 at 14:53
jdavbar
Long Time Member
Joined:
Posts:
January 2003
106
I'd be interested
Post 8 made on Thursday August 19, 2010 at 18:22
husa550
Long Time Member
Joined:
Posts:
April 2008
42
Hi Barry, very interested =)
Post 9 made on Thursday August 19, 2010 at 18:41
anderson_ev123
Regular Member
Joined:
Posts:
May 2010
71
as long as it works
OP | Post 10 made on Friday August 20, 2010 at 01:55
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,048
A couple of comments:

What I am developing is for control purposes only and has not implemented any download capability. Its purpose is to control the XBMC system as a fully functional IR remote associated with a commercial media player appliance would. My rational is that XBMC has a superb GUI and on screen library presentation. I am looking at the XBMC for video only as I use SqueezeServer for music.

I have built the application to be table driven so it is very flexible. In fact the current experimental/testing/learning version has some commands implmented as buttons (e.g. transport control, cursor navigation, etc.) but also has the ability to bring up the lists of all possible HTTP API commands for execution.

Converting from HTTP to JSON should be (for the most part, if not completely) just a matter of changing the tables and the reply analysis.

I am not sure what version (I run XBMC LiveCD 9.11) of XBMC is required for JSON and have posted a query on that subject in the XBMC forum

My intent is to develop decent documentation so that others can add to and modify the code simply and without too much difficulty. In essence I will be trading speed and efficiency for ease of modification and ability to understand what is going on.

I have written it using some libraries I have developed (subroutines, basic TCPIP, POPUP management) that are in somewhat rough form as I am not yet confident regarding my understanding of the Library implementation in PEP2.4 (System level vs activity level, check vs no check, include vs no include, namespace requirements, and lastly Scope.)
Post 11 made on Friday August 20, 2010 at 04:24
nimnul
Long Time Member
Joined:
Posts:
August 2007
245
JSON will be implemented in the 10,x release, called Dharma which is due soon. Betas of this can be found under Nightly builds at xbmc.org

[Link: mirrors.xbmc.org]
OP | Post 12 made on Friday August 20, 2010 at 07:07
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,048
Thanks nimnul, I did find what you pointed to. I also found XBMCfreak which also releases a live CD image

I will probably download a copy and install it on the asrock. From what I have read it should be a simple change to go from the HTTP api to the JSON api, especially since I want it as a control interface only. In fact I am using very similar code to control the XBMC system, a Dune player, a Vudu player and a Sony CX7000ES mega changer.

I need to do regression and feature testing to ensure that all the tables are correct.

In operation a button press makes a queue entry of text that contains, the component routine for sending, and the command name to send ( e.g. workQue.unshift("SendXBMC('CursorDown')"); ). This guarantees that user actions are always caught and preserved. The work que is inspected FIFO and an entry is used as the argument of an eval function executing the correct transmission function with the provided parameter.The send function uses a TCPIP library to build a socket, connect, send, receive a reply, process it with the correct analysis function and finally release the socket. All tcpip work is done async, with the assumption that only one tcpip request is in operation at a time. This is reasonable for a control only environment.
Post 13 made on Friday August 20, 2010 at 11:06
nimnul
Long Time Member
Joined:
Posts:
August 2007
245
Also add a command to start XBMC in windows. (I use W7 and XBMC)
Its pretty easy to assign a keystroke as a trigger to the XBMC shortcut in windows. So I use "F10" to start XBMC.

The reason for not running LIVE is that PC is also showing our national broadcasts over a web browser, great for things you missed.

I guess you dont have to bother with XBMC LIVE.
OP | Post 14 made on Sunday August 22, 2010 at 18:24
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,048
To start XBMC under windows, how about if there is a small little app running on the windows machine (launched at boot, or as a service) that monitors a specific port and when it gets a specific message it will launch XBMC. Trivial to write and I will supply it for those who need it. Obviously it could be made into a full keyboard emulator/application launcher, but then again there is Girder.
Post 15 made on Wednesday September 1, 2010 at 10:11
kevin82
Long Time Member
Joined:
Posts:
January 2008
197
Barry, What command do you send to the unraid server to spin up the drives?
Find in this thread:
Page 1 of 4


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse