INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: DavidCognito on September 17, 2008, 05:50:45 pm

Title: Microsoft media key stopped working when MC in System Tray
Post by: DavidCognito on September 17, 2008, 05:50:45 pm
Since updating the driver for my Microsoft Natural Ergonomic Keyboard 4000 recently, the media 'play / pause' key no longer works when MC is minimized to the system tray.

The problem occurs with the latest driver from MS (ITP32Eng6.30.191.0.exe), although I think a the previous version also had this problem.  I've deleted the driver that I had before that worked OK.

Any suggestions, please?
Title: Re: Microsoft media key stopped working when MC in System Tray
Post by: Matt on September 18, 2008, 11:12:03 am
Try the different media key handling options in Options > General > Advanced > Media key mode
Title: Re: Microsoft media key stopped working when MC in System Tray
Post by: DavidCognito on September 18, 2008, 11:32:28 am
Thanks, Matt.  I tried all the options but none worked when system trayed.
Title: Re: Microsoft media key stopped working when MC in System Tray
Post by: Matt on September 18, 2008, 12:14:05 pm
I would guess that the new Microsoft software is trying to be too smart, and not give minimized top-level programs with no taskbar icon a chance to handle commands.

Maybe you could ask Microsoft?  Or configure it to always call "MC12.exe /Command Pause" (etc.) on those keys?
Title: Re: Microsoft media key stopped working when MC in System Tray
Post by: DavidCognito on September 18, 2008, 12:30:40 pm
I could ask MS, or I could go outside and shout at some clouds for a while.  From past experience they achieve the same thing. ;)

Re-assigning the play button to '"C:\Program Files\J River\Media Center 12\Media Center 12.exe" /Command Pause' worked.  Thanks very much.
Title: Re: Microsoft media key stopped working when MC in System Tray
Post by: Matt on September 18, 2008, 12:32:55 pm
I could ask MS, or I could go outside and shout at some clouds for a while.  From past experience they achieve the same thing. ;)

Re-assigning the play button to '"C:\Program Files\J River\Media Center 12\Media Center 12.exe" /Command Pause' worked.  Thanks very much.

Note that using the launcher like:
"MC12.exe /Command Pause"

is probably better because it won't launch the program if it's not running.

Anyway, glad we found a solution.
Title: Re: Microsoft media key stopped working when MC in System Tray
Post by: DavidCognito on September 18, 2008, 01:00:20 pm
Ah, OK.  I thought you were giving me shorthand. :)  I tried the MC12.exe solution - that worked as well, although I'll stick with the method I first used because I like MC firing up when I hit play.

Thanks again.
Title: Re: Microsoft media key stopped working when MC in System Tray
Post by: Matt on September 18, 2008, 01:10:21 pm
Just to close the loop, this link might be helpful for others doing command line control of Media Center:
http://wiki.jrmediacenter.com/index.php/The_Command_Line
Title: Re: Microsoft media key stopped working when MC in System Tray
Post by: DavidCognito on September 18, 2008, 02:03:05 pm
Correction: the solution I first used is not good - it opens a new instance of MC on each key press. 
Code: [Select]
MC12.exe /Command Pause is the solution to use.