Versions in this module Expand all Collapse all v0 v0.0.6 Apr 26, 2020 Changes in this version + type ClientOptions struct + Verbose bool v0.0.5 Apr 13, 2020 Changes in this version + type ExcludedMovie struct + ID int + MovieTitle string + MovieYear int + TmdbID int + type ExcludedMovies []*ExcludedMovie + type LookupService struct + func (l *LookupService) Imdb(IMDBID string) (*Movie, error) + func (l *LookupService) Plain(term string) (Movies, error) + func (l *LookupService) Tmdb(TMDBID int) (*Movie, error) type MovieService + Lookup *LookupService + func (m *MovieService) Excluded() (ExcludedMovies, error) v0.0.4 Apr 12, 2020 v0.0.3 Apr 11, 2020 Changes in this version + type DeleteMovieOptions struct + AddExclusion bool + DeleteFiles bool type MovieService + func (m *MovieService) Delete(movie *Movie, opts ...*DeleteMovieOptions) error v0.0.2 Apr 8, 2020 Changes in this version + type Command struct + Body struct{ ... } + ID int + Manual bool + Name string + Priority string + Queued time.Time + SendUpdatesToClient bool + StartedOn time.Time + State string + StateChangeTime time.Time + Status string + Trigger string + UpdateScheduledTask bool + type CommandService struct + func (c *CommandService) CutOffUnmetMoviesSearch(filter *Filter) *Command + func (c *CommandService) DownloadedMoviesScan(opts ...*DownloadedMoviesScanOptions) *Command + func (c *CommandService) MissingMoviesSearch(filter *Filter) *Command + func (c *CommandService) MoviesSearch(movieIDs ...[]int) *Command + func (c *CommandService) NetImportSync() *Command + func (c *CommandService) RefreshMovie(movieID ...int) *Command + func (c *CommandService) RenameFiles(files ...[]int) *Command + func (c *CommandService) RenameMovie(movieIDs ...[]int) *Command + func (c *CommandService) RescanMovie(movieID ...int) *Command + func (c *CommandService) RssSync() *Command + func (c *CommandService) Status(commandID string) *Command + func (c *CommandService) StatusAll() *Command + type Commands []Command + type Data struct + Age string + AgeHours string + AgeMinutes string + DownloadClient string + DownloadURL string + DroppedPath string + GUID string + ImportedPath string + Indexer string + IndexerFlags string + IndexerID string + NzbInfoURL string + Protocol string + PublishedDate time.Time + Reason string + ReleaseGroup string + Size string + TorrentInfoHash string + TvRageID string + TvdbID string + type Diskspace struct + FreeSpace int64 + Label string + Path string + TotalSpace int64 + type DiskspaceService struct + func (s *DiskspaceService) Get() (*Diskspaces, error) + type Diskspaces []Diskspace + type DownloadedMoviesScanOptions struct + DownloadClientID string + ImportMode ImportMode + Path string + type Filter int + const FilterAll + const FilterByMonitored + const FilterByNonMonitored + const FilterByStatusAndAnnounced + const FilterByStatusAndAvailable + const FilterByStatusAndInCinemas + const FilterByStatusAndReleased type HTTPClientInterface + Do func(req *http.Request) (*http.Response, error) + type History struct + Page int + PageSize int + Records []Record + SortDirection string + SortKey string + TotalRecords int + type HistoryService struct + func (s *HistoryService) Get() (*Records, error) + type Images struct + CoverType string + URL string + type ImportMode int + const Copy + const Move + func (i ImportMode) String() string + type Quality struct + ID int + Modifier string + Name string + Resolution int + Source string + type Ratings struct + Value float64 + Votes int + type Record struct + Data Data + Date time.Time + DownloadID string + EventType string + ID int + Movie Movie + MovieID int + Quality Quality + QualityCutoffNotMet bool + SourceTitle string + type Records = []Record + type Revision struct + IsRepack bool + Real int + Version int type Service + Command *CommandService + Diskspace *DiskspaceService + History *HistoryService v0.0.1 Apr 5, 2020 Changes in this version + type Error struct + Code int + Message string + func (e *Error) Error() string + type HTTPClientInterface interface + Get func(url string) (resp *http.Response, err error) + type Movie struct + Added time.Time + AlternativeTitles []struct{ ... } + CleanTitle string + Downloaded bool + FolderName string + Genres []string + HasFile bool + ID int + Images []struct{ ... } + ImdbID string + InCinemas time.Time + IsAvailable bool + LastInfoSync time.Time + MinimumAvailability string + Monitored bool + MovieFile struct{ ... } + Overview string + Path string + PhysicalRelease time.Time + ProfileID int + QualityProfileID int + Ratings struct{ ... } + Runtime int + SecondaryYearSourceID int + SizeOnDisk int64 + SortTitle string + Status string + Studio string + Tags []int + Title string + TitleSlug string + TmdbID int + Website string + Year int + YouTubeTrailerID string + type MovieService struct + func (m *MovieService) Get(movieID int) (*Movie, error) + func (m *MovieService) List() (*Movies, error) + func (m *MovieService) Upcoming(opts ...*UpcomingOptions) (*Movies, error) + type Movies []Movie + type Service struct + Movies *MovieService + SystemStatus *SystemStatusService + func New(radarrURL, apiKey string, client HTTPClientInterface) (*Service, error) + type SystemStatus struct + AppData string + Authentication string + Branch string + BuildTime time.Time + IsAdmin bool + IsDebug bool + IsLinux bool + IsMono bool + IsNetCore bool + IsOsx bool + IsProduction bool + IsUserInteractive bool + IsWindows bool + MigrationVersion int + OsName string + OsVersion string + RuntimeName string + RuntimeVersion string + SqliteVersion string + StartupPath string + URLBase string + Version string + type SystemStatusService struct + func (s *SystemStatusService) Get() (*SystemStatus, error) + type UpcomingOptions struct + End *time.Time + Start *time.Time