INTERACT FORUM

Please login or register.

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

Author Topic: MCWS: feature request - MC item playlists  (Read 2131 times)

hardolf

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • Retired developer
MCWS: feature request - MC item playlists
« on: September 27, 2020, 08:39:21 am »

I tried to post this request in the "INTERACT FORUM > Networks and Remotes > Media Network" forum on 2020-06-08 but have got no response, so I try to post it here:

In the LyricsFinder application I have created, using MCWS, I need to show the playlist names for the currently playing MC item.
Since I cannot get this directly via MCWS, I currently do this once at the start of my application:

  • Get all playlists from MCWS, using the "/Playlist/List" function
  • Multi-threaded: For each playlist, get the MC item from MCWS, using the "/Playlist/Files" function
  • Create a dictionary (list) with MC item key as key and a list of playlist names as value

When an MC item is later played in my application, the application finds the item's playlist names from the dictionary and displays them.

The data gathering process described above is very slow and CPU intensive.
It would be a lot easier, if MCWS had a function to get the playlists directly for a specified MC item, i.e. the reverse function of the existing "/Playlist/Files" function.

In MC this information is already present and can be selected as a column in the views, so hopefully this should be possible.
Do you think that such a new MCWS function could be added in a future MC release?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41922
  • Shoes gone again!
Re: MCWS: feature request - MC item playlists
« Reply #1 on: September 27, 2020, 08:59:45 am »

So get the playlists for a given file?  Thanks.
Logged
Matt Ashland, JRiver Media Center

hardolf

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • Retired developer
Re: MCWS: feature request - MC item playlists
« Reply #2 on: September 27, 2020, 03:25:49 pm »

Hi Matt.

Yes, that is the short version of my request  :)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41922
  • Shoes gone again!
Re: MCWS: feature request - MC item playlists
« Reply #3 on: September 28, 2020, 08:50:44 am »

We'll try this for the next build.  Thanks for the suggestion :)
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up