INTERACT FORUM

More => Old Versions => Media Center 15 (Development Ended) => Topic started by: 666JackTheKnife666 on August 31, 2010, 02:59:35 am

Title: Playing Something or not ?
Post by: 666JackTheKnife666 on August 31, 2010, 02:59:35 am
I am doing some scripting in EventGhost to control Jrmc 15, and I am running into a bit of a snag..
I need to find out if Jrmc 15 is playing something before issuing a command.
I am thinking there might be something like an mcc command that can return a playing state like a one or zero.

Here is why I need to know.
my android phone sends events to EG on my computer, So I have set up EG to tell Jrmc 15 to pause when I get a phone call. The problem is that if Jrmc 15 is not playing anything and I get a call Jrmc 15 will start playing.
this is logical since the pause function is a toggle.
If I can query Jrmc 15 in some way to find out if it's playing something then I can fix my scripts.
Any help would be appreciated..
Title: Re: Playing Something or not ?
Post by: gappie on August 31, 2010, 03:15:31 am
you could use
mc15.exe /mcc 10022,1
this sets mcc to pause. wont toggle but stays paused when fired again.

 :)
gab
Title: Re: Playing Something or not ?
Post by: 666JackTheKnife666 on September 01, 2010, 07:17:35 pm
Thank you for that info, I had a bit of trouble finding mc15.exe for a bit, but finally located it in my windows\system32 directory. Pause is not toggling now teriffic!!
Title: Re: Playing Something or not ?
Post by: gappie on September 02, 2010, 01:51:18 am
nice that it works. maybe i should clarify a bit: the mc15.exe is indeed where you found. because its in the system 32 folder you dont have to use the fullpath. mc15.exe is enough and windows knows where to find it  8)

 :)
gab