INTERACT FORUM

Please login or register.

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

Author Topic: MC as Alarm Clock (part. files)  (Read 1875 times)

JONCAT

  • Guest
MC as Alarm Clock (part. files)
« on: April 10, 2006, 07:36:59 pm »

Is there a way to set particular files or playlists for playback w/ Media Scheduler or are we limited to "play a media file". Does it play whatever is loaded into Playing Now by any chance?

thanks,
Dr. C
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: MC as Alarm Clock (part. files)
« Reply #1 on: April 11, 2006, 08:16:01 am »

Here are the settings I use in media scheduler to wake me up every day:

Start custom task, set the days and time you want, give it a name.
Fill in the program path (should be C:\WINDOWS\system32\MC11.exe on a normal setup)
In the command line field type: /PlayReplace TREEPATH=Playlists\Alarm Clock

("Alarm clock" being the name of a playlist. I put some files into it every night before bed. It is a playlist at the root playlists level. If you want to play a playlist that is deeper in the tree then just type the path from the "Playlists\" level)
Logged

milknkukis

  • Regular Member
  • World Citizen
  • ***
  • Posts: 112
  • Crumbs!
Re: MC as Alarm Clock (part. files)
« Reply #2 on: April 13, 2006, 01:19:42 pm »

That's great, i've been wanting to do this for a while!

Do you know if other command line options are documented somewhere? I would like to be able to change the zone and set the volume each morning too.
Logged

milknkukis

  • Regular Member
  • World Citizen
  • ***
  • Posts: 112
  • Crumbs!
Re: MC as Alarm Clock (part. files)
« Reply #3 on: April 13, 2006, 06:17:18 pm »

nevermind, i found it. for those interested it is here:

http://www.jrmediacenter.com/DevZone/CommandLine.html
Logged

milknkukis

  • Regular Member
  • World Citizen
  • ***
  • Posts: 112
  • Crumbs!
Re: MC as Alarm Clock (part. files)
« Reply #4 on: May 06, 2006, 08:55:49 am »

Hi all

I'm having difficulty getting the VolumeSet command to work, does anyone know why this isn't working?

My command line is as follows:

/PlayReplace TREEPATH=Playlists\stuff_i_like|zone=1 /Command VolumeSet 40
Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: MC as Alarm Clock (part. files)
« Reply #5 on: May 06, 2006, 12:19:44 pm »

Try moving the VolumeSet Command before the PlayReplace.
I've just tested it on it's own and it's working
mc11 /Command VolumeSet 60

milknkukis

  • Regular Member
  • World Citizen
  • ***
  • Posts: 112
  • Crumbs!
Re: MC as Alarm Clock (part. files)
« Reply #6 on: May 08, 2006, 01:41:20 pm »

thanks for the suggestion, but it looks like you can only do one at a time.

could do two different events but that doesn't work either because VolumeSet doesn't work with |zone=1

not a big issue, i just have to remeber to keep the volume ata reasonable level.

cheers for the help everybody
mark
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: MC as Alarm Clock (part. files)
« Reply #7 on: May 08, 2006, 10:58:38 pm »

Just put the two separate commands in a text file, one line at a time and save it with a .BAT extension and have the scheduler run that. 
EG:
Code: [Select]
C:\WINDOWS\system32\MC11.exe /Command VolumeSet 40
C:\WINDOWS\system32\MC11.exe /PlayReplace TREEPATH=Playlists\stuff_i_like|zone=1

I, personally, just use the Windows Task Scheduler to do my automation but you could certainly use MC's if it wets your whistle.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: MC as Alarm Clock (part. files)
« Reply #8 on: May 09, 2006, 07:10:57 am »

Just save them as 2 seperate custom commands and have them start a minute apart from each other. That's what I do.
Logged

milknkukis

  • Regular Member
  • World Citizen
  • ***
  • Posts: 112
  • Crumbs!
Re: MC as Alarm Clock (part. files)
« Reply #9 on: May 10, 2006, 01:00:00 pm »

Thanks for the input guys, but i have several zones so i would have to do at least three different commands.
1. set required zone as current
2. set volume
3. play playlist

I have found since setting this up that i don't change the volume on that zone very often anyway so the whole thing has become a little redundant, but hopefully someone else will find it useful one day :)

cheers
mark
Logged
Pages: [1]   Go Up