INTERACT FORUM

Please login or register.

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

Author Topic: [REQ] Expose remote view configuration via an MCWS api  (Read 545 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3970
[REQ] Expose remote view configuration via an MCWS api
« on: January 05, 2024, 07:45:51 am »

related to https://yabb.jriver.com/interact/index.php/topic,137764.msg955383.html#new

if this configuration were accessible via an API call, it would provide a simple way to understand the content type of each node in the browse tree

e.g. MCWS/v1/Library/BrowseConfiguration and return some structure like

Code: [Select]
audio:
  - composer:
      - artist
      - album
      - track
  - artist:
      - album
      - track

(or anything easy to parse that gives the above info)
Logged

MrBiff

  • World Citizen
  • ***
  • Posts: 143
Re: [REQ] Expose remote view configuration via an MCWS api
« Reply #1 on: January 14, 2024, 09:24:51 pm »

I'd love this too.

I could allow opening / expanding a tree view by unambiguous substring matching.  Useful for UserInterface/Show.

https://yabb.jriver.com/interact/index.php/topic,137778.msg956003.html#msg956003
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41983
  • Shoes gone again!
Re: [REQ] Expose remote view configuration via an MCWS api
« Reply #2 on: January 16, 2024, 10:16:11 am »

I'll add MCWS/v1/Browse/Rules today.  It returns a snapshot of the current browse tree.  Thanks for the help.
Logged
Matt Ashland, JRiver Media Center

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3970
Re: [REQ] Expose remote view configuration via an MCWS api
« Reply #3 on: January 16, 2024, 11:29:49 am »

Great, thanks
Logged

MrBiff

  • World Citizen
  • ***
  • Posts: 143
Re: [REQ] Expose remote view configuration via an MCWS api
« Reply #4 on: January 18, 2024, 02:35:34 pm »

I had mistakenly thought this Browse call was related to Standard View's tree.

Would it be possible to create an MCWS call that would return the items and sub-items in the tree?

This would allow me to determine the list of valid tree paths, for use with UserInterface/Show, thus allowing smart abbreviated names, or detection of incorrect names.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41983
  • Shoes gone again!
Re: [REQ] Expose remote view configuration via an MCWS api
« Reply #5 on: January 18, 2024, 02:46:42 pm »

Sure, I'll add a Type parameter and you can specify "Tree" or "DLNA".
Logged
Matt Ashland, JRiver Media Center

MrBiff

  • World Citizen
  • ***
  • Posts: 143
Re: [REQ] Expose remote view configuration via an MCWS api
« Reply #6 on: January 27, 2024, 08:01:57 pm »

Sure, I'll add a Type parameter and you can specify "Tree" or "DLNA".

The Tree param is working well, thank you.
Logged
Pages: [1]   Go Up