INTERACT FORUM

Please login or register.

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

Author Topic: how to use scheduler to stop play  (Read 1318 times)

rauscs

  • Regular Member
  • Recent member
  • *
  • Posts: 17
  • Change this by choosing profile
how to use scheduler to stop play
« on: June 03, 2007, 01:18:02 pm »

I'm sure I'll get the 'just use search' answer for this, but I've been digging for an hour with no glory...

I want to have MJ12 stop playing at 1:00 am, all by itself.  I've been looking at the scheduler, but references in the documentation actually still refer to 'mjextman.exe', which has been dead for years. 

I tried using the scheduler 'play' task, and have it start up and stop a minute later, but the 'duration' box is greyed out.

Any ideas?

Thanks, Steve
Logged

StFeder

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1493
  • Fight! You may win. If you don't, you already lost
Re: how to use scheduler to stop play
« Reply #1 on: June 03, 2007, 03:25:49 pm »

To me it looks as if you can only use the duration box if you choose to record something via the scheduler. Seeing the scheduler plugin for the first time I thougt it could be used to replace that bad looking but well working sleeptimer plugin. Using some commandline you can use it like you can use sleeptimer, but its easier (and for me it works) to take a look at this: http://accessories.musicex.com/mediacenter/mc_data/plugins/int_sleeptimer.mjp Might help you too!
Logged

StFeder

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1493
  • Fight! You may win. If you don't, you already lost
Re: how to use scheduler to stop play
« Reply #2 on: June 03, 2007, 04:15:21 pm »

Did a quick look for commandline control. If you don't want to use sleep timer for some reason, maybe some commandline options may help. They can be easiely used with scheduler.

To shutdown windows (and turn of your PC) just use
Code: [Select]
Shell32.dll,SHExitWindowsExTo stop playback use
Code: [Select]
MC12.exe /MCC 10001To exit MC
Code: [Select]
MC12.exe /MCC 20007
A complete list with all MC12.exe codes can be found here: http://wiki.jrmediacenter.com/index.php/Media_Center_windows_messages
Logged

rauscs

  • Regular Member
  • Recent member
  • *
  • Posts: 17
  • Change this by choosing profile
Re: how to use scheduler to stop play
« Reply #3 on: June 04, 2007, 01:52:32 pm »

Very Cool - that did the trick.  Thanks for the help.
Steve
Logged
Pages: [1]   Go Up