More > JRiver Media Center 32 for Windows

PlayByFilename accepts a URL?

(1/1)

mattkhan:
this call works just fine

/MCWS/v1/Playback/PlayByFilename?Filenames=http://dreamsiteradiocp4.com:8046/stream

is this working by accident or PlayByFilename deliberately supports playback of arbitrary URLs?

this is actually a nice feature to have though I'd suggest it should be a different api call, i.e. something like PlayURL and don't allow PlayByFilename to do that as it's fairly surprising behaviour :)

Matt:
It just adds the filenames you pass to the array of files.  A URL is a filename.

mattkhan:
is that (a URL is a filename) technically correct? doesn't really matter but seems wrong to me

anyway perhaps expand the statement in the MCWS doc to make it clear what this accepts

Navigation

[0] Message Index

Go to full version