sentriz/gonic

Request: Parse `format` param in `stream` request for per-request transcoding

Opened this issue · 3 comments

Right now, the format param is only used to detect the raw key, in which case it will just serve the raw file.

if format == "raw" {

However, it would be nice (and I believe in-spec) if this param could also be used to request the specific stream be transcoded into one of the available formats, such as mp3 or opus.

i would love for this to be possible, but we need some extension to the spec for clients to list the availible formats. eg gonic might have opus, opus_rg, or later on some custom format the the user created. and clients can't know what the options are

Good point. This would probably be a sensible addition to OpenSubsonic. I might open a discussion there.

nice thank you. also releated is #244