more Jellyfin integration work

This commit is contained in:
Drew Weymouth
2023-11-14 09:05:02 -08:00
parent c8255517f6
commit 2867d13498
8 changed files with 416 additions and 24 deletions
@@ -0,0 +1,18 @@
package jellyfin
import (
jellyfinCli "github.com/dweymouth/go-jellyfin"
"github.com/dweymouth/supersonic/backend/mediaprovider"
)
type JellyfinServer struct {
jellyfinCli.Client
}
func (j *JellyfinServer) MediaProvider() mediaprovider.MediaProvider {
return newJellyfinMediaProvider(&j.Client)
}
func (j *JellyfinServer) Ping() bool {
return false // TODO: unimplemented
}