INTERACT FORUM

More => Old Versions => Media Center 14 (Development Ended) => Topic started by: bunglemebaby on October 13, 2009, 08:12:58 pm

Title: Load Default Library On Startup
Post by: bunglemebaby on October 13, 2009, 08:12:58 pm
I feel like this should be a simple one, but I can't figure it out for the life of me. How can I always load the default library on startup?
Currently MC just opens the last open library, which can be an annoyance when the last opened library was through library server. It takes a while to load and if the server isn't available it takes a while to not load then load up the default library.
Is this possible currently? I can't find a way...
-JB
Title: Re: Load Default Library On Startup
Post by: Matt on October 13, 2009, 10:18:43 pm
How about adding /Library to your shortcut and specifying the library you want:
http://wiki.jrmediacenter.com/index.php/The_Command_Line
Title: Re: Load Default Library On Startup
Post by: bunglemebaby on October 14, 2009, 01:57:35 pm
Ah, perfect! I knew there had to be something. Thanks Matt!
Title: Re: Load Default Library On Startup
Post by: lise on November 05, 2009, 12:57:20 pm
This works perfectly for local libraries. But I also want a shortcut to open my Shared Library on the HTPC.

I tried
mc14.exe /Library [IP address]
mc14.exe /Library [Shared Library] (the name of the library on the HTPC
mc14.exe MC14.exe /Connect m01p://[IP address] not knowing if this was for "library" server as well.

None of them worked.
Is what I want possible?
Title: Re: Load Default Library On Startup
Post by: Alex B on November 05, 2009, 03:13:47 pm
mc14.exe /Library [Shared Library] (the name of the library on the HTPC

Did you  try:

mc14.exe /Library [Shared Library]  (the name of the library on the client PC)   ?


I.e. save first a name for the server library so that it shows up as an item in the client's library list.
Title: Re: Load Default Library On Startup
Post by: lise on November 09, 2009, 08:38:10 am
Is this broken in v14.0.94?  I can't get any of my "open in this library" shortcuts to work anymore. No matter which one I select, MC opens with the most recently opened library.

C:\Windows\System32\MC14.exe /Library [MC14]
C:\Windows\System32\MC14.exe /Library [Docs]

(perhaps it matters that my libraries are not in the standard place--I put them in my own custom directory right under C:\)
Title: Re: Load Default Library On Startup
Post by: lise on November 10, 2009, 10:56:46 am
bump (it still doesn't work in today's version 14.0.96).  Does it work for anyone else?
Title: Re: Load Default Library On Startup
Post by: lise on November 16, 2009, 01:35:09 pm
Bump again. Does it work for anyone?
Title: Re: Load Default Library On Startup
Post by: Alex B on November 16, 2009, 02:09:36 pm
I just tested the following command by running it from "Start > Run" on XP.

MC14.exe /Library XYZ

It changes the startup library from another library just fine.

XYZ is main main library and on this PC it is located in C:\MC14_XYZ\

C:\Windows\System32\MC14.exe /Library [MC14]
C:\Windows\System32\MC14.exe /Library [Docs]

Perhaps you added the brackets. You should not do that. Just write the name as it is.
Title: Re: Load Default Library On Startup
Post by: lise on November 16, 2009, 02:33:29 pm
Thank you Alex, that did the trick. I did have the brackets. It doesn't say in the wiki page referenced in a post above that the brackets are not to be included. Thanks for taking the time. I appreciate it.