[API Request] custom/arbitrary tag/field support #179
zacaj
started this conversation in
API requests
Replies: 1 comment 4 replies
-
|
Just curious, which extra fields would you need? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Type of change
API extension
Proposal description
Most song tag formats are fairly extensible, and at least in Navidrome, they have support for custom tags to add certain tags you may care about that aren't in their default lists to their system.
I'd be nice to see an addition to the track models to support extra fields like this- then clients could support adding columns for them to their lists, displaying them in properties lists, and maybe also sorting/filtering on them.
Backward compatibility impact
No response
Backward compatibility
API details
At the simplest level, this would just include adding support for arbitrary fields to Child. This could be done via an
additionalFieldsdict or array, or via including them directly in with the other fields in the main body (which would be helpful for backwards compatibility if any of these fields later became standard opensubsonic fields).It'd be helpful to also support the server supplying a list of supported additional fields to facilitate clients easily adding them to their own column lists without needing to scan the individual songs being returned. This could be a new dedicated
getendpoint, but it might make sense to add them as an extra field in theopensubsonicextensionresponse for this extension, or to have a more generalgetServerConfigtype endpoint where stuff like this would go?Security impacts
No response
Potential issues
No response
Alternative solutions
At a basic level, this may not actually need an official api change if it's explicitly allowed for servers to include extra fields in the responses beyond whats called out by the opensubsonic spec- I haven't been able to find any hard info on this either way yet though
Beta Was this translation helpful? Give feedback.
All reactions