News:

HOT TIP! Commands and groups can be copied and pasted directly from your command editor to the forum, and vice versa. This makes sharing command XML on the forum much easier!

Main Menu

J River Media Center

Started by rablack97, February 20, 2012, 03:39:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jitterjames

JRiver doesn't seem to offer any commands for navigation, but you can send a key combo.  In the case of theatre view the combo is ctrl-4 by default.  I don't know if JRiver lets you create / modify keycombos for different things or not.

To send a key combo you can use sendkeys, inputkey, dxInput plugin or you can send keys using the JRiver raw command like this:

JRiver.Raw    Control/Key?Key=Ctrl;4&Focus=1

rablack97

Whats the format for sending a function key (F4)

Kalle

Quote from: rablack97 on March 06, 2012, 01:50:04 AM
Whats the format for sending a function key (F4)
for send- or inputkey command: {F4}
for DxInput command: f4
***********  get excited and make things  **********

jitterjames

and for JRiver your guess is as good as mine.  I would start by trying F4  :biglaugh

rablack97

Ha ha, i'm beginning to see the mad scientists crude sense of humor. :biglaugh

I got it to work with the send key {F4}.

Thank you Kalle....

I asked cause you mentioned the JRiver.Raw command, that of which there is no Key to reference for function keys.  I tried all the other combinations from send key etc and they didtn work, so i figured you had your own format for the JRiver.Raw syntax....

Anywho, its coming along nicely.  I've implemented a few search commands, and a Now playing view mode.

The commands are crude but darnit they work....So cut the newbie some slack man :)

jitterjames

I had to laugh because the answer was so obvious.  F4 was the correct answer...  I'm just not sure why you didn't try it first.

I had just given you the action code for Ctrl-4 in the previous post.

JRiver.Raw    Control/Key?Key=Ctrl;4&Focus=1

so the first thing to try if you want to do F4 is

JRiver.Raw    Control/Key?Key=F4&Focus=1

no?

jitterjames

by the way, there is a lot more that you can do with the Raw command

You should have access to all of these commands:

http://wiki.jriver.com/index.php/Media_Center_windows_messages

Using the JRiver.Raw action with parameters like this:

JRiver.Raw    (a param as show below)

Control/MCC?Command=10000    (play)
Control/MCC?Command=22002    (party mode)
Control/MCC?Command=10048&Parameter=5000   (seek to 5 seconds)
Control/MCC?Command=22013    (show tophits)
Control/MCC?Command=22014    (show recently played)
Control/MCC?Command=22008&parameter=3     (set list style to details)
Control/MCC?Command=22008&parameter=-1    (toggle list style)

and so on.  Oh and don't include the part at the end in brackets, that is just a description I added!

Kalle

Quote from: jitterjames on March 07, 2012, 08:29:59 AM
by the way, there is a lot more that you can do with the Raw command

You should have access to all of these commands:

http://wiki.jriver.com/index.php/Media_Center_windows_messages

Using the JRiver.Raw action with parameters like this:

JRiver.Raw    (a param as show below)

Control/MCC?Command=10000    (play)
Control/MCC?Command=22002    (party mode)
Control/MCC?Command=10048&Parameter=5000   (seek to 5 seconds)
Control/MCC?Command=22013    (show tophits)
Control/MCC?Command=22014    (show recently played)
Control/MCC?Command=22008&parameter=3     (set list style to details)
Control/MCC?Command=22008&parameter=-1    (toggle list style)

and so on.  Oh and don't include the part at the end in brackets, that is just a description I added!
Haha, is there a command there add 1 million dollar to my paypal account  ::wiggle
***********  get excited and make things  **********

jitterjames

Control/MCC?Command=1,000,000&parameter=KalleIsAGoof

Kalle

***********  get excited and make things  **********

nime5ter

Hey, Kalle, wie sagt man "Goof" auf Deutsch?
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Kalle

Quote from: nime5ter on March 07, 2012, 03:27:52 PM
Hey, Kalle, wie sagt man "Goof" auf Deutsch?
Hi Naomi, we said "albern"  or "witzig" for goof.  ;)

Kalle

PS:  3 months left  :yay
***********  get excited and make things  **********

jitterjames

We have our own countdown which is currently at 8 days. :)

Hurray for march break!

Is this off-topic enough for you?

Kalle

Quote from: jitterjames on March 07, 2012, 07:20:37 PM
We have our own countdown which is currently at 8 days. :)

Hurray for march break!

Is this off-topic enough for you?
Haha, you are the webmaster, you can push it in another thread  :biglaugh
***********  get excited and make things  **********

rablack97

#44
Quote from: jitterjames on March 07, 2012, 08:14:58 AM
I had to laugh because the answer was so obvious.  F4 was the correct answer...  I'm just not sure why you didn't try it first.

I had just given you the action code for Ctrl-4 in the previous post.

JRiver.Raw    Control/Key?Key=Ctrl;4&Focus=1

so the first thing to try if you want to do F4 is

JRiver.Raw    Control/Key?Key=F4&Focus=1

no?

Well actually I needed CTRL+F4, so placing F4, (F4), {F4} in place of the 4 you gave me in the prior code did not work.  Also the Focus=1 command kept causing Jriver to crash, i removed from future commands and it working pretty good.  Give me some credit man. ;)

I will look in the wiki as advised.  Thanks again for all of yalls help.  Even though i'm the comedy of the evening.... :)