plex

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID    int    `json:"id"`
	Thumb string `json:"thumb"`
	Title string `json:"title"`
}

type Director

type Director struct {
	ID     int    `json:"id"`
	Filter string `json:"filter"`
	Tag    string `json:"tag"`
	TagKey string `json:"tagKey"`
}

type GUID0

type GUID0 struct {
	ID string `json:"id"`
}

type Metadata

type Metadata struct {
	LibrarySectionType    string     `json:"librarySectionType"`
	RatingKey             string     `json:"ratingKey"`
	Key                   string     `json:"key"`
	ParentRatingKey       string     `json:"parentRatingKey"`
	GrandparentRatingKey  string     `json:"grandparentRatingKey"`
	GUID                  string     `json:"guid"`
	ParentGUID            string     `json:"parentGuid"`
	GrandparentGUID       string     `json:"grandparentGuid"`
	Type                  string     `json:"type"`
	Title                 string     `json:"title"`
	GrandparentKey        string     `json:"grandparentKey"`
	ParentKey             string     `json:"parentKey"`
	LibrarySectionTitle   string     `json:"librarySectionTitle"`
	LibrarySectionID      int        `json:"librarySectionID"`
	LibrarySectionKey     string     `json:"librarySectionKey"`
	GrandparentTitle      string     `json:"grandparentTitle"`
	ParentTitle           string     `json:"parentTitle"`
	OriginalTitle         string     `json:"originalTitle"`
	ContentRating         string     `json:"contentRating"`
	Summary               string     `json:"summary"`
	Index                 int        `json:"index"`
	ParentIndex           int        `json:"parentIndex"`
	AudienceRating        float64    `json:"audienceRating"`
	ViewOffset            int        `json:"viewOffset"`
	LastViewedAt          int        `json:"lastViewedAt"`
	Year                  int        `json:"year"`
	Thumb                 string     `json:"thumb"`
	Art                   string     `json:"art"`
	ParentThumb           string     `json:"parentThumb"`
	GrandparentThumb      string     `json:"grandparentThumb"`
	GrandparentArt        string     `json:"grandparentArt"`
	Duration              int        `json:"duration"`
	OriginallyAvailableAt string     `json:"originallyAvailableAt"`
	AddedAt               int        `json:"addedAt"`
	UpdatedAt             int        `json:"updatedAt"`
	AudienceRatingImage   string     `json:"audienceRatingImage"`
	GUID0                 []GUID0    `json:"Guid"`
	Rating                []Rating   `json:"Rating"`
	Director              []Director `json:"Director"`
	Writer                []Writer   `json:"Writer"`
	Role                  []Role     `json:"Role"`
}

type Player

type Player struct {
	Local         bool   `json:"local"`
	PublicAddress string `json:"publicAddress"`
	Title         string `json:"title"`
	UUID          string `json:"uuid"`
}

type Rating

type Rating struct {
	Image string  `json:"image"`
	Value float64 `json:"value"`
	Type  string  `json:"type"`
}

type Role

type Role struct {
	ID     int    `json:"id"`
	Filter string `json:"filter"`
	Tag    string `json:"tag"`
	TagKey string `json:"tagKey"`
	Role   string `json:"role"`
	Thumb  string `json:"thumb"`
}

type Server

type Server struct {
	Title string `json:"title"`
	UUID  string `json:"uuid"`
}

type Webhook

type Webhook struct {
	Event    string    `json:"event"`
	User     bool      `json:"user"`
	Owner    bool      `json:"owner"`
	Account  Account   `json:"Account"`
	Server   *Server   `json:"Server"`
	Player   *Player   `json:"Player"`
	Metadata *Metadata `json:"Metadata"`
}

type Writer

type Writer struct {
	ID     int    `json:"id"`
	Filter string `json:"filter"`
	Tag    string `json:"tag"`
	TagKey string `json:"tagKey"`
}

Jump to

Keyboard shortcuts

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