Versions in this module Expand all Collapse all v1 v1.57.0 Jan 6, 2025 v1.56.1 Dec 28, 2024 v1.56.0 Dec 26, 2024 Changes in this version + type AlternateTitle struct + SeasonNumber int + Title string + type BadRequestResponse struct + AttemptedValue string + ErrorCode string + ErrorMessage string + PropertyName string + Severity string + func (r *BadRequestResponse) String() string + type Client struct + Log *log.Logger + func New(config Config) *Client + func (c *Client) GetAllSeries(ctx context.Context) ([]Series, error) + func (c *Client) GetSeries(ctx context.Context, tvdbID int64) ([]Series, error) + func (c *Client) GetTags(ctx context.Context) ([]*arr.Tag, error) + func (c *Client) Push(ctx context.Context, release Release) ([]string, error) + func (c *Client) Test(ctx context.Context) (*SystemStatusResponse, error) + type ClientInterface interface + Push func(ctx context.Context, release Release) ([]string, error) + Test func(ctx context.Context) (*SystemStatusResponse, error) + type Config struct + APIKey string + BasicAuth bool + Hostname string + Log *log.Logger + Password string + Username string + type PushResponse struct + Approved bool + Rejected bool + Rejections []string + TempRejected bool + type Release struct + DownloadClient string + DownloadClientId int + DownloadProtocol string + DownloadUrl string + Indexer string + InfoUrl string + MagnetUrl string + Protocol string + PublishDate string + Size uint64 + Title string + type Season struct + Monitored bool + SeasonNumber int + Statistics *Statistics + type Series struct + Added time.Time + AirTime string + AlternateTitles []*AlternateTitle + Certification string + CleanTitle string + Ended bool + FirstAired time.Time + Genres []string + ID int64 + Images []*arr.Image + ImdbID string + LanguageProfileID int64 + Monitored bool + Network string + NextAiring time.Time + Overview string + Path string + PreviousAiring time.Time + QualityProfileID int64 + Ratings *arr.Ratings + RootFolderPath string + Runtime int + SeasonFolder bool + Seasons []*Season + SeriesType string + SortTitle string + Statistics *Statistics + Status string + Tags []int + Title string + TitleSlug string + TvMazeID int64 + TvRageID int64 + TvdbID int64 + UseSceneNumbering bool + Year int + type Statistics struct + EpisodeCount int + EpisodeFileCount int + PercentOfEpisodes float64 + PreviousAiring time.Time + SeasonCount int + SizeOnDisk int64 + TotalEpisodeCount int + type SystemStatusResponse struct + Version string