Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
JRMC plugin module (v 0.7, 7/4/09)
Re: JRMC plugin module
I found an online list of commands for JRMC and just used that. I just did another search and found a completely different (and larger list) list. I'll update the plugin to use this all the commands from either list and post V0.5 later today.
Brett
Brett
Re: JRMC plugin module
Ah okay. That initiated me too look in the Code of the plugin.. And I added the shuffle function myself to your plugin
(btw, Ctrg+Shift+R let the remaining songs in the playing playlist shuffle, and don't "Toggle Shuffle On / Off " like said in the list)
And the two functions "Skip" and "Replay" were, as I reload the plugin in Eventghost, again avaible, so had to be my fault that they weren't.
And the two functions "Skip" and "Replay" were, as I reload the plugin in Eventghost, again avaible, so had to be my fault that they weren't.
Re: JRMC plugin module
Ok, version 0.5 is uploaded to the 1st post in this thread. Thanks for pointing out the Ctrl+Shift+R change, I made that change to the code. Any other changes, please let me know.
Thanks,
Brett
Thanks,
Brett
Re: JRMC plugin module (v 0.7, 7/4/09)
Uploaded V0.7. See 1st post for download. I guess I forgot to post V0.6. Here's the changelog for both:
# Version 0.6 - Fixed a bug in my COM handling. comInstance was not set to None unless
# a command was sent when JRMC was not running. However, if JRMC was stopped
# and restarted without any commands, the old (and invalid) comInstance would
# be used, which would cause a silent exception. Now the exception is caught,
# the comInstance is reset, and the command is tried again.
# Version 0.7 - Fixed a bug that could create 2nd worker thread and delay shutdown. Changed
# queries (Zones and Playlists) so the COM interfaces are retrieved each time and
# not stored. Fixed the WindowMatcher function so it works when other zones are
# enabled. Changed VolumeUp/Down {Ctrl++} didn't work, {Ctrl+Add} does.
Brett
# Version 0.6 - Fixed a bug in my COM handling. comInstance was not set to None unless
# a command was sent when JRMC was not running. However, if JRMC was stopped
# and restarted without any commands, the old (and invalid) comInstance would
# be used, which would cause a silent exception. Now the exception is caught,
# the comInstance is reset, and the command is tried again.
# Version 0.7 - Fixed a bug that could create 2nd worker thread and delay shutdown. Changed
# queries (Zones and Playlists) so the COM interfaces are retrieved each time and
# not stored. Fixed the WindowMatcher function so it works when other zones are
# enabled. Changed VolumeUp/Down {Ctrl++} didn't work, {Ctrl+Add} does.
Brett
Re: JRMC plugin module (v 0.7, 7/4/09)
Ok, I screwed up the load of V 0.7 in the 1st post. It's there now.
Brett
Brett
Re: JRMC plugin module (v 0.7, 7/4/09)
Brett,
Do you have an interface for JRMC you use on touchscreens?
Do you have an interface for JRMC you use on touchscreens?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: JRMC plugin module (v 0.7, 7/4/09)
Hopefully someday. But currently - no.
Brett
Brett
Re: JRMC plugin module (v 0.7, 7/4/09)
That's cool. Since I posted to you I started using xpTunes (http://yabb.jriver.com/interact/index.php?topic=43402.0) works VERY well so far. I will use it some more and if it works out purchase it... only $12 USD and for the feature set looks to be well worth the price.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: JRMC plugin module (v 0.7, 7/4/09)
I am trying to use this plugin with MC14 and I get the error "NameError: name 'JRMC' is not defined".
Is this due to the fact I'm using MC14 (if so is there any chance of support for it)?
Cheers,
Rich
Is this due to the fact I'm using MC14 (if so is there any chance of support for it)?
Cheers,
Rich
Re: JRMC plugin module (v 0.7, 7/4/09)
Brett,
Not sure if what I'm goign to describe is an EG shorrtcoming or if the plugin you wrote can handle it...
I'm using xpTunes to control JRMC from my iPod and Win7. (and loving it)
- The last part of my integration is to have EG detect JRMC events (zone changes, music start/stop, etc) and act on those.
I have tried to use your plugin but it does not detect 'Media Center 14.exe' when running in the background.
Is there a way we can get this to work?
thx
Aaron
Not sure if what I'm goign to describe is an EG shorrtcoming or if the plugin you wrote can handle it...
I'm using xpTunes to control JRMC from my iPod and Win7. (and loving it)
- The last part of my integration is to have EG detect JRMC events (zone changes, music start/stop, etc) and act on those.
I have tried to use your plugin but it does not detect 'Media Center 14.exe' when running in the background.
Is there a way we can get this to work?
thx
Aaron
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: JRMC plugin module (v 0.7, 7/4/09)
Rich,richy759 wrote:I am trying to use this plugin with MC14 and I get the error "NameError: name 'JRMC' is not defined".
Is this due to the fact I'm using MC14 (if so is there any chance of support for it)?
Cheers,
Rich
Sorry, can you elaborate? Where do you get that message? I've got MC14, and I don't see that error (I'm having some disk trouble, so I haven't tested much). I had previously changed the code so it would work for MC12 and MC13, and looking at the code, I don't see anything that would break the plugin.
Brett
Re: JRMC plugin module (v 0.7, 7/4/09)
Aaron,Livin wrote:Brett,
Not sure if what I'm goign to describe is an EG shorrtcoming or if the plugin you wrote can handle it...
I'm using xpTunes to control JRMC from my iPod and Win7. (and loving it)
- The last part of my integration is to have EG detect JRMC events (zone changes, music start/stop, etc) and act on those.
I have tried to use your plugin but it does not detect 'Media Center 14.exe' when running in the background.
Is there a way we can get this to work?
thx
Aaron
Sorry, but I need to ask you for more detail as well. I've tested similar code in other plugins and it works fine when the target app is in the background (and again, with my hdd trouble, I can't do a lot of testing on my end). So in concept, what you are trying to do should work.
As I mentioned in the previous post, the plugin should work with MC14. Can you explain what symptoms/messages you get? Also, could you try running with just MC14 and EG, not the ipod/xpTunes to try to tell more clearly where the problem is?
Also, I don't think MC gives an indication over COM of zone changes. I create a track changed event, which does include the zone (but maybe only for the active zone?), but that is all I was able to find in the COM interface for zones.
Brett
Re: JRMC plugin module (v 0.7, 7/4/09)
xpTunes seems to load MC so that it shows in the process list (task manager shows MEDIAC~1.EXE) but not on screen (not on the task bar).
EG's log shows: "JRMC is not running"
EG's log shows: "JRMC is not running"
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: JRMC plugin module (v 0.7, 7/4/09)
So JRMC plays fine and can be controlled when it isn't visible? I didn't realize is worked that way.
In the plugin's __init__.py file, there's a line:
Does it work if you change the 3rd from the end parameter from False to True? That's the "include invisible" parameter.
Brett
In the plugin's __init__.py file, there's a line:
Code: Select all
FindJRMC = eg.WindowMatcher(None,u'Media Center{*}',u'MJFrame',None, None, 1, False, 0.0, 0)Brett
Re: JRMC plugin module (v 0.7, 7/4/09)
Changing to False did not work.
I also tried changing Media Center to... MEDIAC & MEDIAC~1 - no difference.
Download xpTunes (free with limited functionality) and you'll see what I mean... btw, it is a sweet web app too - you might just end up using it.
I also tried changing Media Center to... MEDIAC & MEDIAC~1 - no difference.
Download xpTunes (free with limited functionality) and you'll see what I mean... btw, it is a sweet web app too - you might just end up using it.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system