Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AlbumMetadata ¶ added in v0.3.0
type AlbumMetadata struct {
Id int64 `json:"id,omitempty"`
}
type ArtistMetadata ¶ added in v0.3.0
type ArtistMetadata struct {
Id int64 `json:"id,omitempty"`
}
type AuthorMetadata ¶ added in v0.3.0
type AuthorMetadata struct {
Id int64 `json:"id,omitempty"`
}
type BookFileMetadata ¶ added in v0.3.0
type BookFileMetadata struct {
Id int64 `json:"id,omitempty"`
}
type BookMetadata ¶ added in v0.3.0
type BookMetadata struct {
Id int64 `json:"id,omitempty"`
}
type ConfigInstance ¶
type ConfigInstance struct {
Name string `json:"name"`
Type string `json:"type"` // "radarr", "sonarr", "lidarr", "readarr", "whisparr", or "sportarr"
URL string `json:"url"`
APIKey string `json:"api_key"`
Category string `json:"category"`
Enabled bool `json:"enabled"`
}
ConfigInstance represents an arrs instance from configuration
type ConfigManager ¶
type ConfigManager interface {
GetConfig() *config.Config
GetConfigGetter() config.ConfigGetter
UpdateConfig(config *config.Config) error
SaveConfig() error
}
ConfigManager interface defines methods needed for configuration management
type EpisodeFileMetadata ¶ added in v0.3.0
type EpisodeMetadata ¶ added in v0.3.0
type EpisodeMetadata struct {
Id int64 `json:"id,omitempty"`
}
type MovieFileMetadata ¶ added in v0.3.0
type MovieMetadata ¶ added in v0.3.0
type SeriesMetadata ¶ added in v0.3.0
type TrackFileMetadata ¶ added in v0.3.0
type TrackFileMetadata struct {
Id int64 `json:"id,omitempty"`
}
type WebhookMetadata ¶ added in v0.3.0
type WebhookMetadata struct {
EventType string `json:"eventType,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
Movie *MovieMetadata `json:"movie,omitempty"`
MovieFile *MovieFileMetadata `json:"movieFile,omitempty"`
Series *SeriesMetadata `json:"series,omitempty"`
EpisodeFile *EpisodeFileMetadata `json:"episodeFile,omitempty"`
Episodes []EpisodeMetadata `json:"episodes,omitempty"`
Artist *ArtistMetadata `json:"artist,omitempty"`
Album *AlbumMetadata `json:"album,omitempty"`
TrackFile *TrackFileMetadata `json:"trackFile,omitempty"`
Author *AuthorMetadata `json:"author,omitempty"`
Book *BookMetadata `json:"book,omitempty"`
BookFile *BookFileMetadata `json:"bookFile,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.