INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: StuckMojo on September 07, 2011, 04:55:33 pm

Title: Keyboard Shortcut ->Change Library
Post by: StuckMojo on September 07, 2011, 04:55:33 pm
Is it possible to create a Keyboard Shortcut to swap between librarys like the zones shortcut?

Now that i have two local Librarys i would like to change from one library to the other with remote control.
Therefore i need a Keyboard shortcut for my remote control.
Or it would be nice if it could be integrated in theater view like zones in playing now.
Or is there an other way to manage this? ? (Without using Media Center with different Command Line starting Parameters,please.)
Title: Re: Keyboard Shortcut ->Change Library
Post by: Lasse_Lus on September 08, 2011, 06:52:24 am
Is it possible to create a Keyboard Shortcut to swap between librarys like the zones shortcut?
....(Without using Media Center with different Command Line starting Parameters,please.)

why not benefit from the functions that exists (mc16.exe) ? you have MCC_LOAD_LIBRARY
MCC 20025, [int nLibraryIndex]

or  /Library <library name>
Title: Re: Keyboard Shortcut ->Change Library
Post by: Vocalpoint on September 08, 2011, 02:51:11 pm
why not benefit from the functions that exists (mc16.exe) ? you have MCC_LOAD_LIBRARY
MCC 20025, [int nLibraryIndex]

or  /Library <library name>


Lasse,

Can you elaborate on just how you would use these existing functions in a "keyboard" shortcut? Or even a Windows desktop shortcut? This could be handy for me.

VP
Title: Re: Keyboard Shortcut ->Change Library
Post by: Lasse_Lus on September 08, 2011, 03:26:39 pm
sure vp :)

open up .\.\Data\Default Resources\Resource.xml or rather Custom Resources
(if you have not done it, create a new folder under data named custom resources and copy the files from default, then your settings will be safe even if you reinstall MC)

choose your key..and enter something like this..

<Entry Key="Ctrl;9" Command="20025," Param="5" />

i had my on 5, there was a bunch of dlna librarys that i did not know of from 1-4
0 is the default library..

or create a textfile on the desktop with

mc16.exe /Library "your library name"

or mc16.exe /MCC 20025,5 and save it as a bat file (.bat)

you can also set up keyboard shortcuts under options/Remote control

quick and simple
Title: Re: Keyboard Shortcut ->Change Library
Post by: StuckMojo on September 08, 2011, 08:20:14 pm
Thanks,That's what I wanted! ;)

One more Question.
Is there a command "Number" for switching through library's like zone switching.
If Yes,What is the Command="xxxxx," Param="x" for this.
A one button solution for my remote control to switch between librarys would be nice.
Title: Re: Keyboard Shortcut ->Change Library
Post by: Lasse_Lus on September 09, 2011, 01:40:56 am
Thanks,That's what I wanted! ;)

One more Question.
Is there a command "Number" for switching through library's like zone switching.
If Yes,What is the Command="xxxxx," Param="x" for this.



that's good mojo,..

you have them here http://wiki.jriver.com/index.php/Media_Center_Core_Commands#Specifying_Zones

<Entry Command="10011" Text="Toggle Zone" Param="-1" />
<Entry Command="10011" Text="Set Zone" Param="x" />

[ctrl]t is default for toggle between zones

Quote
A one button solution for my remote control to switch between librarys would be nice.

under options/Remote control, you can set up one button solutions really easy, with chains of commands,  but i'm not aware of any toggle library..but you can build it with a batfile or similar
Title: Re: Keyboard Shortcut ->Change Library
Post by: StuckMojo on September 09, 2011, 06:22:37 am
Thanks for helping.