data

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager() *Manager

func (*Manager) ClearMoviesCache added in v0.2.0

func (m *Manager) ClearMoviesCache(instanceName string)

ClearMoviesCache clears the movies cache for a specific instance

func (*Manager) ClearSeriesCache added in v0.2.0

func (m *Manager) ClearSeriesCache(instanceName string)

ClearSeriesCache clears the series and episode files cache for a specific instance

func (*Manager) GetEpisodeFiles

func (m *Manager) GetEpisodeFiles(ctx context.Context, client *sonarr.Sonarr, instanceName string, seriesID int64) ([]*sonarr.EpisodeFile, error)

GetEpisodeFiles retrieves all episode files for a series from Sonarr, using a cache if available and valid

func (*Manager) GetMovies

func (m *Manager) GetMovies(ctx context.Context, client *radarr.Radarr, instanceName string) ([]*radarr.Movie, error)

GetMovies retrieves all movies from Radarr, using a cache if available and valid

func (*Manager) GetSeries

func (m *Manager) GetSeries(ctx context.Context, client *sonarr.Sonarr, instanceName string) ([]*sonarr.Series, error)

GetSeries retrieves all series from Sonarr, using a cache if available and valid

Jump to

Keyboard shortcuts

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