Author Topic: J River Media Center  (Read 23674 times)

0 Members and 4 Guests are viewing this topic.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: J River Media Center
« Reply #30 on: March 05, 2012, 04:06:40 PM »
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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: J River Media Center
« Reply #31 on: March 06, 2012, 01:50:04 AM »
Whats the format for sending a function key (F4)

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: J River Media Center
« Reply #32 on: March 06, 2012, 03:45:25 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: J River Media Center
« Reply #33 on: March 06, 2012, 12:36:09 PM »
and for JRiver your guess is as good as mine.  I would start by trying F4  :biglaugh

rablack97

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: J River Media Center
« Reply #34 on: March 06, 2012, 06:32:28 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: J River Media Center
« Reply #35 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.

Code: [Select]
JRiver.Raw    Control/Key?Key=Ctrl;4&Focus=1
so the first thing to try if you want to do F4 is

Code: [Select]
JRiver.Raw    Control/Key?Key=F4&Focus=1
no?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: J River Media Center
« Reply #36 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!

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: J River Media Center
« Reply #37 on: March 07, 2012, 08:33:05 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: J River Media Center
« Reply #38 on: March 07, 2012, 08:35:35 AM »
Control/MCC?Command=1,000,000&parameter=KalleIsAGoof

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: J River Media Center
« Reply #39 on: March 07, 2012, 08:36:28 AM »
Control/MCC?Command=1,000,000&parameter=KalleIsAGoof
:biglaugh  ::club
***********  get excited and make things  **********

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: J River Media Center
« Reply #40 on: March 07, 2012, 03:27:52 PM »
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

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: J River Media Center
« Reply #41 on: March 07, 2012, 04:08:21 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: J River Media Center
« Reply #42 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?

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: J River Media Center
« Reply #43 on: March 07, 2012, 08:06:43 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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: J River Media Center
« Reply #44 on: March 07, 2012, 09:37:23 PM »
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.

Code: [Select]
JRiver.Raw    Control/Key?Key=Ctrl;4&Focus=1
so the first thing to try if you want to do F4 is

Code: [Select]
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.... :)
« Last Edit: March 07, 2012, 09:39:32 PM by rablack97 »