2012-03-15, 16:47
Hi there.
Using Eden RC2 at the moment on Win7 platform.
Is there more structured way to ask XBMC what is the system now playing besides? This will result <html><li>.... structure and is not the best way to parse thing out from it: Movies,Files and TV shows have different out structure.
XWMM looks really good but just need to ask what the system is playing at given time.. that needs to be lite.
XML-out format could be nice.
EDIT: JSON RPC?
http://wiki.xbmc.org/index.php?title=JSON_RPC
RestClient? This is overkill for me. Have to make this happen with PHP5.x... Any help?
edit: Ok, Found one PHP Rest Client https://github.com/educoder/pest and
Api is http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v3
Using Eden RC2 at the moment on Win7 platform.
Is there more structured way to ask XBMC what is the system now playing besides
Code:
http://ip:port/xbmcCmds/xbmcHttp?command=getcurrentlyplaying
XWMM looks really good but just need to ask what the system is playing at given time.. that needs to be lite.
XML-out format could be nice.
EDIT: JSON RPC?
http://wiki.xbmc.org/index.php?title=JSON_RPC
RestClient? This is overkill for me. Have to make this happen with PHP5.x... Any help?
edit: Ok, Found one PHP Rest Client https://github.com/educoder/pest and
Api is http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v3