INTERACT FORUM

More => Old Versions => JRiver Media Center 32 for Windows => Topic started by: mattkhan on January 08, 2024, 03:40:04 pm

Title: PlayByFilename accepts a URL?
Post by: mattkhan on January 08, 2024, 03:40:04 pm
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 :)
Title: Re: PlayByFilename accepts a URL?
Post by: Matt on January 08, 2024, 03:42:17 pm
It just adds the filenames you pass to the array of files.  A URL is a filename.
Title: Re: PlayByFilename accepts a URL?
Post by: mattkhan on January 08, 2024, 03:46:54 pm
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