INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: slerch666 on June 24, 2011, 08:42:27 am

Title: Feature add: pause playback on workstation lock
Post by: slerch666 on June 24, 2011, 08:42:27 am
Hello everyone! Just found this awesome player yesterday and I'm already in love.

One thing I would like to request the capability to do would be to pause playback of audio (maybe video too?) when I lock my Windows 7 workstation. I am used to playing music from my Zune and I just lock the workstation, pause the Zune and walk away. Now that I have a player that renders some amazing audio, I am thinking I would like to start listening from an external drive but I'm not very good at actually opening the application and pausing it when I lock the workstation.

It may be a feature that exists in the application already and I just can't find it, but I'm not seeing it.


Thanks everyone!
Title: Re: Feature add: pause playback on workstation lock
Post by: MrC on June 24, 2011, 12:46:52 pm
You can use the Windows Task Scheduler for this.

1. Launch Task Scheduler:

(http://www.pix01.com/gallery/7658542A-FA77-453B-B683-DE1116E9BE49/Pause_on_Lock/800539317_orig0.jpg)

2. Create a new Task:

(http://www.pix01.com/gallery/7658542A-FA77-453B-B683-DE1116E9BE49/Pause_on_Lock/800539317_orig1.jpg)

3. Name the Task:

(http://www.pix01.com/gallery/7658542A-FA77-453B-B683-DE1116E9BE49/Pause_on_Lock/800539317_orig2.jpg)

4. Create the new Trigger

(http://www.pix01.com/gallery/7658542A-FA77-453B-B683-DE1116E9BE49/Pause_on_Lock/800539317_orig3.jpg)

5. Set Trigger to "On workstation lock"

(http://www.pix01.com/gallery/7658542A-FA77-453B-B683-DE1116E9BE49/Pause_on_Lock/800539317_orig4.jpg)

6. Set Action to start a new program, mc16.exe

(http://www.pix01.com/gallery/7658542A-FA77-453B-B683-DE1116E9BE49/Pause_on_Lock/800539317_orig5.jpg)

7. Add arguments to set pause mode  (i.e. /MCC 10022,1)

(http://www.pix01.com/gallery/7658542A-FA77-453B-B683-DE1116E9BE49/Pause_on_Lock/800539317_orig6.jpg)

8. Test the task with Run or Windows-L keyboard combo.

(http://www.pix01.com/gallery/7658542A-FA77-453B-B683-DE1116E9BE49/Pause_on_Lock/800539317_orig7.jpg)
Title: Re: Feature add: pause playback on workstation lock
Post by: slerch666 on June 24, 2011, 01:10:47 pm
That's... simply awesome! I didn't realize you could use all of the commands that way. I'm going to look through them and see if there's anything else I'd want to setup.


THANK YOU!! ;)
Title: Re: Feature add: pause playback on workstation lock
Post by: MrC on June 24, 2011, 01:48:13 pm
You're welcome.  The command line commands and the MCC commands are listed here:

http://wiki.jriver.com/index.php/DevZone (http://wiki.jriver.com/index.php/DevZone)

They are items 3 and 4.