INTERACT FORUM

Please login or register.

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

Author Topic: mcc/mcws command to jump to a specific view in the audio tree?  (Read 850 times)

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 480
mcc/mcws command to jump to a specific view in the audio tree?
« on: January 06, 2024, 02:25:57 pm »

hi all

I would think this is possible but cant find any reference to it in the documentation (https://wiki.jriver.com/index.php/Media_Center_Core_Commands):

how does one via mcc/mcws, issue a command to jump to a specific view in the audio tree, ie `albums` or `artists`? (see image attached)

thx alot!

z
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 480
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #1 on: January 10, 2024, 07:49:07 am »

sooo im guessing not possible? :)

any workaround anyone can think of to jump with a keyboard directly to a specific audio view?

thx

Z
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71603
  • Where did I put my teeth?
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #2 on: January 10, 2024, 08:19:32 am »

You could use ctrl-tab to cycle through open tabs.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8967
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #3 on: January 10, 2024, 10:22:00 pm »

There's ShowTreePath, that still works from the Windows "Run" tool. So you could probably craft something yourself using that?

MC31.exe /ShowTreePath "Audio\Albums"

https://wiki.jriver.com/index.php/The_Command_Line

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 480
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #4 on: January 13, 2024, 07:19:21 pm »

wow thats exactly what I was looking for..but im on a Mac :)

I tried it like this

Code: [Select]
/Applications/Media\ Center\ 31.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher /ShowTreePath "Audio\Albums"
but that does not seem to do anything

am I correct to understand this is a windows only option?

also if not is it possible to feature request this for V32 :D

thx

Z
Logged

MrBiff

  • World Citizen
  • ***
  • Posts: 143
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #5 on: January 14, 2024, 01:52:43 pm »

The macOS version of the launcher is missing many of the options supported in the Windows version.

The /ShowTreePath command is one of them.  I reported this five years ago:

https://yabb.jriver.com/interact/index.php/topic,118666.msg820870.html#msg820870
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 480
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #6 on: January 14, 2024, 05:26:54 pm »

thx @meBiff

should we ask this again as a feature request for V32?

am I right and MCWS is missing that function?

Z
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42028
  • Shoes gone again!
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #7 on: January 14, 2024, 05:40:33 pm »

Look at UserInterface/Show.

I was just playing and it seems to work well.

Here's a sample I was using:
http://localhost:52199/MCWS/v1/UserInterface/Show?View=Audio\Genres\Acoustic
Logged
Matt Ashland, JRiver Media Center

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 480
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #8 on: January 14, 2024, 05:54:18 pm »

thx so much @Matt!!


Z
Logged

MrBiff

  • World Citizen
  • ***
  • Posts: 143
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #9 on: January 14, 2024, 06:18:08 pm »

Look at UserInterface/Show.

I was just playing and it seems to work well.

Here's a sample I was using:
http://localhost:52199/MCWS/v1/UserInterface/Show?View=Audio\Genres\Acoustic

That example does work.  But a subsequent call:

http://localhost:52199/MCWS/v1/UserInterface/Show?View=Audio

doesn't.  It goes to Genres.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42028
  • Shoes gone again!
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #10 on: January 14, 2024, 06:51:29 pm »

That example does work.  But a subsequent call:

http://localhost:52199/MCWS/v1/UserInterface/Show?View=Audio

doesn't.  It goes to Genres.

That's because a click on "Audio" just picks whatever child view you used last.
Logged
Matt Ashland, JRiver Media Center

MrBiff

  • World Citizen
  • ***
  • Posts: 143
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #11 on: January 14, 2024, 07:55:33 pm »

That's because a click on "Audio" just picks whatever child view you used last.

Yes, that I see.

But a Server error 500 Status: Failure Information is returned when the tree item is already selected.  This means its impossible to distinguish a TRUE server error vs. Unchanged when making MCWS calls.

These are not server errors - they should return 4xx codes.  If that can't happen, at least please always provide information as to what the error is.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42028
  • Shoes gone again!
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #12 on: January 14, 2024, 08:45:22 pm »

I'll address that in v32.  Thanks for the help.
Logged
Matt Ashland, JRiver Media Center

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 480
Re: mcc/mcws command to jump to a specific view in the audio tree?
« Reply #13 on: May 10, 2024, 12:13:40 pm »

Hi all

was this ever addressed?

Z
Logged
Pages: [1]   Go Up