jellyfin

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidToken       = errors.New("invalid jellyfin api authorization token")
	ErrUnknownApiError    = errors.New("unknown error calling the jellyfin api")
	ErrUnknownApiResponse = errors.New("failed to parse the response body correctly")
	ErrTechnicalError     = errors.New("error with the request")
)

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(jellyfinHost, jellyfinToken string) *Client

func (*Client) GetActiveStreamsPerUser

func (c *Client) GetActiveStreamsPerUser() (map[string]int, error)

func (*Client) GetConnectedDevicesPerUser

func (c *Client) GetConnectedDevicesPerUser() (map[string]int, error)

func (*Client) GetMediaByType

func (c *Client) GetMediaByType() (map[string]int, error)

func (*Client) ValidateToken

func (c *Client) ValidateToken() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL