Difference between revisions of "JSON Plugin"
From LinuxMCE
(→Now Playing) |
|||
Line 1: | Line 1: | ||
[[Category:Programmer's Guide]] | [[Category:Programmer's Guide]] | ||
[[Category:LinuxMCE_Plugins]] | [[Category:LinuxMCE_Plugins]] | ||
− | This plugin provides access to DCERouter internals via http protocol on port 7230. | + | This plugin provides access to DCERouter internals via http protocol on port 7230. At the moment of this writing (Aug 2014) it does NOT work together with the RPC Plugin. |
This plugin is purely academic at the moment and not part of a regular build cycle. Sometimes a binary can be downloaded from [http://fluffybitch.org/builder-precise/JSON_Plugin fluffy]. | This plugin is purely academic at the moment and not part of a regular build cycle. Sometimes a binary can be downloaded from [http://fluffybitch.org/builder-precise/JSON_Plugin fluffy]. |
Revision as of 16:44, 25 August 2014
This plugin provides access to DCERouter internals via http protocol on port 7230. At the moment of this writing (Aug 2014) it does NOT work together with the RPC Plugin.
This plugin is purely academic at the moment and not part of a regular build cycle. Sometimes a binary can be downloaded from fluffy.
Supported Information
Now Playing
Easiest way to get information about what player is at the moment playing stuff in a specific entertainment area:
http://dcerouter:7230/now_playing?ea=$FK_Entertain_Area×tamp=$last-timestamp-we-have-seen
Adding Information Provider
Below the src/JSON_Plugin directory is the CivetHandler directory. Take a look at how NowPlaying is incorporated and amend/extend appropriately, and add the required stuff to JSON_Plugin.cpp and the Makefile.