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:
@@ -40,6 +40,7 @@ func (c *Controller) ServeGetOpenSubsonicExtensions(_ *http.Request) *spec.Respo
|
|||||||
sub := spec.NewResponse()
|
sub := spec.NewResponse()
|
||||||
sub.OpenSubsonicExtensions = &spec.OpenSubsonicExtensions{
|
sub.OpenSubsonicExtensions = &spec.OpenSubsonicExtensions{
|
||||||
{Name: "transcodeOffset", Versions: []int{1}},
|
{Name: "transcodeOffset", Versions: []int{1}},
|
||||||
|
{Name: "formPost", Versions: []int{1}},
|
||||||
}
|
}
|
||||||
return sub
|
return sub
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user