INTERACT FORUM

More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: zeltak on January 06, 2024, 02:25:57 pm

Title: mcc/mcws command to jump to a specific view in the audio tree?
Post by: zeltak 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
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: zeltak 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
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: JimH on January 10, 2024, 08:19:32 am
You could use ctrl-tab to cycle through open tabs.
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: marko 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
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: zeltak 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
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: MrBiff 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
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: zeltak 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
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: Matt 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
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: zeltak on January 14, 2024, 05:54:18 pm
thx so much @Matt!!


Z
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: MrBiff 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.
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: Matt 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.
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: MrBiff 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.
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: Matt on January 14, 2024, 08:45:22 pm
I'll address that in v32.  Thanks for the help.
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: zeltak on May 10, 2024, 12:13:40 pm
Hi all

was this ever addressed?

Z
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: zeltak on August 08, 2024, 09:05:24 pm
Hi matt

pinging again, was this ever addressed in V32?


thx

Z
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: Matt on August 09, 2024, 07:48:17 am
Just try it and let us know if you think anything else should change.  Thanks.
Title: Re: mcc/mcws command to jump to a specific view in the audio tree?
Post by: zeltak on August 10, 2024, 07:42:51 am
got it, tried it again and everything works as expected

thx!!