qplex

package
v2.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlexGetter

type PlexGetter interface {
	SetAuthToken(string)
	GetLibraries(context.Context) ([]plex.Library, error)
	GetMovies(context.Context, string) ([]plex.Movie, error)
	GetShows(context.Context, string) ([]plex.Show, error)
}

type ViewCountEntry

type ViewCountEntry struct {
	Library string
	Title   string
	Views   int
}

func GetViews

func GetViews(ctx context.Context, c PlexGetter, tokens []string, reverse bool) ([]ViewCountEntry, error)

Jump to

Keyboard shortcuts

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