more Jellyfin integration work
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user