Skip to content

Commit

Permalink
Return http form post extension (OpenSubsonic)
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Dec 2, 2023
1 parent a9cf54a commit c124f45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/subsonic/opensubsonic.go
Expand Up @@ -8,6 +8,8 @@ import (

func (api *Router) GetOpenSubsonicExtensions(_ *http.Request) (*responses.Subsonic, error) {
response := newResponse()
response.OpenSubsonicExtensions = &responses.OpenSubsonicExtensions{}
response.OpenSubsonicExtensions = &responses.OpenSubsonicExtensions{
{Name: "supportFormPost", Versions: []int32{1}},
}
return response, nil
}

0 comments on commit c124f45

Please sign in to comment.