Documentation
¶
Overview ¶
Package jellyfin implements the Jellyfin streaming API client.
Index ¶
- type Client
- func (c *Client) CoverArtURL(coverArtID string) string
- func (c *Client) GetAlbum(id string) (streaming.Album, []streaming.Track, error)
- func (c *Client) GetAlbums(sortBy string, offset, count int) ([]streaming.Album, error)
- func (c *Client) GetArtists() ([]streaming.Artist, error)
- func (c *Client) Ping() error
- func (c *Client) Search(query string) (streaming.SearchResults, error)
- func (c *Client) StreamURL(trackID string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Jellyfin API client implementing streaming.Provider.
func NewWithHTTPClient ¶
NewWithHTTPClient creates a new Jellyfin client with a custom HTTP client.
func (*Client) CoverArtURL ¶
CoverArtURL returns a URL for fetching cover art. No HTTP request is made; Jellyfin serves images without auth.
func (*Client) GetArtists ¶
GetArtists returns all album artists.
func (*Client) Ping ¶
Ping tests the connection to the Jellyfin server. Does not require authentication.
Click to show internal directories.
Click to hide internal directories.