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?