[API Request] Add bitDepth and samplingRate to songs #64
Replies: 5 comments 24 replies
-
Similarly, I think we should add |
Beta Was this translation helpful? Give feedback.
-
EDIT: this list conflated codec and container and should not be used For
|
Beta Was this translation helpful? Give feedback.
-
Alright, second try, since Tolriq pointed out that we probably don't want to conflate codec and container:
|
Beta Was this translation helpful? Give feedback.
-
EDIT: moved to the replies of the previous entry |
Beta Was this translation helpful? Give feedback.
-
Hello guys, would it be helpful if we reduce the scope of the discussion to just bitDepth and samplingRate, and discuss the outstanding topics in another discussion? About samplingRate, it was mentioned here that we did not agree on setting "full" values or not. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Type of change
API extension
Proposal description
For the endpoints which return Songs, along with the existing "bitRate" field, it would be nice to also have extra fields for bitDepth and samplingRate.
Backward compatibility impact
There should be no backward compatibility impact as there is no change to existing fields.
Backward compatibility
API details
The change should extend to all the endpoint which return Songs, directly or for album and/or playlists.
Simply two more fields with bitDepth and sampleRate should be added in order to carry the additional detail about the song (as a media file).
Security impacts
None
Potential issues
None
Alternative solutions
There is no alternative solution, because on the client side, it is not granted that we can have access to the files and that we even have the full path.
Also even if it was the case, having to access the file in order to get those information would be very expensive and it would be preferable to include in the server scan phase.
Beta Was this translation helpful? Give feedback.
All reactions