JSON Plugin
From LinuxMCE
Revision as of 16:34, 25 August 2014 by Marie.o (Talk | contribs) (Created page with "Category:LinuxMCE_Plugins This plugin provides access to DCERouter internals via http protocol on port 7230. This plugin is purely academic at the moment and not part of...")
This plugin provides access to DCERouter internals via http protocol on port 7230.
This plugin is purely academic at the moment and not part of a regular build cycle.
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=<number-of-ea>×tamp=<timestamp-of-last-access>
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.