I know this is an old post, but I ran into the same problem and thought I'd post my workaround. I tried editing the XML file directly, but couldn't find any syntax that would work for Set Zone. Snooping around on the JRMC end of things, I discovered that it includes a built-in web server. Activate the Library Server to get it working. Now you can use a simple python command to send commands to JRMC. First, put this python command in your Autostart:Mediahome wrote:Anybody running this plugin with JRMC 17? I get errors when trying 'Set Zone', 'Set Playlist", and 'Sync Zones'. I am wondering if this is caused by the newer release.
Here are the the error messages tbat I get in the log.
Error in Action: "J River Media Center: Set Zone"
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
TypeError: __call__() takes exactly 2 arguments (1 given)
Code: Select all
import urllib2.urlopenCode: Select all
urllib2.urlopen("http://localhost:52199/MCWS/v1/Playback/SetZone?Zone=Office&ZoneType=Name")The JRMC commands are self-documenting at http://localhost:52199/MCWS/v1/doc and reflect Media Center Core Commands. Here's the syntax for SetZone:
Code: Select all
SetZone
Set the active zone.
Parameters:
Zone: The zone the command is targetted for. (default: -1)
ZoneType: The type of value provided in 'Zone' (ID: zone id; Index: zone index; Name: zone name (default: ID)