Vista Media Center

Terry60

Knows where his towel is.
Staff member
#1
Anyone know how to make WMC open directly into Live TV ?
At the moment I need to wait around for the MC to open, then click twice through the clunky menu system before the TV eventually appears.
WMC help mentions command line options to do just about everything except Live TV as far as I can fathom.
Has anyone else cracked this, or do I have to resort to installing the 3rd party TV software?
 
#2
Gosh, I haven't used MC for ages.

If you go here, which is probably where you were going before, there are alot of command switches you can use.

You should look at the different swtiches - though I can't see a live TV one (there is a TV playback one), you could try something like "ehshell.exe /directmedia:livetv", though I have no idea if it will work.

You could try using a macro, or using a debugger or hex editor and working from there. My advice is just to have a play. Perhaps you could try it will the /? or /help parameter.

Other than that, not sure what help I can be.

Addendum:

Scrap what I said before. I found some M$ source and compiled this sample application for you. Enjoy.
Send big files the easy way. Files too large for email attachments? No problem!
 
Last edited:

mqudsi

Mostly Harmless
Staff member
#3
Terry, give this a try.. launch it from the commandline as follows:

"MCE Customizer.exe" /mode %mode /state %state
%mode:

  • StartMenu
  • LiveTV
  • TVGuide
  • MyTV
  • RecordedTV
  • MyMusic
  • MyPhotos
  • ScheduledRecordings
  • MyVideos
  • Radio
  • OnlineSpotlight
  • Extensibility

%state:

  • Last
  • FullScreen


The media center tray applet needs to be running.
 

Attachments

mqudsi

Mostly Harmless
Staff member
#4
damn... I just wasted an hour implementing that algorithm you linked to, pj!
 

Terry60

Knows where his towel is.
Staff member
#5
Thanks a lot to you both PJ and Guru,
PJ your launcher worked a treat, but I've gone with Guru's because I can set it as a Quicklaunch Icon and do what I wanted (One click to turn the TV on). Set it with a TV Icon to run minimized, and I've got exactly what I wanted.
Another NST utility for the collection CG. (btw I don't have a tray applet, but it works fine)
 

mqudsi

Mostly Harmless
Staff member
#6
Glad it worked - esp. seeing as I couldn't even test it on Windows XP Pro :smile:
 

Ex_Brit

If you're going through hell, keep going.
Staff member
#7
Just tried it and all it did was bring up WMC (in Vista) but it didn't open TV. Same as my regular desktop/quicklaunch shortcut.
 

mqudsi

Mostly Harmless
Staff member
#8
Interesting, Peter.... I think Terry's using Vista too, but I could be wrong?

What command line parameters did you pass to it?
 

Ex_Brit

If you're going through hell, keep going.
Staff member
#9
I just used your MCE customizer.exe as it was. I'm not very au fait with command line thingies.

Addendum:

I don't think that I quite understand what it is I have to do, so ignore me...LOL
 
Last edited:

mqudsi

Mostly Harmless
Staff member
#10
You have to add "/mode ____ /state ____" when you run it.
Like:

Start -> Run:
C:\Media Customizer.exe /mode LiveTV /state Last
<ENTER>
 

Ex_Brit

If you're going through hell, keep going.
Staff member
#11
It doesn't find it, or MCE Customizer either. I think I'll let this one pass.
 

mqudsi

Mostly Harmless
Staff member
#12
Oops - You need quotes around "MCE Customizer.exe" (and, of course, after copying it to C:\)

So it would
"C:\MCE Customizer.exe" /mode ___ /state ____
 

Ex_Brit

If you're going through hell, keep going.
Staff member
#13
I did that and made C M (which it is in my case) - no go. I'll keep playing with it.
 

Terry60

Knows where his towel is.
Staff member
#14
Heres my target info from the shortcut properties Peter (It is on Vista btw)
"F:\Downloads\Neosmart\MCE Customizer\MCE Customizer.exe" /mode LiveTV /state last
Sorry I missed the conversation, I've been out all day in the historic City of Bath.
 

Ex_Brit

If you're going through hell, keep going.
Staff member
#15
Thanks Terry, I'll check it out when I get a chance.
 

Terry60

Knows where his towel is.
Staff member
#16
And set it to run minimized, and you won't even see the command line window, just the TV will appear.
 

Ex_Brit

If you're going through hell, keep going.
Staff member
#17
I'll have to do some thinking here. First off I have the exe in my Documents, not in its own folder, and it's drive M so the path should read, correct me if I'm wrong, as follows:
"M:\Users\Peter\Documents\MCE Customizer.exe" /mode LiveTV /state last
 

mqudsi

Mostly Harmless
Staff member
#18
I don't think it matters, but try "Last" instead of "last"
 

Ex_Brit

If you're going through hell, keep going.
Staff member
#19
Eureka...thanks guys, it works a treat! Now I have it in Quicklaunch and under Neosmart in Start/All Programs. It also starts with the Command Prompt minimised as you suggested Tony.
 

mqudsi

Mostly Harmless
Staff member
#20
Glad you got it working, Peter!! :smile:

Out of curiosity, what was the problem?