starrqueue

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

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."
View Source
const TrigStuckItems common.TriggerName = "Sending cached stuck items to website."

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) Run

func (a *Action) Run()

Run initializes the library.

func (*Action) Stop

func (a *Action) Stop()

Stop just frees up memory. The are no routines to stop.

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.

Jump to

Keyboard shortcuts

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