INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Launch Theater View with Green Button when MC is closed?  (Read 1597 times)

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3105
Launch Theater View with Green Button when MC is closed?
« on: January 30, 2011, 10:49:43 am »

Is there any way to do this without an external program like Eventghost?  I tried to achieve this by starting JRService manually and keeping it running but MC is not launched when pressing the button (and the service is killed anyways when MC is closed).  I know I can run "Media Server" but don't think this would be a good idea on client machines (seems like they should "reconnect" to the server each time after awoken from sleep, etc.).
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Launch Theater View with Green Button when MC is closed?
« Reply #1 on: January 30, 2011, 10:50:53 am »

I think Media Server would still work.  Have you tried?
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3105
Re: Launch Theater View with Green Button when MC is closed?
« Reply #2 on: January 30, 2011, 11:03:21 am »

Media Server on the clients would work but I would prefer to close MC completely before putting the PC to sleep to make sure all changes are synced properly, etc.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

petrossa

  • World Citizen
  • ***
  • Posts: 127
Re: Launch Theater View with Green Button when MC is closed?
« Reply #3 on: January 30, 2011, 12:51:20 pm »

You could write your own prog to capture the event and start MC with a commandline switch.
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3105
Re: Launch Theater View with Green Button when MC is closed?
« Reply #4 on: February 01, 2011, 09:57:50 am »

You could write your own prog to capture the event and start MC with a commandline switch.

I could, but in that case I might as well just use Eventghost for everything including controlling MC rather than just having a separate program running to handle just one special case.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

petrossa

  • World Citizen
  • ***
  • Posts: 127
Re: Launch Theater View with Green Button when MC is closed?
« Reply #5 on: February 02, 2011, 05:36:01 am »

If you write a small eventfilter, you can just check if MC is running and if not start it, if it is, pass on the event. That way you use the same control and the same automation. Just with a tiny kludge.
Doesn't even have to be a service, just a tiny windowless app trapping the IRDAWinsock.
Connect to the device, do a int recv(SOCKET s, char FAR* buf,  int len,  int flags); with flags =MSG_PEEK ;

Easy, and way faster then waiting for JRiver to implement it.
Logged
Pages: [1]   Go Up