starrqueue

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TrigStuckItems       common.TriggerName = "Sending cached stuck items to website."
	TrigDownloadingItems common.TriggerName = "Sending cached downloading items to website."
)
View Source
const TrigLidarrQueue common.TriggerName = "Storing Lidarr instance %d queue."
View Source
const TrigRadarrQueue common.TriggerName = "Storing Radarr instance %d queue."
View Source
const TrigReadarrQueue common.TriggerName = "Storing Readarr instance %d queue."
View Source
const TrigSonarrQueue common.TriggerName = "Storing Sonarr instance %d queue."

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

Action contains the exported methods for this package.

func New

func New(config *common.Config) *Action

New configures the library.

func (*Action) Create added in v0.4.0

func (a *Action) Create()

Run initializes the library.

func (*Action) StoreLidarr

func (a *Action) StoreLidarr(event website.EventType, instance int)

StoreLidarr fetches and stores the Lidarr queue immediately for the specified instance. Does not send data to the website.

func (*Action) StoreRadarr

func (a *Action) StoreRadarr(event website.EventType, instance int)

StoreRadarr fetches and stores the Radarr queue immediately for the specified instance. Does not send data to the website.

func (*Action) StoreReadarr

func (a *Action) StoreReadarr(event website.EventType, instance int)

StoreReadarr fetches and stores the Readarr queue immediately for the specified instance. Does not send data to the website.

func (*Action) StoreSonarr

func (a *Action) StoreSonarr(event website.EventType, instance int)

StoreSonarr fetches and stores the Sonarr queue immediately for the specified instance. Does not send data to the website.

func (*Action) StuckItems

func (a *Action) StuckItems(event website.EventType)

StuckItems sends the stuck queues items for all apps. Does not fetch fresh data first, uses cache.

type QueuesPaylod added in v0.4.1

type QueuesPaylod struct {
	Lidarr  itemList `json:"lidarr"`
	Radarr  itemList `json:"radarr"`
	Readarr itemList `json:"readarr"`
	Sonarr  itemList `json:"sonarr"`
}

QueuesPaylod is what we send to the website.

Jump to

Keyboard shortcuts

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