Documentation
¶
Index ¶
- type Manager
- func (m *Manager) ClearMoviesCache(instanceName string)
- func (m *Manager) ClearSeriesCache(instanceName string)
- func (m *Manager) GetEpisodeFiles(ctx context.Context, client *sonarr.Sonarr, instanceName string, ...) ([]*sonarr.EpisodeFile, error)
- func (m *Manager) GetMovies(ctx context.Context, client *radarr.Radarr, instanceName string) ([]*radarr.Movie, error)
- func (m *Manager) GetSeries(ctx context.Context, client *sonarr.Sonarr, instanceName string) ([]*sonarr.Series, error)
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
ClearMoviesCache clears the movies cache for a specific instance
func (*Manager) ClearSeriesCache ¶ added in v0.2.0
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
Click to show internal directories.
Click to hide internal directories.