[API Request] Expose codec, container, full codec #87
Replies: 2 comments 33 replies
-
I think adding full codec info to the base payloads might be not desirable depending on how much info we want to add there, and introducing a new endpoint |
Beta Was this translation helpful? Give feedback.
-
So to move on this I suggest we simplify and return to the very initial stuff of returning the codec and container as returned by ffmpeg. Having consistent values in the returned data and for the future transcoding api makes things easy and simple. ffprobe -formats for the containers We do not enforce any list as new codecs can be added in future ffmpeg versions. |
Beta Was this translation helpful? Give feedback.
-
Type of change
API extension
Proposal description
Now that we split the query in 2 and already have bitrates and samplerate let's finish the missing data.
Expose new fields for songs:
Backward compatibility impact
No response
Backward compatibility
API details
TBD depending on the choice made.
Security impacts
No response
Potential issues
As discussed before this adds more data to the json payloads, but this greatly help apps to decide to request transcoding or not.
The simple solution would be to only return the extended data in the
getSong
endpoint but for the moment we have no process / documentation solution to indicate that a field for a response should only be filled for a specific endpoint so it requires to define that too if we go that road.Alternative solutions
No response
Beta Was this translation helpful? Give feedback.
All reactions