More > JRiver Media Center 24 for Mac

MCWS: Playback/PlayByKey : support list of file keys

(1/2) > >>

MrBiff:
Would you be able to support a delimited list of keys as the Key parameter in Playback/PlayByKey ?

Currently only one key is supported (unlike PlayByFilename).

I see the request here also:

https://yabb.jriver.com/interact/index.php/topic,90662.msg682857.html#msg682857

MrBiff:
Crickets?

Matt:
So it would just start a playlist of files instead of a single file?

If that's the idea, it seems pretty good and I could probably code it soon.

Thanks.

MrBiff:
Thank you.

To clarify...

When I do a search:

http://127.0.0.1:52199/MCWS/v1/Files/Search?Action=MPL&Fields....

and ask for (at least) Field=Key to be returned, I get a good list returned of files and fields.

But, later, If I want to play these keys, I want to send that list of file keys via Playback/PlayByKey in one call.  A pipe- or comma- separated list is what I'd want to send.

It might also be good to have the Files/Search option for Action=Play return the resulting files in the MPL as well (using the requested Fields).  Without this, Action=Play with a Search criteria provides no feedback about the files that were returned and played.

Now, I have to make two identical calls - one to Search and get the MPL returned with my fields, and a second call doing the same exact search, but this time changing Action=MPL to Action=Play.  This seems wasteful.

Matt:
What if there was a play command that accepted the same MPL?

Navigation

[0] Message Index

[#] Next page

Go to full version