feat(subsonic): return http form post opensubsonic extension key

https://github.com/opensubsonic/open-subsonic-api/pull/74

Release-As: 0.16.3
This commit is contained in:
sentriz
2023-12-02 16:32:43 +00:00
committed by Senan Kelly
parent 5b5572d74c
commit e8ae1c1d40

View File

@@ -40,6 +40,7 @@ func (c *Controller) ServeGetOpenSubsonicExtensions(_ *http.Request) *spec.Respo
sub := spec.NewResponse()
sub.OpenSubsonicExtensions = &spec.OpenSubsonicExtensions{
{Name: "transcodeOffset", Versions: []int{1}},
{Name: "formPost", Versions: []int{1}},
}
return sub
}