server

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Config   *config.Config
	PlexURLs plex_urls.PlexURLs
}

func GetServer

func GetServer(config *config.Config) Server

func (*Server) GetAlbumsForArtist

func (s *Server) GetAlbumsForArtist(artistID string) []responses.ResponseAlbumDirectory

func (*Server) GetArt added in v1.2.0

func (s *Server) GetArt(path string) string

func (*Server) GetLibraries

func (s *Server) GetLibraries() responses.LibraryMediaContainer

func (*Server) GetSongsForAlbum

func (s *Server) GetSongsForAlbum(albumID string) []responses.ResponseTrack

func (*Server) MakeURL

func (s *Server) MakeURL(part string) string

func (*Server) SearchAlbums

func (s *Server) SearchAlbums(albumName string) []responses.ResponseAlbumDirectory

func (*Server) SearchArtists

func (s *Server) SearchArtists(artistName string) []responses.ResponseArtistDirectory

Jump to

Keyboard shortcuts

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