INTERACT FORUM

Please login or register.

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

Author Topic: Question/Feature: Quit MC from Theater View  (Read 2302 times)

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Question/Feature: Quit MC from Theater View
« on: January 06, 2008, 11:04:40 pm »

I'd love to have a button in Theater view that will exit the view AND quit MC altoghter. Hey, since the exit button brings up a Yes no dialog anyway, could it be modified to give us these options:

-Exiting Theater View to return to display view
-Exiting MC totally
-Cancelling the exit request?
Logged

Robo983

  • World Citizen
  • ***
  • Posts: 196
Re: Question/Feature: Quit MC from Theater View
« Reply #1 on: January 06, 2008, 11:17:54 pm »

Are you asking for this to be added as a feature?

I think it can by mapping the command line to a button. Just add a button to theater view. Name it close. Make sure you include the path to your Windows directory not the program files one.

mc12.exe /Close Closes Media Center
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: Question/Feature: Quit MC from Theater View
« Reply #2 on: January 07, 2008, 12:10:21 am »

Thanks robo.

I was asking for it to be a feature, or asking how to do it- whichever one applied. I haven't used the command line at all in MC, so I'll try out what you said.
Logged

Robo983

  • World Citizen
  • ***
  • Posts: 196
Re: Question/Feature: Quit MC from Theater View
« Reply #3 on: January 07, 2008, 12:36:58 am »

np, I tried it out to make sure I didn't give bad advice. Add a program button with the following parameter. Same it "Close" and it closes MC with out any prompts.

C:\WINDOWS\system32\MC12.exe /Close
Logged

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: Question/Feature: Quit MC from Theater View
« Reply #4 on: January 07, 2008, 01:25:39 am »

Here's a batch script that will close MC, wait ~8 seconds, and start it again:

mc12.exe /Close
ping -n 8 127.0.0.1 >NUL
mc12.exe

Nice for allowing users to refresh MC (such as in a HTPC use when using server database).
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: Question/Feature: Quit MC from Theater View
« Reply #5 on: January 07, 2008, 09:50:40 am »

Thanks Benn

I might use that, slightly modified. When I start up my HTPC I have to log into my NAS, which also has 2 attached USB drives. MC won't let me log into the NAS or those drives by going into drives and devices in standard view. So sometimes, when I forget to log into the drives before I launch MC (straight into Theater View), many of my media are not available. I then have to close MC, log onto the drive and restart MC. If I increase the time between close and restart to 20 seconds, I might use your script in addition to Robo's for simply closing the program.
Logged

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: Question/Feature: Quit MC from Theater View
« Reply #6 on: January 07, 2008, 11:12:58 am »

I had MC automatically starting when the system logged on.  Unfortunately, the server drive was not quite ready yet and MC would always default to the default library and I'd have to manually fix it.

So my solution was to make my remote start MC when MC is not running (or in focus).  Which works perfectly!  This is true on my desktop + htpc multipurpose machines, too.  If the user is working on the computer and suddenly wants to enjoy a fine movie, they just push a button and 5 seconds later they're in theater view.  I even have it setup to go to the second monitor in many cases so a larger TV also attached can be used, for instance.
Logged

eric.w

  • Member
  • *
  • Posts: 4
Re: Question/Feature: Quit MC from Theater View
« Reply #7 on: January 21, 2008, 09:56:11 am »

Can someone point me in the good direction about how and where to add such a button in theater view mode please ?
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Question/Feature: Quit MC from Theater View
« Reply #8 on: January 21, 2008, 10:04:42 am »

Can someone point me in the good direction about how and where to add such a button in theater view mode please ?
go to tools>options>theaterview>items to show. choose add>custom item.
in name put close or something like that.
in type choose program
and in parameter type: MC12.exe /Close

succes
gab
Logged

eric.w

  • Member
  • *
  • Posts: 4
Re: Question/Feature: Quit MC from Theater View
« Reply #9 on: January 21, 2008, 10:19:05 am »

wow thats fast !

thanx a lot for your help, it worked !
Logged
Pages: [1]   Go Up