mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 12:37:37 +03:00
15 lines
371 B
Go
15 lines
371 B
Go
package subsonic
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/navidrome/navidrome/server/subsonic/responses"
|
|
)
|
|
|
|
func (api *Router) GetOpenSubsonicExtensions(_ *http.Request) (*responses.Subsonic, error) {
|
|
response := newResponse()
|
|
response.OpenSubsonicExtensions = &responses.OpenSubsonicExtensions{
|
|
{Name: "transcodeOffset", Versions: []int32{1}},
|
|
}
|
|
return response, nil
|
|
}
|