add dummy getPodcasts view

fixes #98
This commit is contained in:
sentriz
2021-01-02 16:06:59 +00:00
parent f981ddef91
commit 75fce9e214
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package ctrlsubsonic
import (
"net/http"
"go.senan.xyz/gonic/server/ctrlsubsonic/spec"
)
func (c *Controller) ServeGetPodcasts(r *http.Request) *spec.Response {
sub := spec.NewResponse()
sub.Podcasts = &spec.Podcasts{
List: []struct{}{},
}
return sub
}