INTERACT FORUM

Please login or register.

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

Author Topic: Command line switch to ask for library?  (Read 1149 times)

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Command line switch to ask for library?
« on: December 17, 2007, 10:08:46 am »

Is there a way to require MC to prompt the user for which library to use on startup?
Logged

Lasse_Lus

  • Citizen of the Universe
  • *****
  • Posts: 999
Re: Command line switch to ask for library?
« Reply #1 on: December 17, 2007, 11:17:01 am »

mc12.exe /Library [library Name] Changes to the library specified by [library Name] (Media Center 12.0.384 and later)
Logged
MT5FR

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: Command line switch to ask for library?
« Reply #2 on: December 17, 2007, 12:27:20 pm »

I did read about that when it was added.  I'm looking more for the library interface to popup and ask the user.

Usage would be on my laptop so when I'm at home I could select my server database, the server's library server, or a local database.  Otherwise, I'm always greeted with either an error (couldn't load library) or it connects to library server and downloads the database (wasting time) when I really want to use my own server database.

1. My database, only when I'm at home on wifi.
2. Server library server, only when I'm somewhere with internet/wifi access.
3. Local database, when I have no connectivity.
Logged

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5908
  • Farm Animal Stupid
Re: Command line switch to ask for library?
« Reply #3 on: December 17, 2007, 12:38:19 pm »

You could probably write a batch file that could prompt the user for the library to use, then it calls MC using the above command line switch to load the correct library.
Logged

Lasse_Lus

  • Citizen of the Universe
  • *****
  • Posts: 999
Re: Command line switch to ask for library?
« Reply #4 on: December 17, 2007, 01:36:59 pm »

You could probably write a batch file that could prompt the user for the library to use, then it calls MC using the above command line switch to load the correct library.

yep...and then maybe fast launch the needed MC db with Launchy (.net)  :)
Logged
MT5FR
Pages: [1]   Go Up