Documentation
¶
Index ¶
- type Accepts
- type AdvancedSubtitles
- type AiringsType
- type BoolInt
- type Channel
- func (c *Channel) GetCallSign() *string
- func (c *Channel) GetChannelVcn() *string
- func (c *Channel) GetHd() *bool
- func (c *Channel) GetIdentifier() *string
- func (c *Channel) GetKey() *string
- func (c *Channel) GetLanguage() *string
- func (c *Channel) GetThumb() *string
- func (c *Channel) GetTitle() *string
- type ChannelMapping
- type Composite
- func (c *Composite) GetBackgroundColor() *string
- func (c *Composite) GetBorder() *int64
- func (c *Composite) GetCols() *int64
- func (c *Composite) GetCrop() *Crop
- func (c *Composite) GetFormat() *Format
- func (c *Composite) GetHeight() *int64
- func (c *Composite) GetMedia() *CompositeMedia
- func (c *Composite) GetRepeat() *bool
- func (c *Composite) GetRows() *int64
- func (c *Composite) GetType() *int64
- func (c *Composite) GetWidth() *int64
- type CompositeMedia
- type Crop
- type Decision
- type Default
- type DefaultDirection
- type DefaultType
- type Device
- func (d *Device) GetChannelMapping() []ChannelMapping
- func (d *Device) GetKey() *string
- func (d *Device) GetLastSeenAt() *int64
- func (d *Device) GetMake() *string
- func (d *Device) GetModel() *string
- func (d *Device) GetModelNumber() *string
- func (d *Device) GetProtocol() *string
- func (d *Device) GetSources() *string
- func (d *Device) GetState() *string
- func (d *Device) GetStatus() *string
- func (d *Device) GetTuners() *string
- func (d *Device) GetURI() *string
- func (d *Device) GetUUID() *string
- type Directory
- func (d *Directory) GetAdditionalProperties() map[string]any
- func (d *Directory) GetArt() *string
- func (d *Directory) GetContent() *bool
- func (d *Directory) GetFilter() *string
- func (d *Directory) GetHasPrefs() *bool
- func (d *Directory) GetHasStoreServices() *bool
- func (d *Directory) GetHubKey() *string
- func (d *Directory) GetIdentifier() *string
- func (d *Directory) GetKey() *string
- func (d *Directory) GetLastAccessedAt() *int64
- func (d *Directory) GetPivot() []Pivot
- func (d *Directory) GetShare() *int64
- func (d *Directory) GetThumb() *string
- func (d *Directory) GetTitle() *string
- func (d *Directory) GetTitleBar() *string
- func (d *Directory) GetType() *string
- func (d Directory) MarshalJSON() ([]byte, error)
- func (d *Directory) UnmarshalJSON(data []byte) error
- type Dvr
- type DvrRequestHandlerSlashGetResponses200
- type DvrRequestHandlerSlashGetResponses200MediaContainer
- type DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer
- func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetIdentifier() *string
- func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetOffset() *int64
- func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetSize() *int64
- func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetStatus() *int64
- func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetTotalSize() *int64
- type Filter
- func (f *Filter) GetAdditionalProperties() map[string]any
- func (f *Filter) GetArt() *string
- func (f *Filter) GetContent() *bool
- func (f *Filter) GetFilter() *string
- func (f *Filter) GetFilterType() *string
- func (f *Filter) GetHasPrefs() *bool
- func (f *Filter) GetHasStoreServices() *bool
- func (f *Filter) GetHubKey() *string
- func (f *Filter) GetIdentifier() *string
- func (f *Filter) GetKey() *string
- func (f *Filter) GetLastAccessedAt() *int64
- func (f *Filter) GetPivot() []FilterPivot
- func (f *Filter) GetShare() *int64
- func (f *Filter) GetThumb() *string
- func (f *Filter) GetTitle() *string
- func (f *Filter) GetTitleBar() *string
- func (f *Filter) GetType() *string
- func (f Filter) MarshalJSON() ([]byte, error)
- func (f *Filter) UnmarshalJSON(data []byte) error
- type FilterPivot
- type Format
- type GetResponses200
- type GetResponses200Hub
- func (g *GetResponses200Hub) GetHomeVisibility() *HomeVisibility
- func (g *GetResponses200Hub) GetIdentifier() *string
- func (g *GetResponses200Hub) GetPromotedToOwnHome() *bool
- func (g *GetResponses200Hub) GetPromotedToRecommended() *bool
- func (g *GetResponses200Hub) GetPromotedToSharedHome() *bool
- func (g *GetResponses200Hub) GetRecommendationsVisibility() *RecommendationsVisibility
- func (g *GetResponses200Hub) GetTitle() *string
- type GetResponses200MediaContainer
- func (g *GetResponses200MediaContainer) GetHub() []GetResponses200Hub
- func (g *GetResponses200MediaContainer) GetIdentifier() *string
- func (g *GetResponses200MediaContainer) GetOffset() *int64
- func (g *GetResponses200MediaContainer) GetSize() *int64
- func (g *GetResponses200MediaContainer) GetTotalSize() *int64
- type HistoryAllGetResponses200
- type HistoryAllGetResponses200MediaContainer
- func (h *HistoryAllGetResponses200MediaContainer) GetIdentifier() *string
- func (h *HistoryAllGetResponses200MediaContainer) GetMetadata() []HistoryAllGetResponses200Metadata
- func (h *HistoryAllGetResponses200MediaContainer) GetOffset() *int64
- func (h *HistoryAllGetResponses200MediaContainer) GetSize() *int64
- func (h *HistoryAllGetResponses200MediaContainer) GetTotalSize() *int64
- type HistoryAllGetResponses200Metadata
- func (h *HistoryAllGetResponses200Metadata) GetAccountID() *int64
- func (h *HistoryAllGetResponses200Metadata) GetDeviceID() *int64
- func (h *HistoryAllGetResponses200Metadata) GetHistoryKey() *string
- func (h *HistoryAllGetResponses200Metadata) GetKey() *string
- func (h *HistoryAllGetResponses200Metadata) GetLibrarySectionID() *string
- func (h *HistoryAllGetResponses200Metadata) GetOriginallyAvailableAt() *string
- func (h *HistoryAllGetResponses200Metadata) GetRatingKey() *string
- func (h *HistoryAllGetResponses200Metadata) GetThumb() *string
- func (h *HistoryAllGetResponses200Metadata) GetTitle() *string
- func (h *HistoryAllGetResponses200Metadata) GetType() *string
- func (h *HistoryAllGetResponses200Metadata) GetViewedAt() *int64
- type HomeVisibility
- type Hub
- func (h *Hub) GetAdditionalProperties() map[string]any
- func (h *Hub) GetContext() *string
- func (h *Hub) GetHubIdentifier() *string
- func (h *Hub) GetHubKey() *string
- func (h *Hub) GetKey() *string
- func (h *Hub) GetMetadata() []Metadata
- func (h *Hub) GetMore() *bool
- func (h *Hub) GetPromoted() *bool
- func (h *Hub) GetRandom() *bool
- func (h *Hub) GetSize() *int64
- func (h *Hub) GetStyle() *string
- func (h *Hub) GetSubtype() *string
- func (h *Hub) GetTitle() *string
- func (h *Hub) GetTotalSize() *int64
- func (h *Hub) GetType() *string
- func (h Hub) MarshalJSON() ([]byte, error)
- func (h *Hub) UnmarshalJSON(data []byte) error
- type Image
- type ImageType
- type Items
- func (i *Items) GetAbsoluteIndex() *int64
- func (i *Items) GetAddedAt() *int64
- func (i *Items) GetAdditionalProperties() map[string]any
- func (i *Items) GetArt() any
- func (i *Items) GetAudienceRating() *float64
- func (i *Items) GetAudienceRatingImage() any
- func (i *Items) GetAutotag() []Tag
- func (i *Items) GetBanner() any
- func (i *Items) GetChapterSource() any
- func (i *Items) GetComposite() any
- func (i *Items) GetContentRating() any
- func (i *Items) GetCountry() []Tag
- func (i *Items) GetDirector() []Tag
- func (i *Items) GetDuration() *int64
- func (i *Items) GetFilter() []Filter
- func (i *Items) GetGUID() []Tag
- func (i *Items) GetGenre() []Tag
- func (i *Items) GetGrandparentArt() *string
- func (i *Items) GetGrandparentHero() *string
- func (i *Items) GetGrandparentKey() *string
- func (i *Items) GetGrandparentRatingKey() *string
- func (i *Items) GetGrandparentTheme() *string
- func (i *Items) GetGrandparentThumb() *string
- func (i *Items) GetGrandparentTitle() *string
- func (i *Items) GetHero() any
- func (i *Items) GetImage() []Image
- func (i *Items) GetIndex() *int64
- func (i *Items) GetKey() any
- func (i *Items) GetLastViewedAt() *int64
- func (i *Items) GetLeafCount() *int64
- func (i *Items) GetMedia() []Media
- func (i *Items) GetMetadataItem() []Items
- func (i *Items) GetOriginalTitle() any
- func (i *Items) GetOriginallyAvailableAt() any
- func (i *Items) GetParentHero() *string
- func (i *Items) GetParentIndex() *int64
- func (i *Items) GetParentKey() *string
- func (i *Items) GetParentRatingKey() *string
- func (i *Items) GetParentThumb() *string
- func (i *Items) GetParentTitle() *string
- func (i *Items) GetPrimaryExtraKey() any
- func (i *Items) GetPrompt() *string
- func (i *Items) GetRating() *float64
- func (i *Items) GetRatingArray() []Tag
- func (i *Items) GetRatingCount() *int64
- func (i *Items) GetRatingImage() any
- func (i *Items) GetRatingKey() any
- func (i *Items) GetRole() []Tag
- func (i *Items) GetSearch() *bool
- func (i *Items) GetSecondary() *bool
- func (i *Items) GetSkipChildren() *bool
- func (i *Items) GetSkipParent() *bool
- func (i *Items) GetSort() []Sort
- func (i *Items) GetStudio() any
- func (i *Items) GetSubtype() any
- func (i *Items) GetSummary() any
- func (i *Items) GetTagline() any
- func (i *Items) GetTheme() any
- func (i *Items) GetThumb() any
- func (i *Items) GetTitle() any
- func (i *Items) GetTitleSort() any
- func (i *Items) GetType() any
- func (i *Items) GetUpdatedAt() *int64
- func (i *Items) GetUserRating() *float64
- func (i *Items) GetViewCount() *int64
- func (i *Items) GetViewOffset() *int64
- func (i *Items) GetViewedLeafCount() *int64
- func (i *Items) GetWriter() []Tag
- func (i *Items) GetYear() *int64
- func (i Items) MarshalJSON() ([]byte, error)
- func (i *Items) UnmarshalJSON(data []byte) error
- type LibrarySection
- func (l *LibrarySection) GetAgent() *string
- func (l *LibrarySection) GetAllowSync() *bool
- func (l *LibrarySection) GetArt() *string
- func (l *LibrarySection) GetComposite() *string
- func (l *LibrarySection) GetContent() *bool
- func (l *LibrarySection) GetContentChangedAt() *int64
- func (l *LibrarySection) GetCreatedAt() *int64
- func (l *LibrarySection) GetDirectory() *bool
- func (l *LibrarySection) GetFilters() *bool
- func (l *LibrarySection) GetHidden() *bool
- func (l *LibrarySection) GetKey() *string
- func (l *LibrarySection) GetLanguage() *string
- func (l *LibrarySection) GetLocation() []LibrarySectionLocation
- func (l *LibrarySection) GetRefreshing() *bool
- func (l *LibrarySection) GetScannedAt() *int64
- func (l *LibrarySection) GetScanner() *string
- func (l *LibrarySection) GetThumb() *string
- func (l *LibrarySection) GetTitle() *string
- func (l *LibrarySection) GetType() *string
- func (l *LibrarySection) GetUpdatedAt() *int64
- type LibrarySectionLocation
- type Lineup
- type LineupType
- type Location
- type Media
- func (m *Media) GetAdditionalProperties() map[string]any
- func (m *Media) GetAspectRatio() *float64
- func (m *Media) GetAudioChannels() *int64
- func (m *Media) GetAudioCodec() any
- func (m *Media) GetAudioProfile() any
- func (m *Media) GetBitrate() *int64
- func (m *Media) GetContainer() any
- func (m *Media) GetDuration() *int64
- func (m *Media) GetHas64bitOffsets() *bool
- func (m *Media) GetHasVoiceActivity() *bool
- func (m *Media) GetHeight() *int64
- func (m *Media) GetID() *int64
- func (m *Media) GetOptimizedForStreaming() *bool
- func (m *Media) GetPart() []Part
- func (m *Media) GetVideoCodec() any
- func (m *Media) GetVideoFrameRate() any
- func (m *Media) GetVideoProfile() any
- func (m *Media) GetVideoResolution() any
- func (m *Media) GetWidth() *int64
- func (m Media) MarshalJSON() ([]byte, error)
- func (m *Media) UnmarshalJSON(data []byte) error
- type MediaContainer
- type MediaContainerWithArtwork
- type MediaContainerWithArtworkMediaContainer
- func (m *MediaContainerWithArtworkMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithArtworkMediaContainer) GetMetadata() []MediaContainerWithArtworkMetadata
- func (m *MediaContainerWithArtworkMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithArtworkMediaContainer) GetSize() *int64
- func (m *MediaContainerWithArtworkMediaContainer) GetTotalSize() *int64
- type MediaContainerWithArtworkMetadata
- func (m *MediaContainerWithArtworkMetadata) GetAdditionalProperties() map[string]any
- func (m *MediaContainerWithArtworkMetadata) GetKey() *string
- func (m *MediaContainerWithArtworkMetadata) GetTitle() *string
- func (m *MediaContainerWithArtworkMetadata) GetType() *MediaContainerWithArtworkType
- func (m MediaContainerWithArtworkMetadata) MarshalJSON() ([]byte, error)
- func (m *MediaContainerWithArtworkMetadata) UnmarshalJSON(data []byte) error
- type MediaContainerWithArtworkType
- type MediaContainerWithDecision
- type MediaContainerWithDecisionDecision
- type MediaContainerWithDecisionLocation
- type MediaContainerWithDecisionMedia
- func (m *MediaContainerWithDecisionMedia) GetAbr() *bool
- func (m *MediaContainerWithDecisionMedia) GetAdditionalProperties() map[string]any
- func (m *MediaContainerWithDecisionMedia) GetAspectRatio() *float64
- func (m *MediaContainerWithDecisionMedia) GetAudioChannels() *int64
- func (m *MediaContainerWithDecisionMedia) GetAudioCodec() any
- func (m *MediaContainerWithDecisionMedia) GetAudioProfile() any
- func (m *MediaContainerWithDecisionMedia) GetBitrate() *int64
- func (m *MediaContainerWithDecisionMedia) GetContainer() any
- func (m *MediaContainerWithDecisionMedia) GetDuration() *int64
- func (m *MediaContainerWithDecisionMedia) GetHas64bitOffsets() *bool
- func (m *MediaContainerWithDecisionMedia) GetHasVoiceActivity() *bool
- func (m *MediaContainerWithDecisionMedia) GetHeight() *int64
- func (m *MediaContainerWithDecisionMedia) GetID() *int64
- func (m *MediaContainerWithDecisionMedia) GetOptimizedForStreaming() *bool
- func (m *MediaContainerWithDecisionMedia) GetPart() []MediaContainerWithDecisionPart
- func (m *MediaContainerWithDecisionMedia) GetResourceSession() *string
- func (m *MediaContainerWithDecisionMedia) GetSelected() *bool
- func (m *MediaContainerWithDecisionMedia) GetVideoCodec() any
- func (m *MediaContainerWithDecisionMedia) GetVideoFrameRate() any
- func (m *MediaContainerWithDecisionMedia) GetVideoProfile() any
- func (m *MediaContainerWithDecisionMedia) GetVideoResolution() any
- func (m *MediaContainerWithDecisionMedia) GetWidth() *int64
- func (m MediaContainerWithDecisionMedia) MarshalJSON() ([]byte, error)
- func (m *MediaContainerWithDecisionMedia) UnmarshalJSON(data []byte) error
- type MediaContainerWithDecisionMediaContainer
- func (m *MediaContainerWithDecisionMediaContainer) GetAvailableBandwidth() *int64
- func (m *MediaContainerWithDecisionMediaContainer) GetDirectPlayDecisionCode() *int64
- func (m *MediaContainerWithDecisionMediaContainer) GetDirectPlayDecisionText() *string
- func (m *MediaContainerWithDecisionMediaContainer) GetGeneralDecisionCode() *int64
- func (m *MediaContainerWithDecisionMediaContainer) GetGeneralDecisionText() *string
- func (m *MediaContainerWithDecisionMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithDecisionMediaContainer) GetMdeDecisionCode() *int64
- func (m *MediaContainerWithDecisionMediaContainer) GetMdeDecisionText() *string
- func (m *MediaContainerWithDecisionMediaContainer) GetMetadata() []MediaContainerWithDecisionMetadata
- func (m *MediaContainerWithDecisionMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithDecisionMediaContainer) GetSize() *int64
- func (m *MediaContainerWithDecisionMediaContainer) GetTotalSize() *int64
- func (m *MediaContainerWithDecisionMediaContainer) GetTranscodeDecisionCode() *int64
- func (m *MediaContainerWithDecisionMediaContainer) GetTranscodeDecisionText() *string
- type MediaContainerWithDecisionMetadata
- func (m *MediaContainerWithDecisionMetadata) GetAbsoluteIndex() *int64
- func (m *MediaContainerWithDecisionMetadata) GetAddedAt() *int64
- func (m *MediaContainerWithDecisionMetadata) GetAdditionalProperties() map[string]any
- func (m *MediaContainerWithDecisionMetadata) GetArt() any
- func (m *MediaContainerWithDecisionMetadata) GetAudienceRating() *float64
- func (m *MediaContainerWithDecisionMetadata) GetAudienceRatingImage() any
- func (m *MediaContainerWithDecisionMetadata) GetAutotag() []Tag
- func (m *MediaContainerWithDecisionMetadata) GetBanner() any
- func (m *MediaContainerWithDecisionMetadata) GetChapterSource() any
- func (m *MediaContainerWithDecisionMetadata) GetComposite() any
- func (m *MediaContainerWithDecisionMetadata) GetContentRating() any
- func (m *MediaContainerWithDecisionMetadata) GetCountry() []Tag
- func (m *MediaContainerWithDecisionMetadata) GetDirector() []Tag
- func (m *MediaContainerWithDecisionMetadata) GetDuration() *int64
- func (m *MediaContainerWithDecisionMetadata) GetFilter() []Filter
- func (m *MediaContainerWithDecisionMetadata) GetGUID() []Tag
- func (m *MediaContainerWithDecisionMetadata) GetGenre() []Tag
- func (m *MediaContainerWithDecisionMetadata) GetGrandparentArt() *string
- func (m *MediaContainerWithDecisionMetadata) GetGrandparentHero() *string
- func (m *MediaContainerWithDecisionMetadata) GetGrandparentKey() *string
- func (m *MediaContainerWithDecisionMetadata) GetGrandparentRatingKey() *string
- func (m *MediaContainerWithDecisionMetadata) GetGrandparentTheme() *string
- func (m *MediaContainerWithDecisionMetadata) GetGrandparentThumb() *string
- func (m *MediaContainerWithDecisionMetadata) GetGrandparentTitle() *string
- func (m *MediaContainerWithDecisionMetadata) GetHero() any
- func (m *MediaContainerWithDecisionMetadata) GetImage() []Image
- func (m *MediaContainerWithDecisionMetadata) GetIndex() *int64
- func (m *MediaContainerWithDecisionMetadata) GetKey() any
- func (m *MediaContainerWithDecisionMetadata) GetLastViewedAt() *int64
- func (m *MediaContainerWithDecisionMetadata) GetLeafCount() *int64
- func (m *MediaContainerWithDecisionMetadata) GetMedia() []MediaContainerWithDecisionMedia
- func (m *MediaContainerWithDecisionMetadata) GetOriginalTitle() any
- func (m *MediaContainerWithDecisionMetadata) GetOriginallyAvailableAt() any
- func (m *MediaContainerWithDecisionMetadata) GetParentHero() *string
- func (m *MediaContainerWithDecisionMetadata) GetParentIndex() *int64
- func (m *MediaContainerWithDecisionMetadata) GetParentKey() *string
- func (m *MediaContainerWithDecisionMetadata) GetParentRatingKey() *string
- func (m *MediaContainerWithDecisionMetadata) GetParentThumb() *string
- func (m *MediaContainerWithDecisionMetadata) GetParentTitle() *string
- func (m *MediaContainerWithDecisionMetadata) GetPrimaryExtraKey() any
- func (m *MediaContainerWithDecisionMetadata) GetPrompt() *string
- func (m *MediaContainerWithDecisionMetadata) GetRating() *float64
- func (m *MediaContainerWithDecisionMetadata) GetRatingArray() []Tag
- func (m *MediaContainerWithDecisionMetadata) GetRatingCount() *int64
- func (m *MediaContainerWithDecisionMetadata) GetRatingImage() any
- func (m *MediaContainerWithDecisionMetadata) GetRatingKey() any
- func (m *MediaContainerWithDecisionMetadata) GetRole() []Tag
- func (m *MediaContainerWithDecisionMetadata) GetSearch() *bool
- func (m *MediaContainerWithDecisionMetadata) GetSecondary() *bool
- func (m *MediaContainerWithDecisionMetadata) GetSkipChildren() *bool
- func (m *MediaContainerWithDecisionMetadata) GetSkipParent() *bool
- func (m *MediaContainerWithDecisionMetadata) GetSort() []Sort
- func (m *MediaContainerWithDecisionMetadata) GetStudio() any
- func (m *MediaContainerWithDecisionMetadata) GetSubtype() any
- func (m *MediaContainerWithDecisionMetadata) GetSummary() any
- func (m *MediaContainerWithDecisionMetadata) GetTagline() any
- func (m *MediaContainerWithDecisionMetadata) GetTheme() any
- func (m *MediaContainerWithDecisionMetadata) GetThumb() any
- func (m *MediaContainerWithDecisionMetadata) GetTitle() any
- func (m *MediaContainerWithDecisionMetadata) GetTitleSort() any
- func (m *MediaContainerWithDecisionMetadata) GetType() any
- func (m *MediaContainerWithDecisionMetadata) GetUpdatedAt() *int64
- func (m *MediaContainerWithDecisionMetadata) GetUserRating() *float64
- func (m *MediaContainerWithDecisionMetadata) GetViewCount() *int64
- func (m *MediaContainerWithDecisionMetadata) GetViewOffset() *int64
- func (m *MediaContainerWithDecisionMetadata) GetViewedLeafCount() *int64
- func (m *MediaContainerWithDecisionMetadata) GetWriter() []Tag
- func (m *MediaContainerWithDecisionMetadata) GetYear() *int64
- func (m MediaContainerWithDecisionMetadata) MarshalJSON() ([]byte, error)
- func (m *MediaContainerWithDecisionMetadata) UnmarshalJSON(data []byte) error
- type MediaContainerWithDecisionPart
- func (m *MediaContainerWithDecisionPart) GetAdditionalProperties() map[string]any
- func (m *MediaContainerWithDecisionPart) GetAudioProfile() any
- func (m *MediaContainerWithDecisionPart) GetContainer() any
- func (m *MediaContainerWithDecisionPart) GetDecision() *Decision
- func (m *MediaContainerWithDecisionPart) GetDuration() *int64
- func (m *MediaContainerWithDecisionPart) GetFile() any
- func (m *MediaContainerWithDecisionPart) GetHas64bitOffsets() *bool
- func (m *MediaContainerWithDecisionPart) GetID() *int64
- func (m *MediaContainerWithDecisionPart) GetKey() any
- func (m *MediaContainerWithDecisionPart) GetOptimizedForStreaming() *bool
- func (m *MediaContainerWithDecisionPart) GetSelected() *bool
- func (m *MediaContainerWithDecisionPart) GetSize() *int64
- func (m *MediaContainerWithDecisionPart) GetStream() []MediaContainerWithDecisionStream
- func (m *MediaContainerWithDecisionPart) GetVideoProfile() any
- func (m MediaContainerWithDecisionPart) MarshalJSON() ([]byte, error)
- func (m *MediaContainerWithDecisionPart) UnmarshalJSON(data []byte) error
- type MediaContainerWithDecisionStream
- func (m *MediaContainerWithDecisionStream) GetAdditionalProperties() map[string]any
- func (m *MediaContainerWithDecisionStream) GetAudioChannelLayout() any
- func (m *MediaContainerWithDecisionStream) GetBitDepth() *int64
- func (m *MediaContainerWithDecisionStream) GetBitrate() *int64
- func (m *MediaContainerWithDecisionStream) GetCanAutoSync() *bool
- func (m *MediaContainerWithDecisionStream) GetChromaLocation() any
- func (m *MediaContainerWithDecisionStream) GetChromaSubsampling() any
- func (m *MediaContainerWithDecisionStream) GetCodec() any
- func (m *MediaContainerWithDecisionStream) GetColorPrimaries() any
- func (m *MediaContainerWithDecisionStream) GetColorRange() any
- func (m *MediaContainerWithDecisionStream) GetColorSpace() any
- func (m *MediaContainerWithDecisionStream) GetColorTrc() any
- func (m *MediaContainerWithDecisionStream) GetDecision() *MediaContainerWithDecisionDecision
- func (m *MediaContainerWithDecisionStream) GetDefault() *bool
- func (m *MediaContainerWithDecisionStream) GetDisplayTitle() any
- func (m *MediaContainerWithDecisionStream) GetFrameRate() *float64
- func (m *MediaContainerWithDecisionStream) GetHasScalingMatrix() any
- func (m *MediaContainerWithDecisionStream) GetHeight() *int64
- func (m *MediaContainerWithDecisionStream) GetID() *int64
- func (m *MediaContainerWithDecisionStream) GetIndex() *int64
- func (m *MediaContainerWithDecisionStream) GetKey() any
- func (m *MediaContainerWithDecisionStream) GetLanguage() any
- func (m *MediaContainerWithDecisionStream) GetLanguageCode() any
- func (m *MediaContainerWithDecisionStream) GetLevel() *int64
- func (m *MediaContainerWithDecisionStream) GetLocation() *MediaContainerWithDecisionLocation
- func (m *MediaContainerWithDecisionStream) GetProfile() any
- func (m *MediaContainerWithDecisionStream) GetRefFrames() *int64
- func (m *MediaContainerWithDecisionStream) GetSamplingRate() *int64
- func (m *MediaContainerWithDecisionStream) GetSelected() *bool
- func (m *MediaContainerWithDecisionStream) GetStreamIdentifier() *int64
- func (m *MediaContainerWithDecisionStream) GetStreamType() *int64
- func (m *MediaContainerWithDecisionStream) GetWidth() *int64
- func (m MediaContainerWithDecisionStream) MarshalJSON() ([]byte, error)
- func (m *MediaContainerWithDecisionStream) UnmarshalJSON(data []byte) error
- type MediaContainerWithDevice
- type MediaContainerWithDeviceDevice
- func (m *MediaContainerWithDeviceDevice) GetChannelMapping() []ChannelMapping
- func (m *MediaContainerWithDeviceDevice) GetKey() *string
- func (m *MediaContainerWithDeviceDevice) GetLastSeenAt() *int64
- func (m *MediaContainerWithDeviceDevice) GetMake() *string
- func (m *MediaContainerWithDeviceDevice) GetModel() *string
- func (m *MediaContainerWithDeviceDevice) GetModelNumber() *string
- func (m *MediaContainerWithDeviceDevice) GetProtocol() *string
- func (m *MediaContainerWithDeviceDevice) GetSources() *string
- func (m *MediaContainerWithDeviceDevice) GetState() *string
- func (m *MediaContainerWithDeviceDevice) GetStatus() *string
- func (m *MediaContainerWithDeviceDevice) GetTuners() *string
- func (m *MediaContainerWithDeviceDevice) GetURI() *string
- func (m *MediaContainerWithDeviceDevice) GetUUID() *string
- type MediaContainerWithDeviceMediaContainer
- func (m *MediaContainerWithDeviceMediaContainer) GetDevice() []MediaContainerWithDeviceDevice
- func (m *MediaContainerWithDeviceMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithDeviceMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithDeviceMediaContainer) GetSize() *int64
- func (m *MediaContainerWithDeviceMediaContainer) GetTotalSize() *int64
- type MediaContainerWithDirectory
- type MediaContainerWithDirectoryMediaContainer
- func (m *MediaContainerWithDirectoryMediaContainer) GetDirectory() []Directory
- func (m *MediaContainerWithDirectoryMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithDirectoryMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithDirectoryMediaContainer) GetSize() *int64
- func (m *MediaContainerWithDirectoryMediaContainer) GetTotalSize() *int64
- type MediaContainerWithHubs
- type MediaContainerWithHubsMediaContainer
- func (m *MediaContainerWithHubsMediaContainer) GetHub() []Hub
- func (m *MediaContainerWithHubsMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithHubsMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithHubsMediaContainer) GetSize() *int64
- func (m *MediaContainerWithHubsMediaContainer) GetTotalSize() *int64
- type MediaContainerWithLineup
- type MediaContainerWithLineupMediaContainer
- func (m *MediaContainerWithLineupMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithLineupMediaContainer) GetLineup() []Lineup
- func (m *MediaContainerWithLineupMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithLineupMediaContainer) GetSize() *int64
- func (m *MediaContainerWithLineupMediaContainer) GetTotalSize() *int64
- func (m *MediaContainerWithLineupMediaContainer) GetUUID() *string
- type MediaContainerWithMetadata
- type MediaContainerWithMetadataMediaContainer
- func (m *MediaContainerWithMetadataMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithMetadataMediaContainer) GetMetadata() []Metadata
- func (m *MediaContainerWithMetadataMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithMetadataMediaContainer) GetSize() *int64
- func (m *MediaContainerWithMetadataMediaContainer) GetTotalSize() *int64
- type MediaContainerWithNestedMetadata
- type MediaContainerWithNestedMetadataMediaContainer
- func (m *MediaContainerWithNestedMetadataMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithNestedMetadataMediaContainer) GetMetadataItem() []MetadataItem
- func (m *MediaContainerWithNestedMetadataMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithNestedMetadataMediaContainer) GetSize() *int64
- func (m *MediaContainerWithNestedMetadataMediaContainer) GetTotalSize() *int64
- type MediaContainerWithPlaylistMetadata
- type MediaContainerWithPlaylistMetadataMediaContainer
- func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetMetadata() []MediaContainerWithPlaylistMetadataMetadata
- func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetSize() *int64
- func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetTotalSize() *int64
- type MediaContainerWithPlaylistMetadataMetadata
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetAbsoluteIndex() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetAddedAt() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetAdditionalProperties() map[string]any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetArt() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetAudienceRating() *float64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetAudienceRatingImage() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetAutotag() []Tag
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetBanner() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetChapterSource() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetComposite() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetContentRating() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetCountry() []Tag
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetDirector() []Tag
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetDuration() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetFilter() []Filter
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGUID() []Tag
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGenre() []Tag
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentArt() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentHero() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentKey() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentRatingKey() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentTheme() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentThumb() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentTitle() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetHero() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetImage() []Image
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetIndex() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetKey() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetLastViewedAt() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetLeafCount() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetMedia() []Media
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetOriginalTitle() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetOriginallyAvailableAt() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentHero() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentIndex() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentKey() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentRatingKey() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentThumb() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentTitle() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetPlaylistType() *PlaylistType
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetPrimaryExtraKey() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetPrompt() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetRating() *float64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetRatingArray() []Tag
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetRatingCount() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetRatingImage() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetRatingKey() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetReadOnly() *bool
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetRole() []Tag
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSearch() *bool
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSecondary() *bool
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSkipChildren() *bool
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSkipParent() *bool
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSmart() *bool
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSort() []Sort
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSpecialPlaylistType() *string
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetStudio() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSubtype() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetSummary() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetTagline() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetTheme() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetThumb() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetTitle() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetTitleSort() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetType() any
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetUpdatedAt() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetUserRating() *float64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetViewCount() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetViewOffset() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetViewedLeafCount() *int64
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetWriter() []Tag
- func (m *MediaContainerWithPlaylistMetadataMetadata) GetYear() *int64
- func (m MediaContainerWithPlaylistMetadataMetadata) MarshalJSON() ([]byte, error)
- func (m *MediaContainerWithPlaylistMetadataMetadata) UnmarshalJSON(data []byte) error
- type MediaContainerWithSettings
- type MediaContainerWithSettingsMediaContainer
- func (m *MediaContainerWithSettingsMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithSettingsMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithSettingsMediaContainer) GetSetting() []Setting
- func (m *MediaContainerWithSettingsMediaContainer) GetSize() *int64
- func (m *MediaContainerWithSettingsMediaContainer) GetTotalSize() *int64
- type MediaContainerWithSubscription
- type MediaContainerWithSubscriptionMediaContainer
- func (m *MediaContainerWithSubscriptionMediaContainer) GetIdentifier() *string
- func (m *MediaContainerWithSubscriptionMediaContainer) GetMediaSubscription() []MediaSubscription
- func (m *MediaContainerWithSubscriptionMediaContainer) GetOffset() *int64
- func (m *MediaContainerWithSubscriptionMediaContainer) GetSize() *int64
- func (m *MediaContainerWithSubscriptionMediaContainer) GetTotalSize() *int64
- type MediaGrabOperation
- func (m *MediaGrabOperation) GetCurrentSize() *int64
- func (m *MediaGrabOperation) GetGrabberIdentifier() *string
- func (m *MediaGrabOperation) GetGrabberProtocol() *string
- func (m *MediaGrabOperation) GetID() *string
- func (m *MediaGrabOperation) GetKey() *string
- func (m *MediaGrabOperation) GetMediaIndex() *int64
- func (m *MediaGrabOperation) GetMediaSubscriptionID() *int64
- func (m *MediaGrabOperation) GetMetadata() *Metadata
- func (m *MediaGrabOperation) GetPercent() *float64
- func (m *MediaGrabOperation) GetProvider() *string
- func (m *MediaGrabOperation) GetStatus() *Status
- type MediaQuery
- type MediaSubscription
- func (m *MediaSubscription) GetAiringsType() *AiringsType
- func (m *MediaSubscription) GetCreatedAt() *int64
- func (m *MediaSubscription) GetDirectory() map[string]any
- func (m *MediaSubscription) GetDurationTotal() *int64
- func (m *MediaSubscription) GetKey() *string
- func (m *MediaSubscription) GetLibrarySectionTitle() *string
- func (m *MediaSubscription) GetLocationPath() *string
- func (m *MediaSubscription) GetMediaGrabOperation() []MediaGrabOperation
- func (m *MediaSubscription) GetPlaylist() map[string]any
- func (m *MediaSubscription) GetSetting() []Setting
- func (m *MediaSubscription) GetStorageTotal() *int64
- func (m *MediaSubscription) GetTargetLibrarySectionID() *int64
- func (m *MediaSubscription) GetTargetSectionLocationID() *int64
- func (m *MediaSubscription) GetTitle() *string
- func (m *MediaSubscription) GetType() *int64
- func (m *MediaSubscription) GetVideo() map[string]any
- type Metadata
- func (m *Metadata) GetAbsoluteIndex() *int64
- func (m *Metadata) GetAddedAt() *int64
- func (m *Metadata) GetAdditionalProperties() map[string]any
- func (m *Metadata) GetArt() any
- func (m *Metadata) GetAudienceRating() *float64
- func (m *Metadata) GetAudienceRatingImage() any
- func (m *Metadata) GetAutotag() []Tag
- func (m *Metadata) GetBanner() any
- func (m *Metadata) GetChapterSource() any
- func (m *Metadata) GetComposite() any
- func (m *Metadata) GetContentRating() any
- func (m *Metadata) GetCountry() []Tag
- func (m *Metadata) GetDirector() []Tag
- func (m *Metadata) GetDuration() *int64
- func (m *Metadata) GetFilter() []Filter
- func (m *Metadata) GetGUID() []Tag
- func (m *Metadata) GetGenre() []Tag
- func (m *Metadata) GetGrandparentArt() *string
- func (m *Metadata) GetGrandparentHero() *string
- func (m *Metadata) GetGrandparentKey() *string
- func (m *Metadata) GetGrandparentRatingKey() *string
- func (m *Metadata) GetGrandparentTheme() *string
- func (m *Metadata) GetGrandparentThumb() *string
- func (m *Metadata) GetGrandparentTitle() *string
- func (m *Metadata) GetHero() any
- func (m *Metadata) GetImage() []Image
- func (m *Metadata) GetIndex() *int64
- func (m *Metadata) GetKey() any
- func (m *Metadata) GetLastViewedAt() *int64
- func (m *Metadata) GetLeafCount() *int64
- func (m *Metadata) GetMedia() []Media
- func (m *Metadata) GetOriginalTitle() any
- func (m *Metadata) GetOriginallyAvailableAt() any
- func (m *Metadata) GetParentHero() *string
- func (m *Metadata) GetParentIndex() *int64
- func (m *Metadata) GetParentKey() *string
- func (m *Metadata) GetParentRatingKey() *string
- func (m *Metadata) GetParentThumb() *string
- func (m *Metadata) GetParentTitle() *string
- func (m *Metadata) GetPrimaryExtraKey() any
- func (m *Metadata) GetPrompt() *string
- func (m *Metadata) GetRating() *float64
- func (m *Metadata) GetRatingArray() []Tag
- func (m *Metadata) GetRatingCount() *int64
- func (m *Metadata) GetRatingImage() any
- func (m *Metadata) GetRatingKey() any
- func (m *Metadata) GetRole() []Tag
- func (m *Metadata) GetSearch() *bool
- func (m *Metadata) GetSecondary() *bool
- func (m *Metadata) GetSkipChildren() *bool
- func (m *Metadata) GetSkipParent() *bool
- func (m *Metadata) GetSort() []Sort
- func (m *Metadata) GetStudio() any
- func (m *Metadata) GetSubtype() any
- func (m *Metadata) GetSummary() any
- func (m *Metadata) GetTagline() any
- func (m *Metadata) GetTheme() any
- func (m *Metadata) GetThumb() any
- func (m *Metadata) GetTitle() any
- func (m *Metadata) GetTitleSort() any
- func (m *Metadata) GetType() any
- func (m *Metadata) GetUpdatedAt() *int64
- func (m *Metadata) GetUserRating() *float64
- func (m *Metadata) GetViewCount() *int64
- func (m *Metadata) GetViewOffset() *int64
- func (m *Metadata) GetViewedLeafCount() *int64
- func (m *Metadata) GetWriter() []Tag
- func (m *Metadata) GetYear() *int64
- func (m Metadata) MarshalJSON() ([]byte, error)
- func (m *Metadata) UnmarshalJSON(data []byte) error
- type MetadataItem
- func (m *MetadataItem) GetAbsoluteIndex() *int64
- func (m *MetadataItem) GetAddedAt() *int64
- func (m *MetadataItem) GetAdditionalProperties() map[string]any
- func (m *MetadataItem) GetArt() any
- func (m *MetadataItem) GetAudienceRating() *float64
- func (m *MetadataItem) GetAudienceRatingImage() any
- func (m *MetadataItem) GetAutotag() []Tag
- func (m *MetadataItem) GetBanner() any
- func (m *MetadataItem) GetChapterSource() any
- func (m *MetadataItem) GetComposite() any
- func (m *MetadataItem) GetContentRating() any
- func (m *MetadataItem) GetCountry() []Tag
- func (m *MetadataItem) GetDirector() []Tag
- func (m *MetadataItem) GetDuration() *int64
- func (m *MetadataItem) GetFilter() []Filter
- func (m *MetadataItem) GetGUID() []Tag
- func (m *MetadataItem) GetGenre() []Tag
- func (m *MetadataItem) GetGrandparentArt() *string
- func (m *MetadataItem) GetGrandparentHero() *string
- func (m *MetadataItem) GetGrandparentKey() *string
- func (m *MetadataItem) GetGrandparentRatingKey() *string
- func (m *MetadataItem) GetGrandparentTheme() *string
- func (m *MetadataItem) GetGrandparentThumb() *string
- func (m *MetadataItem) GetGrandparentTitle() *string
- func (m *MetadataItem) GetHero() any
- func (m *MetadataItem) GetImage() []Image
- func (m *MetadataItem) GetIndex() *int64
- func (m *MetadataItem) GetKey() any
- func (m *MetadataItem) GetLastViewedAt() *int64
- func (m *MetadataItem) GetLeafCount() *int64
- func (m *MetadataItem) GetMedia() []Media
- func (m *MetadataItem) GetMetadataItem() []Items
- func (m *MetadataItem) GetOriginalTitle() any
- func (m *MetadataItem) GetOriginallyAvailableAt() any
- func (m *MetadataItem) GetParentHero() *string
- func (m *MetadataItem) GetParentIndex() *int64
- func (m *MetadataItem) GetParentKey() *string
- func (m *MetadataItem) GetParentRatingKey() *string
- func (m *MetadataItem) GetParentThumb() *string
- func (m *MetadataItem) GetParentTitle() *string
- func (m *MetadataItem) GetPrimaryExtraKey() any
- func (m *MetadataItem) GetPrompt() *string
- func (m *MetadataItem) GetRating() *float64
- func (m *MetadataItem) GetRatingArray() []Tag
- func (m *MetadataItem) GetRatingCount() *int64
- func (m *MetadataItem) GetRatingImage() any
- func (m *MetadataItem) GetRatingKey() any
- func (m *MetadataItem) GetRole() []Tag
- func (m *MetadataItem) GetSearch() *bool
- func (m *MetadataItem) GetSecondary() *bool
- func (m *MetadataItem) GetSkipChildren() *bool
- func (m *MetadataItem) GetSkipParent() *bool
- func (m *MetadataItem) GetSort() []Sort
- func (m *MetadataItem) GetStudio() any
- func (m *MetadataItem) GetSubtype() any
- func (m *MetadataItem) GetSummary() any
- func (m *MetadataItem) GetTagline() any
- func (m *MetadataItem) GetTheme() any
- func (m *MetadataItem) GetThumb() any
- func (m *MetadataItem) GetTitle() any
- func (m *MetadataItem) GetTitleSort() any
- func (m *MetadataItem) GetType() any
- func (m *MetadataItem) GetUpdatedAt() *int64
- func (m *MetadataItem) GetUserRating() *float64
- func (m *MetadataItem) GetViewCount() *int64
- func (m *MetadataItem) GetViewOffset() *int64
- func (m *MetadataItem) GetViewedLeafCount() *int64
- func (m *MetadataItem) GetWriter() []Tag
- func (m *MetadataItem) GetYear() *int64
- func (m MetadataItem) MarshalJSON() ([]byte, error)
- func (m *MetadataItem) UnmarshalJSON(data []byte) error
- type Part
- func (p *Part) GetAdditionalProperties() map[string]any
- func (p *Part) GetAudioProfile() any
- func (p *Part) GetContainer() any
- func (p *Part) GetDuration() *int64
- func (p *Part) GetFile() any
- func (p *Part) GetHas64bitOffsets() *bool
- func (p *Part) GetID() *int64
- func (p *Part) GetKey() any
- func (p *Part) GetOptimizedForStreaming() *bool
- func (p *Part) GetSize() *int64
- func (p *Part) GetStream() []Stream
- func (p *Part) GetVideoProfile() any
- func (p Part) MarshalJSON() ([]byte, error)
- func (p *Part) UnmarshalJSON(data []byte) error
- type Pivot
- type Player
- func (p *Player) GetAddress() *string
- func (p *Player) GetLocal() *bool
- func (p *Player) GetMachineIdentifier() *string
- func (p *Player) GetModel() *string
- func (p *Player) GetPlatform() *string
- func (p *Player) GetPlatformVersion() *string
- func (p *Player) GetProduct() *string
- func (p *Player) GetRelayed() *bool
- func (p *Player) GetRemotePublicAddress() *string
- func (p *Player) GetSecure() *bool
- func (p *Player) GetState() *string
- func (p *Player) GetTitle() *string
- func (p *Player) GetUserID() *int64
- func (p *Player) GetVendor() *string
- func (p *Player) GetVersion() *string
- type PlaylistType
- type PostResponses200
- type PostResponses200MediaContainer
- func (p *PostResponses200MediaContainer) GetAdditionalProperties() map[string]any
- func (p *PostResponses200MediaContainer) GetColor() *string
- func (p *PostResponses200MediaContainer) GetEndTimeOffset() *int64
- func (p *PostResponses200MediaContainer) GetID() *int64
- func (p *PostResponses200MediaContainer) GetIdentifier() *string
- func (p *PostResponses200MediaContainer) GetOffset() *int64
- func (p *PostResponses200MediaContainer) GetSize() *int64
- func (p *PostResponses200MediaContainer) GetStartTimeOffset() *int64
- func (p *PostResponses200MediaContainer) GetTitle() *string
- func (p *PostResponses200MediaContainer) GetTotalSize() *int64
- func (p *PostResponses200MediaContainer) GetType() *PostResponses200Type
- func (p PostResponses200MediaContainer) MarshalJSON() ([]byte, error)
- func (p *PostResponses200MediaContainer) UnmarshalJSON(data []byte) error
- type PostResponses200Type
- type Protocol
- type RecommendationsVisibility
- type RequestHandlerSlashGetResponses200
- type RequestHandlerSlashGetResponses200Directory
- type RequestHandlerSlashGetResponses200MediaContainer
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowCameraUpload() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowChannelAccess() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowMediaDeletion() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowSharing() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowSync() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowTuners() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetBackgroundProcessing() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetCertificate() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetCompanionProxy() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetCountryCode() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetDiagnostics() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetDirectory() []RequestHandlerSlashGetResponses200Directory
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetEventStream() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetFriendlyName() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetHubSearch() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetIdentifier() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetItemClusters() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetLivetv() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMachineIdentifier() any
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMediaProviders() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMultiuser() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMusicAnalysis() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlex() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexMappingState() any
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexSigninState() any
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexSubscription() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexUsername() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetOfflineTranscode() any
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetOffset() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetOwnerFeatures() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetPlatform() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetPlatformVersion() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetPluginHost() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetPushNotifications() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetReadOnlyLibraries() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetSize() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetStreamingBrainABRVersion() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetStreamingBrainVersion() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetSync() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTotalSize() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderActiveVideoSessions() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderAudio() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderLyrics() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderPhoto() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderSubtitles() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideo() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoBitrates() any
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoQualities() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoResolutions() any
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetUpdatedAt() *int64
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetUpdater() *bool
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetVersion() *string
- func (r *RequestHandlerSlashGetResponses200MediaContainer) GetVoiceSearch() *bool
- type Security
- type Session
- type SessionLocation
- type Setting
- func (s *Setting) GetAdvanced() *bool
- func (s *Setting) GetDefault() *Default
- func (s *Setting) GetEnumValues() *string
- func (s *Setting) GetGroup() *string
- func (s *Setting) GetHidden() *bool
- func (s *Setting) GetID() *string
- func (s *Setting) GetLabel() *string
- func (s *Setting) GetSummary() *string
- func (s *Setting) GetType() *Type
- func (s *Setting) GetValue() *Value
- type SlashGetResponses200
- type SlashGetResponses200MediaContainer
- func (s *SlashGetResponses200MediaContainer) GetAllowSync() *bool
- func (s *SlashGetResponses200MediaContainer) GetArt() *string
- func (s *SlashGetResponses200MediaContainer) GetContent() *string
- func (s *SlashGetResponses200MediaContainer) GetDirectory() []Metadata
- func (s *SlashGetResponses200MediaContainer) GetIdentifier() *string
- func (s *SlashGetResponses200MediaContainer) GetLibrarySectionID() *int64
- func (s *SlashGetResponses200MediaContainer) GetMediaTagPrefix() *string
- func (s *SlashGetResponses200MediaContainer) GetMediaTagVersion() *int64
- func (s *SlashGetResponses200MediaContainer) GetSize() *int64
- func (s *SlashGetResponses200MediaContainer) GetSortAsc() *bool
- func (s *SlashGetResponses200MediaContainer) GetThumb() *string
- func (s *SlashGetResponses200MediaContainer) GetTitle1() *string
- func (s *SlashGetResponses200MediaContainer) GetViewGroup() *string
- func (s *SlashGetResponses200MediaContainer) GetViewMode() *int64
- type Sort
- func (s *Sort) GetAdditionalProperties() map[string]any
- func (s *Sort) GetArt() *string
- func (s *Sort) GetContent() *bool
- func (s *Sort) GetDefault() *SortDefault
- func (s *Sort) GetDefaultDirection() *DefaultDirection
- func (s *Sort) GetDescKey() *string
- func (s *Sort) GetFilter() *string
- func (s *Sort) GetFirstCharacterKey() *string
- func (s *Sort) GetHasPrefs() *bool
- func (s *Sort) GetHasStoreServices() *bool
- func (s *Sort) GetHubKey() *string
- func (s *Sort) GetIdentifier() *string
- func (s *Sort) GetKey() *string
- func (s *Sort) GetLastAccessedAt() *int64
- func (s *Sort) GetPivot() []SortPivot
- func (s *Sort) GetShare() *int64
- func (s *Sort) GetThumb() *string
- func (s *Sort) GetTitle() *string
- func (s *Sort) GetTitleBar() *string
- func (s *Sort) GetType() *string
- func (s Sort) MarshalJSON() ([]byte, error)
- func (s *Sort) UnmarshalJSON(data []byte) error
- type SortDefault
- type SortPivot
- type Status
- type Stream
- func (s *Stream) GetAdditionalProperties() map[string]any
- func (s *Stream) GetAudioChannelLayout() any
- func (s *Stream) GetBitDepth() *int64
- func (s *Stream) GetBitrate() *int64
- func (s *Stream) GetCanAutoSync() *bool
- func (s *Stream) GetChromaLocation() any
- func (s *Stream) GetChromaSubsampling() any
- func (s *Stream) GetCodec() any
- func (s *Stream) GetColorPrimaries() any
- func (s *Stream) GetColorRange() any
- func (s *Stream) GetColorSpace() any
- func (s *Stream) GetColorTrc() any
- func (s *Stream) GetDefault() *bool
- func (s *Stream) GetDisplayTitle() any
- func (s *Stream) GetFrameRate() *float64
- func (s *Stream) GetHasScalingMatrix() any
- func (s *Stream) GetHeight() *int64
- func (s *Stream) GetID() *int64
- func (s *Stream) GetIndex() *int64
- func (s *Stream) GetKey() any
- func (s *Stream) GetLanguage() any
- func (s *Stream) GetLanguageCode() any
- func (s *Stream) GetLevel() *int64
- func (s *Stream) GetProfile() any
- func (s *Stream) GetRefFrames() *int64
- func (s *Stream) GetSamplingRate() *int64
- func (s *Stream) GetSelected() *bool
- func (s *Stream) GetStreamIdentifier() *int64
- func (s *Stream) GetStreamType() *int64
- func (s *Stream) GetWidth() *int64
- func (s Stream) MarshalJSON() ([]byte, error)
- func (s *Stream) UnmarshalJSON(data []byte) error
- type Subtitles
- type Tag
- func (t *Tag) GetConfidence() *float64
- func (t *Tag) GetContext() *string
- func (t *Tag) GetFilter() any
- func (t *Tag) GetID() *int64
- func (t *Tag) GetRatingKey() *string
- func (t *Tag) GetRole() any
- func (t *Tag) GetTag() any
- func (t *Tag) GetTagKey() any
- func (t *Tag) GetTagType() *int64
- func (t *Tag) GetThumb() any
- type TranscodeSession
- func (t *TranscodeSession) GetComplete() *bool
- func (t *TranscodeSession) GetContext() *string
- func (t *TranscodeSession) GetDuration() *int64
- func (t *TranscodeSession) GetError() *bool
- func (t *TranscodeSession) GetKey() *string
- func (t *TranscodeSession) GetProgress() *float64
- func (t *TranscodeSession) GetProtocol() *string
- func (t *TranscodeSession) GetSize() *int64
- func (t *TranscodeSession) GetSourceAudioCodec() *string
- func (t *TranscodeSession) GetSourceVideoCodec() *string
- func (t *TranscodeSession) GetSpeed() *float64
- func (t *TranscodeSession) GetThrottled() *bool
- func (t *TranscodeSession) GetTranscodeHwFullPipeline() *bool
- func (t *TranscodeSession) GetTranscodeHwRequested() *bool
- type TranscodeType
- type Type
- type User
- type Value
- type ValueType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accepts ¶ added in v0.26.0
type Accepts string
func (*Accepts) UnmarshalJSON ¶ added in v0.26.0
type AdvancedSubtitles ¶ added in v0.26.0
type AdvancedSubtitles string
const ( AdvancedSubtitlesBurn AdvancedSubtitles = "burn" AdvancedSubtitlesText AdvancedSubtitles = "text" AdvancedSubtitlesUnknown AdvancedSubtitles = "unknown" )
func (AdvancedSubtitles) ToPointer ¶ added in v0.26.0
func (e AdvancedSubtitles) ToPointer() *AdvancedSubtitles
func (*AdvancedSubtitles) UnmarshalJSON ¶ added in v0.26.0
func (e *AdvancedSubtitles) UnmarshalJSON(data []byte) error
type AiringsType ¶ added in v0.26.0
type AiringsType string
const ( AiringsTypeNewAiringsOnly AiringsType = "New Airings Only" AiringsTypeNewAndRepeatAirings AiringsType = "New and Repeat Airings" )
func (AiringsType) ToPointer ¶ added in v0.26.0
func (e AiringsType) ToPointer() *AiringsType
func (*AiringsType) UnmarshalJSON ¶ added in v0.26.0
func (e *AiringsType) UnmarshalJSON(data []byte) error
type Channel ¶ added in v0.26.0
type Channel struct {
Title *string `json:"title,omitempty"`
CallSign *string `json:"callSign,omitempty"`
ChannelVcn *string `json:"channelVcn,omitempty"`
Hd *bool `json:"hd,omitempty"`
Identifier *string `json:"identifier,omitempty"`
Key *string `json:"key,omitempty"`
Language *string `json:"language,omitempty"`
Thumb *string `json:"thumb,omitempty"`
}
func (*Channel) GetCallSign ¶ added in v0.26.0
func (*Channel) GetChannelVcn ¶ added in v0.26.0
func (*Channel) GetIdentifier ¶ added in v0.26.0
func (*Channel) GetLanguage ¶ added in v0.26.0
type ChannelMapping ¶ added in v0.26.0
type ChannelMapping struct {
ChannelKey *string `json:"channelKey,omitempty"`
DeviceIdentifier *string `json:"deviceIdentifier,omitempty"`
Enabled *string `json:"enabled,omitempty"`
LineupIdentifier *string `json:"lineupIdentifier,omitempty"`
}
func (*ChannelMapping) GetChannelKey ¶ added in v0.26.0
func (c *ChannelMapping) GetChannelKey() *string
func (*ChannelMapping) GetDeviceIdentifier ¶ added in v0.26.0
func (c *ChannelMapping) GetDeviceIdentifier() *string
func (*ChannelMapping) GetEnabled ¶ added in v0.26.0
func (c *ChannelMapping) GetEnabled() *string
func (*ChannelMapping) GetLineupIdentifier ¶ added in v0.26.0
func (c *ChannelMapping) GetLineupIdentifier() *string
type Composite ¶ added in v0.26.0
type Composite struct {
// Limit composite to specified metadata types
Type *int64 `queryParam:"name=type"`
// The image type
Format *Format `queryParam:"name=format"`
// 6 character hex RGB value for background color for image
BackgroundColor *string `queryParam:"name=backgroundColor"`
// The width of the intra-image border
Border *int64 `queryParam:"name=border"`
// Number of columns to construct in the composite image
Cols *int64 `queryParam:"name=cols"`
// Where to crop source images to fit into composite image proportions
Crop *Crop `queryParam:"name=crop"`
// The height of the image
Height *int64 `queryParam:"name=height"`
// The default image type to use as the sources
Media *CompositeMedia `queryParam:"name=media"`
// Allow repetion of images if there are not enough source images to fill grid
Repeat *bool `queryParam:"name=repeat"`
// Number of rows to construct in the composite image
Rows *int64 `queryParam:"name=rows"`
// The width of the image
Width *int64 `queryParam:"name=width"`
}
func (*Composite) GetBackgroundColor ¶ added in v0.26.0
func (*Composite) GetMedia ¶ added in v0.26.0
func (c *Composite) GetMedia() *CompositeMedia
type CompositeMedia ¶ added in v0.26.0
type CompositeMedia string
CompositeMedia - The default image type to use as the sources
const ( CompositeMediaThumb CompositeMedia = "thumb" CompositeMediaArt CompositeMedia = "art" CompositeMediaBanner CompositeMedia = "banner" )
func (CompositeMedia) ToPointer ¶ added in v0.26.0
func (e CompositeMedia) ToPointer() *CompositeMedia
func (*CompositeMedia) UnmarshalJSON ¶ added in v0.26.0
func (e *CompositeMedia) UnmarshalJSON(data []byte) error
type Crop ¶ added in v0.26.0
type Crop string
Crop - Where to crop source images to fit into composite image proportions
func (*Crop) UnmarshalJSON ¶ added in v0.26.0
type Decision ¶ added in v0.26.0
type Decision string
func (*Decision) UnmarshalJSON ¶ added in v0.26.0
type Default ¶ added in v0.26.0
type Default struct {
Str *string `queryParam:"inline,name=default"`
Number *float64 `queryParam:"inline,name=default"`
Boolean *bool `queryParam:"inline,name=default"`
Type DefaultType
}
Default - The default value of this setting
func CreateDefaultBoolean ¶ added in v0.26.0
func CreateDefaultNumber ¶ added in v0.26.0
func CreateDefaultStr ¶ added in v0.26.0
func (Default) MarshalJSON ¶ added in v0.26.0
func (*Default) UnmarshalJSON ¶ added in v0.26.0
type DefaultDirection ¶ added in v0.26.0
type DefaultDirection string
DefaultDirection - This default diction of this sort
const ( DefaultDirectionAsc DefaultDirection = "asc" DefaultDirectionDesc DefaultDirection = "desc" )
func (DefaultDirection) ToPointer ¶ added in v0.26.0
func (e DefaultDirection) ToPointer() *DefaultDirection
func (*DefaultDirection) UnmarshalJSON ¶ added in v0.26.0
func (e *DefaultDirection) UnmarshalJSON(data []byte) error
type DefaultType ¶ added in v0.26.0
type DefaultType string
const ( DefaultTypeStr DefaultType = "str" DefaultTypeNumber DefaultType = "number" DefaultTypeBoolean DefaultType = "boolean" )
type Device ¶ added in v0.26.0
type Device struct {
ChannelMapping []ChannelMapping `json:"ChannelMapping,omitempty"`
Key *string `json:"key,omitempty"`
LastSeenAt *int64 `json:"lastSeenAt,omitempty"`
Make *string `json:"make,omitempty"`
Model *string `json:"model,omitempty"`
ModelNumber *string `json:"modelNumber,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Sources *string `json:"sources,omitempty"`
State *string `json:"state,omitempty"`
Status *string `json:"status,omitempty"`
Tuners *string `json:"tuners,omitempty"`
URI *string `json:"uri,omitempty"`
UUID *string `json:"uuid,omitempty"`
}
func (*Device) GetChannelMapping ¶ added in v0.26.0
func (d *Device) GetChannelMapping() []ChannelMapping
func (*Device) GetLastSeenAt ¶ added in v0.26.0
func (*Device) GetModelNumber ¶ added in v0.26.0
func (*Device) GetProtocol ¶ added in v0.26.0
func (*Device) GetSources ¶ added in v0.26.0
type Directory ¶ added in v0.26.0
type Directory struct {
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
Art *string `json:"art,omitempty"`
Content *bool `json:"content,omitempty"`
Filter *string `json:"filter,omitempty"`
HasPrefs *bool `json:"hasPrefs,omitempty"`
HasStoreServices *bool `json:"hasStoreServices,omitempty"`
HubKey *string `json:"hubKey,omitempty"`
Identifier *string `json:"identifier,omitempty"`
Key *string `json:"key,omitempty"`
LastAccessedAt *int64 `json:"lastAccessedAt,omitempty"`
Pivot []Pivot `json:"Pivot,omitempty"`
Thumb *string `json:"thumb,omitempty"`
TitleBar *string `json:"titleBar,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
func (*Directory) GetAdditionalProperties ¶ added in v0.26.0
func (*Directory) GetContent ¶ added in v0.26.0
func (*Directory) GetHasPrefs ¶ added in v0.26.0
func (*Directory) GetHasStoreServices ¶ added in v0.26.0
func (*Directory) GetIdentifier ¶ added in v0.26.0
func (*Directory) GetLastAccessedAt ¶ added in v0.26.0
func (*Directory) GetTitleBar ¶ added in v0.26.0
func (Directory) MarshalJSON ¶ added in v0.26.0
func (*Directory) UnmarshalJSON ¶ added in v0.26.0
type Dvr ¶ added in v0.26.0
type Dvr struct {
Device []Device `json:"Device,omitempty"`
Key *string `json:"key,omitempty"`
Language *string `json:"language,omitempty"`
Lineup *string `json:"lineup,omitempty"`
UUID *string `json:"uuid,omitempty"`
}
func (*Dvr) GetLanguage ¶ added in v0.26.0
type DvrRequestHandlerSlashGetResponses200 ¶ added in v0.26.0
type DvrRequestHandlerSlashGetResponses200 struct {
MediaContainer *DvrRequestHandlerSlashGetResponses200MediaContainer `json:"MediaContainer,omitempty"`
}
DvrRequestHandlerSlashGetResponses200 - OK
func (*DvrRequestHandlerSlashGetResponses200) GetMediaContainer ¶ added in v0.26.0
func (d *DvrRequestHandlerSlashGetResponses200) GetMediaContainer() *DvrRequestHandlerSlashGetResponses200MediaContainer
type DvrRequestHandlerSlashGetResponses200MediaContainer ¶ added in v0.26.0
type DvrRequestHandlerSlashGetResponses200MediaContainer struct {
MediaContainer *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer `json:"MediaContainer,omitempty"`
Dvr []Dvr `json:"DVR,omitempty"`
}
func (*DvrRequestHandlerSlashGetResponses200MediaContainer) GetDvr ¶ added in v0.26.0
func (d *DvrRequestHandlerSlashGetResponses200MediaContainer) GetDvr() []Dvr
func (*DvrRequestHandlerSlashGetResponses200MediaContainer) GetMediaContainer ¶ added in v0.26.0
func (d *DvrRequestHandlerSlashGetResponses200MediaContainer) GetMediaContainer() *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer
type DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer ¶ added in v0.26.0
type DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
// A status indicator. If present and non-zero, indicates an error
Status *int64 `json:"status,omitempty"`
}
DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetIdentifier ¶ added in v0.26.0
func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetIdentifier() *string
func (*DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetOffset ¶ added in v0.26.0
func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetOffset() *int64
func (*DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetSize ¶ added in v0.26.0
func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetSize() *int64
func (*DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetStatus ¶ added in v0.26.0
func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetStatus() *int64
func (*DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetTotalSize ¶ added in v0.26.0
func (d *DvrRequestHandlerSlashGetResponses200MediaContainerMediaContainer) GetTotalSize() *int64
type Filter ¶ added in v0.26.0
type Filter struct {
// The title for the filter.
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
Art *string `json:"art,omitempty"`
Content *bool `json:"content,omitempty"`
// This represents the filter name used for the filter, which can be used to construct complex media queries with.
Filter *string `json:"filter,omitempty"`
HasPrefs *bool `json:"hasPrefs,omitempty"`
HasStoreServices *bool `json:"hasStoreServices,omitempty"`
HubKey *string `json:"hubKey,omitempty"`
Identifier *string `json:"identifier,omitempty"`
// This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a "Genre" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element.
Key *string `json:"key,omitempty"`
LastAccessedAt *int64 `json:"lastAccessedAt,omitempty"`
Pivot []FilterPivot `json:"Pivot,omitempty"`
Thumb *string `json:"thumb,omitempty"`
TitleBar *string `json:"titleBar,omitempty"`
// This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter.
FilterType *string `json:"filterType,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
Filter - Each `Filter` object contains a description of the filter. Note that it is not an exhaustive list of the full media query language, but an important subset useful for top-level API.
func (*Filter) GetAdditionalProperties ¶ added in v0.26.0
func (*Filter) GetContent ¶ added in v0.26.0
func (*Filter) GetFilterType ¶ added in v0.26.0
func (*Filter) GetHasPrefs ¶ added in v0.26.0
func (*Filter) GetHasStoreServices ¶ added in v0.26.0
func (*Filter) GetIdentifier ¶ added in v0.26.0
func (*Filter) GetLastAccessedAt ¶ added in v0.26.0
func (*Filter) GetPivot ¶ added in v0.26.0
func (f *Filter) GetPivot() []FilterPivot
func (*Filter) GetTitleBar ¶ added in v0.26.0
func (Filter) MarshalJSON ¶ added in v0.26.0
func (*Filter) UnmarshalJSON ¶ added in v0.26.0
type FilterPivot ¶ added in v0.26.0
type FilterPivot struct {
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
Context *string `json:"context,omitempty"`
ID *string `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Symbol *string `json:"symbol,omitempty"`
}
func (*FilterPivot) GetContext ¶ added in v0.26.0
func (f *FilterPivot) GetContext() *string
func (*FilterPivot) GetID ¶ added in v0.26.0
func (f *FilterPivot) GetID() *string
func (*FilterPivot) GetKey ¶ added in v0.26.0
func (f *FilterPivot) GetKey() *string
func (*FilterPivot) GetSymbol ¶ added in v0.26.0
func (f *FilterPivot) GetSymbol() *string
func (*FilterPivot) GetTitle ¶ added in v0.26.0
func (f *FilterPivot) GetTitle() *string
func (*FilterPivot) GetType ¶ added in v0.26.0
func (f *FilterPivot) GetType() *string
type Format ¶ added in v0.26.0
type Format string
Format - The image type
func (*Format) UnmarshalJSON ¶ added in v0.26.0
type GetResponses200 ¶ added in v0.26.0
type GetResponses200 struct {
MediaContainer *GetResponses200MediaContainer `json:"MediaContainer,omitempty"`
}
GetResponses200 - OK
func (*GetResponses200) GetMediaContainer ¶ added in v0.26.0
func (g *GetResponses200) GetMediaContainer() *GetResponses200MediaContainer
type GetResponses200Hub ¶ added in v0.26.0
type GetResponses200Hub struct {
// Whether this hub is visible on the home screen
// - all: Visible to all users
// - none: Visible to no users
// - admin: Visible to only admin users
// - shared: Visible to shared users
//
HomeVisibility *HomeVisibility `json:"homeVisibility,omitempty"`
// The identifier for this hub
Identifier *string `json:"identifier,omitempty"`
// Whether this hub is visible to admin user home
PromotedToOwnHome *bool `json:"promotedToOwnHome,omitempty"`
// Whether this hub is promoted to all for recommendations
PromotedToRecommended *bool `json:"promotedToRecommended,omitempty"`
PromotedToSharedHome *bool `json:"promotedToSharedHome,omitempty"`
// The visibility of this hub in recommendations:
// - all: Visible to all users
// - none: Visible to no users
// - admin: Visible to only admin users
// - shared: Visible to shared users
//
RecommendationsVisibility *RecommendationsVisibility `json:"recommendationsVisibility,omitempty"`
// The title of this hub
Title *string `json:"title,omitempty"`
}
func (*GetResponses200Hub) GetHomeVisibility ¶ added in v0.26.0
func (g *GetResponses200Hub) GetHomeVisibility() *HomeVisibility
func (*GetResponses200Hub) GetIdentifier ¶ added in v0.26.0
func (g *GetResponses200Hub) GetIdentifier() *string
func (*GetResponses200Hub) GetPromotedToOwnHome ¶ added in v0.26.0
func (g *GetResponses200Hub) GetPromotedToOwnHome() *bool
func (*GetResponses200Hub) GetPromotedToRecommended ¶ added in v0.26.0
func (g *GetResponses200Hub) GetPromotedToRecommended() *bool
func (*GetResponses200Hub) GetPromotedToSharedHome ¶ added in v0.26.0
func (g *GetResponses200Hub) GetPromotedToSharedHome() *bool
func (*GetResponses200Hub) GetRecommendationsVisibility ¶ added in v0.26.0
func (g *GetResponses200Hub) GetRecommendationsVisibility() *RecommendationsVisibility
func (*GetResponses200Hub) GetTitle ¶ added in v0.26.0
func (g *GetResponses200Hub) GetTitle() *string
type GetResponses200MediaContainer ¶ added in v0.26.0
type GetResponses200MediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Hub []GetResponses200Hub `json:"Hub,omitempty"`
}
GetResponses200MediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*GetResponses200MediaContainer) GetHub ¶ added in v0.26.0
func (g *GetResponses200MediaContainer) GetHub() []GetResponses200Hub
func (*GetResponses200MediaContainer) GetIdentifier ¶ added in v0.26.0
func (g *GetResponses200MediaContainer) GetIdentifier() *string
func (*GetResponses200MediaContainer) GetOffset ¶ added in v0.26.0
func (g *GetResponses200MediaContainer) GetOffset() *int64
func (*GetResponses200MediaContainer) GetSize ¶ added in v0.26.0
func (g *GetResponses200MediaContainer) GetSize() *int64
func (*GetResponses200MediaContainer) GetTotalSize ¶ added in v0.26.0
func (g *GetResponses200MediaContainer) GetTotalSize() *int64
type HistoryAllGetResponses200 ¶ added in v0.26.0
type HistoryAllGetResponses200 struct {
MediaContainer *HistoryAllGetResponses200MediaContainer `json:"MediaContainer,omitempty"`
}
HistoryAllGetResponses200 - OK
func (*HistoryAllGetResponses200) GetMediaContainer ¶ added in v0.26.0
func (h *HistoryAllGetResponses200) GetMediaContainer() *HistoryAllGetResponses200MediaContainer
type HistoryAllGetResponses200MediaContainer ¶ added in v0.26.0
type HistoryAllGetResponses200MediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Metadata []HistoryAllGetResponses200Metadata `json:"Metadata,omitempty"`
}
HistoryAllGetResponses200MediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*HistoryAllGetResponses200MediaContainer) GetIdentifier ¶ added in v0.26.0
func (h *HistoryAllGetResponses200MediaContainer) GetIdentifier() *string
func (*HistoryAllGetResponses200MediaContainer) GetMetadata ¶ added in v0.26.0
func (h *HistoryAllGetResponses200MediaContainer) GetMetadata() []HistoryAllGetResponses200Metadata
func (*HistoryAllGetResponses200MediaContainer) GetOffset ¶ added in v0.26.0
func (h *HistoryAllGetResponses200MediaContainer) GetOffset() *int64
func (*HistoryAllGetResponses200MediaContainer) GetSize ¶ added in v0.26.0
func (h *HistoryAllGetResponses200MediaContainer) GetSize() *int64
func (*HistoryAllGetResponses200MediaContainer) GetTotalSize ¶ added in v0.26.0
func (h *HistoryAllGetResponses200MediaContainer) GetTotalSize() *int64
type HistoryAllGetResponses200Metadata ¶ added in v0.26.0
type HistoryAllGetResponses200Metadata struct {
// The account id of this playback
AccountID *int64 `json:"accountID,omitempty"`
// The device id which played the item
DeviceID *int64 `json:"deviceID,omitempty"`
// The key for this individual history item
HistoryKey *string `json:"historyKey,omitempty"`
// The metadata key for the item played
Key *string `json:"key,omitempty"`
// The library section id containing the item played
LibrarySectionID *string `json:"librarySectionID,omitempty"`
// The originally available at of the item played
OriginallyAvailableAt *string `json:"originallyAvailableAt,omitempty"`
// The rating key for the item played
RatingKey *string `json:"ratingKey,omitempty"`
// The thumb of the item played
Thumb *string `json:"thumb,omitempty"`
// The title of the item played
Title *string `json:"title,omitempty"`
// The metadata type of the item played
Type *string `json:"type,omitempty"`
// The time when the item was played
ViewedAt *int64 `json:"viewedAt,omitempty"`
}
func (*HistoryAllGetResponses200Metadata) GetAccountID ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetAccountID() *int64
func (*HistoryAllGetResponses200Metadata) GetDeviceID ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetDeviceID() *int64
func (*HistoryAllGetResponses200Metadata) GetHistoryKey ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetHistoryKey() *string
func (*HistoryAllGetResponses200Metadata) GetKey ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetKey() *string
func (*HistoryAllGetResponses200Metadata) GetLibrarySectionID ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetLibrarySectionID() *string
func (*HistoryAllGetResponses200Metadata) GetOriginallyAvailableAt ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetOriginallyAvailableAt() *string
func (*HistoryAllGetResponses200Metadata) GetRatingKey ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetRatingKey() *string
func (*HistoryAllGetResponses200Metadata) GetThumb ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetThumb() *string
func (*HistoryAllGetResponses200Metadata) GetTitle ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetTitle() *string
func (*HistoryAllGetResponses200Metadata) GetType ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetType() *string
func (*HistoryAllGetResponses200Metadata) GetViewedAt ¶ added in v0.26.0
func (h *HistoryAllGetResponses200Metadata) GetViewedAt() *int64
type HomeVisibility ¶ added in v0.26.0
type HomeVisibility string
HomeVisibility - Whether this hub is visible on the home screen
- all: Visible to all users
- none: Visible to no users
- admin: Visible to only admin users
- shared: Visible to shared users
const ( HomeVisibilityAll HomeVisibility = "all" HomeVisibilityNone HomeVisibility = "none" HomeVisibilityAdmin HomeVisibility = "admin" )
func (HomeVisibility) ToPointer ¶ added in v0.26.0
func (e HomeVisibility) ToPointer() *HomeVisibility
func (*HomeVisibility) UnmarshalJSON ¶ added in v0.26.0
func (e *HomeVisibility) UnmarshalJSON(data []byte) error
type Hub ¶ added in v0.26.0
type Hub struct {
// A title for this grouping of content
Title *string `json:"title,omitempty"`
// The type of the items contained in this hub, or possibly `mixed` if there are multiple types
Type *string `json:"type,omitempty"`
Context *string `json:"context,omitempty"`
// A unique identifier for the hub
HubIdentifier *string `json:"hubIdentifier,omitempty"`
// A key at which the exact content currently displayed can be fetched again. This is particularly important when a hub is marked as random and requesting the `key` may get different results. It's otherwise optional.
//
HubKey *string `json:"hubKey,omitempty"`
// The key at which all of the content for this hub can be retrieved
Key *string `json:"key,omitempty"`
Metadata []Metadata `json:"Metadata,omitempty"`
// "A boolean indicating that the hub contains more than what's included in the current response."
//
More *bool `json:"more,omitempty"`
// Indicating if the hub should be promoted to the user's homescreen
Promoted *bool `json:"promoted,omitempty"`
// Indicating that the contents of the hub may change on each request
Random *bool `json:"random,omitempty"`
Size *int64 `json:"size,omitempty"`
// A suggestion on how this hub's contents might be displayed by a client. Some examples include `hero`, `list`, `spotlight`, and `upsell`
Style *string `json:"style,omitempty"`
// The subtype of the items contained in this hub, or possibly `mixed` if there are multiple types
Subtype *string `json:"subtype,omitempty"`
TotalSize *int64 `json:"totalSize,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
func (*Hub) GetAdditionalProperties ¶ added in v0.26.0
func (*Hub) GetContext ¶ added in v0.26.0
func (*Hub) GetHubIdentifier ¶ added in v0.26.0
func (*Hub) GetMetadata ¶ added in v0.26.0
func (*Hub) GetPromoted ¶ added in v0.26.0
func (*Hub) GetSubtype ¶ added in v0.26.0
func (*Hub) GetTotalSize ¶ added in v0.26.0
func (Hub) MarshalJSON ¶ added in v0.26.0
func (*Hub) UnmarshalJSON ¶ added in v0.26.0
type Image ¶ added in v0.26.0
type Image struct {
// Describes both the purpose and intended presentation of the image.
Type *ImageType `json:"type,omitempty"`
// Title to use for accessibility.
Alt *string `json:"alt,omitempty"`
// The relative path or absolute url for the image.
URL *string `json:"url,omitempty"`
}
Image - Images such as movie posters and background artwork are represented by Image elements.
type ImageType ¶ added in v0.26.0
type ImageType string
ImageType - Describes both the purpose and intended presentation of the image.
func (*ImageType) UnmarshalJSON ¶ added in v0.26.0
type Items ¶ added in v0.26.0
type Items struct {
// The title of the item (e.g. “300” or “The Simpsons”)
Title any `json:"title,omitempty"`
// The type of the video item, such as `movie`, `episode`, or `clip`.
Type any `json:"type,omitempty"`
// When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex *int64 `json:"absoluteIndex,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt *int64 `json:"addedAt,omitempty"`
// When present, the URL for the background artwork for the item.
Art any `json:"art,omitempty"`
// Some rating systems separate reviewer ratings from audience ratings
AudienceRating *float64 `json:"audienceRating,omitempty"`
// A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage any `json:"audienceRatingImage,omitempty"`
Autotag []Tag `json:"Autotag,omitempty"`
// When present, the URL for a banner graphic for the item.
Banner any `json:"banner,omitempty"`
// When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource any `json:"chapterSource,omitempty"`
// When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite any `json:"composite,omitempty"`
// If known, the content rating (e.g. MPAA) for an item.
ContentRating any `json:"contentRating,omitempty"`
Country []Tag `json:"Country,omitempty"`
Director []Tag `json:"Director,omitempty"`
// When present, the duration for the item, in units of milliseconds.
Duration *int64 `json:"duration,omitempty"`
// Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty"`
Genre []Tag `json:"Genre,omitempty"`
// The `art` of the grandparent
GrandparentArt *string `json:"grandparentArt,omitempty"`
// The `hero` of the grandparent
GrandparentHero *string `json:"grandparentHero,omitempty"`
// The `key` of the grandparent
GrandparentKey *string `json:"grandparentKey,omitempty"`
// The `ratingKey` of the grandparent
GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
// The `theme` of the grandparent
GrandparentTheme *string `json:"grandparentTheme,omitempty"`
// The `thumb` of the grandparent
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
// The `title` of the grandparent
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
GUID []Tag `json:"Guid,omitempty"`
// When present, the URL for a hero image for the item.
Hero any `json:"hero,omitempty"`
Image []Image `json:"Image,omitempty"`
// When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index *int64 `json:"index,omitempty"`
// The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key any `json:"key,omitempty"`
// When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt *int64 `json:"lastViewedAt,omitempty"`
// For shows and seasons, contains the number of total episodes.
LeafCount *int64 `json:"leafCount,omitempty"`
Media []Media `json:"Media,omitempty"`
// When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt any `json:"originallyAvailableAt,omitempty"`
// When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle any `json:"originalTitle,omitempty"`
// The `hero` of the parent
ParentHero *string `json:"parentHero,omitempty"`
// The `index` of the parent
ParentIndex *int64 `json:"parentIndex,omitempty"`
// The `key` of the parent
ParentKey *string `json:"parentKey,omitempty"`
// The `ratingKey` of the parent
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
// The `thumb` of the parent
ParentThumb *string `json:"parentThumb,omitempty"`
// The `title` of the parent
ParentTitle *string `json:"parentTitle,omitempty"`
// Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey any `json:"primaryExtraKey,omitempty"`
// Prompt to give the user for this directory (such as `Search Movies`)
Prompt *string `json:"prompt,omitempty"`
// When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating *float64 `json:"rating,omitempty"`
RatingArray []Tag `json:"Rating,omitempty"`
// Number of ratings under this metadata
RatingCount *int64 `json:"ratingCount,omitempty"`
// When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage any `json:"ratingImage,omitempty"`
// This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey any `json:"ratingKey,omitempty"`
Role []Tag `json:"Role,omitempty"`
// Indicates this is a search directory
Search *bool `json:"search,omitempty"`
// Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary *bool `json:"secondary,omitempty"`
// When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren *bool `json:"skipChildren,omitempty"`
// When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent *bool `json:"skipParent,omitempty"`
// Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty"`
// When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio any `json:"studio,omitempty"`
// The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype any `json:"subtype,omitempty"`
// When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary any `json:"summary,omitempty"`
// When present, a pithy one-liner about the item (usually only seen for movies).
Tagline any `json:"tagline,omitempty"`
// When present, the URL for theme music for the item (usually only for TV shows).
Theme any `json:"theme,omitempty"`
// When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb any `json:"thumb,omitempty"`
// Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort any `json:"titleSort,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt *int64 `json:"updatedAt,omitempty"`
// When the user has rated an item, this contains the user rating
UserRating *float64 `json:"userRating,omitempty"`
// When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount *int64 `json:"viewCount,omitempty"`
// For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount *int64 `json:"viewedLeafCount,omitempty"`
// When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset *int64 `json:"viewOffset,omitempty"`
Writer []Tag `json:"Writer,omitempty"`
// When present, the year associated with the item's release (e.g. release year for a movie).
Year *int64 `json:"year,omitempty"`
MetadataItem []Items `json:"MetadataItem,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
Items in a library are referred to as "metadata items." These metadata items are distinct from "media items" which represent actual instances of media that can be consumed. Consider a TV library that has a single video file in it for a particular episode of a show. The library has a single media item, but it has three metadata items: one for the show, one for the season, and one for the episode. Consider a movie library that has two video files in it: the same movie, but two different resolutions. The library has a single metadata item for the movie, but that metadata item has two media items, one for each resolution. Additionally a "media item" will have one or more "media parts" where the the parts are intended to be watched together, such as a CD1 and CD2 parts of the same movie.
Note that when a metadata item has multiple media items, those media items should be isomorphic. That is, a 4K version and 1080p version of a movie are different versions of the same movie. They have the same duration, same summary, same rating, etc. and they can generally be considered interchangeable. A theatrical release vs. director's cut vs. unrated version on the other hand would be separate metadata items.
Metadata items can often live in a hierarchy with relationships between them. For example, the metadata item for an episodes is associated with a season metadata item which is associated with a show metadata item. A similar hierarchy exists with track, album, and artist and photos and photo album. The relationships may be expressed via relative terms and absolute terms. For example, "leaves" refer to metadata items which has associated media (there is no media for a season nor show). A show will have "children" in the form of seasons and a season will have "children" in the form of episodes and episodes have "parent" in the form of a season which has a "parent" in the form of a show. Similarly, a show has "grandchildren" in the form of episodse and an episode has a "grandparent" in the form of a show.
func (*Items) GetAbsoluteIndex ¶ added in v0.26.0
func (*Items) GetAddedAt ¶ added in v0.26.0
func (*Items) GetAdditionalProperties ¶ added in v0.26.0
func (*Items) GetAudienceRating ¶ added in v0.26.0
func (*Items) GetAudienceRatingImage ¶ added in v0.26.0
func (*Items) GetAutotag ¶ added in v0.26.0
func (*Items) GetChapterSource ¶ added in v0.26.0
func (*Items) GetComposite ¶ added in v0.26.0
func (*Items) GetContentRating ¶ added in v0.26.0
func (*Items) GetCountry ¶ added in v0.26.0
func (*Items) GetDirector ¶ added in v0.26.0
func (*Items) GetDuration ¶ added in v0.26.0
func (*Items) GetGrandparentArt ¶ added in v0.26.0
func (*Items) GetGrandparentHero ¶ added in v0.26.0
func (*Items) GetGrandparentKey ¶ added in v0.26.0
func (*Items) GetGrandparentRatingKey ¶ added in v0.26.0
func (*Items) GetGrandparentTheme ¶ added in v0.26.0
func (*Items) GetGrandparentThumb ¶ added in v0.26.0
func (*Items) GetGrandparentTitle ¶ added in v0.26.0
func (*Items) GetLastViewedAt ¶ added in v0.26.0
func (*Items) GetLeafCount ¶ added in v0.26.0
func (*Items) GetMetadataItem ¶ added in v0.26.0
func (*Items) GetOriginalTitle ¶ added in v0.26.0
func (*Items) GetOriginallyAvailableAt ¶ added in v0.26.0
func (*Items) GetParentHero ¶ added in v0.26.0
func (*Items) GetParentIndex ¶ added in v0.26.0
func (*Items) GetParentKey ¶ added in v0.26.0
func (*Items) GetParentRatingKey ¶ added in v0.26.0
func (*Items) GetParentThumb ¶ added in v0.26.0
func (*Items) GetParentTitle ¶ added in v0.26.0
func (*Items) GetPrimaryExtraKey ¶ added in v0.26.0
func (*Items) GetRatingArray ¶ added in v0.26.0
func (*Items) GetRatingCount ¶ added in v0.26.0
func (*Items) GetRatingImage ¶ added in v0.26.0
func (*Items) GetRatingKey ¶ added in v0.26.0
func (*Items) GetSecondary ¶ added in v0.26.0
func (*Items) GetSkipChildren ¶ added in v0.26.0
func (*Items) GetSkipParent ¶ added in v0.26.0
func (*Items) GetSubtype ¶ added in v0.26.0
func (*Items) GetSummary ¶ added in v0.26.0
func (*Items) GetTagline ¶ added in v0.26.0
func (*Items) GetTitleSort ¶ added in v0.26.0
func (*Items) GetUpdatedAt ¶ added in v0.26.0
func (*Items) GetUserRating ¶ added in v0.26.0
func (*Items) GetViewCount ¶ added in v0.26.0
func (*Items) GetViewOffset ¶ added in v0.26.0
func (*Items) GetViewedLeafCount ¶ added in v0.26.0
func (Items) MarshalJSON ¶ added in v0.26.0
func (*Items) UnmarshalJSON ¶ added in v0.26.0
type LibrarySection ¶ added in v0.26.0
type LibrarySection struct {
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
Agent *string `json:"agent,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Art *string `json:"art,omitempty"`
Composite *string `json:"composite,omitempty"`
Content *bool `json:"content,omitempty"`
ContentChangedAt *int64 `json:"contentChangedAt,omitempty"`
CreatedAt *int64 `json:"createdAt,omitempty"`
Directory *bool `json:"directory,omitempty"`
// Indicates whether this section has filtering capabilities
Filters *bool `json:"filters,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
Key *string `json:"key,omitempty"`
Language *string `json:"language,omitempty"`
Location []LibrarySectionLocation `json:"Location,omitempty"`
// Indicates whether this library section is currently scanning
Refreshing *bool `json:"refreshing,omitempty"`
ScannedAt *int64 `json:"scannedAt,omitempty"`
Scanner *string `json:"scanner,omitempty"`
Thumb *string `json:"thumb,omitempty"`
UpdatedAt *int64 `json:"updatedAt,omitempty"`
}
func (*LibrarySection) GetAgent ¶ added in v0.26.0
func (l *LibrarySection) GetAgent() *string
func (*LibrarySection) GetAllowSync ¶ added in v0.26.0
func (l *LibrarySection) GetAllowSync() *bool
func (*LibrarySection) GetArt ¶ added in v0.26.0
func (l *LibrarySection) GetArt() *string
func (*LibrarySection) GetComposite ¶ added in v0.26.0
func (l *LibrarySection) GetComposite() *string
func (*LibrarySection) GetContent ¶ added in v0.26.0
func (l *LibrarySection) GetContent() *bool
func (*LibrarySection) GetContentChangedAt ¶ added in v0.26.0
func (l *LibrarySection) GetContentChangedAt() *int64
func (*LibrarySection) GetCreatedAt ¶ added in v0.26.0
func (l *LibrarySection) GetCreatedAt() *int64
func (*LibrarySection) GetDirectory ¶ added in v0.26.0
func (l *LibrarySection) GetDirectory() *bool
func (*LibrarySection) GetFilters ¶ added in v0.26.0
func (l *LibrarySection) GetFilters() *bool
func (*LibrarySection) GetHidden ¶ added in v0.26.0
func (l *LibrarySection) GetHidden() *bool
func (*LibrarySection) GetKey ¶ added in v0.26.0
func (l *LibrarySection) GetKey() *string
func (*LibrarySection) GetLanguage ¶ added in v0.26.0
func (l *LibrarySection) GetLanguage() *string
func (*LibrarySection) GetLocation ¶ added in v0.26.0
func (l *LibrarySection) GetLocation() []LibrarySectionLocation
func (*LibrarySection) GetRefreshing ¶ added in v0.26.0
func (l *LibrarySection) GetRefreshing() *bool
func (*LibrarySection) GetScannedAt ¶ added in v0.26.0
func (l *LibrarySection) GetScannedAt() *int64
func (*LibrarySection) GetScanner ¶ added in v0.26.0
func (l *LibrarySection) GetScanner() *string
func (*LibrarySection) GetThumb ¶ added in v0.26.0
func (l *LibrarySection) GetThumb() *string
func (*LibrarySection) GetTitle ¶ added in v0.26.0
func (l *LibrarySection) GetTitle() *string
func (*LibrarySection) GetType ¶ added in v0.26.0
func (l *LibrarySection) GetType() *string
func (*LibrarySection) GetUpdatedAt ¶ added in v0.26.0
func (l *LibrarySection) GetUpdatedAt() *int64
type LibrarySectionLocation ¶ added in v0.26.0
type LibrarySectionLocation struct {
ID *int64 `json:"id,omitempty"`
// The path of where this directory exists on disk
Path any `json:"path,omitempty"`
}
LibrarySectionLocation - Represents a top-level location on disk where media in this library section is stored
func (*LibrarySectionLocation) GetID ¶ added in v0.26.0
func (l *LibrarySectionLocation) GetID() *int64
func (*LibrarySectionLocation) GetPath ¶ added in v0.26.0
func (l *LibrarySectionLocation) GetPath() any
type Lineup ¶ added in v0.26.0
type Lineup struct {
Title *string `json:"title,omitempty"`
// The type of this object (`lineup` in this case)
Type *string `json:"type,omitempty"`
// - `-1`: N/A
// - `0`: Over the air
// - `1`: Cable
// - `2`: Satellite
// - `3`: IPTV
// - `4`: Virtual
//
LineupType *LineupType `json:"lineupType,omitempty"`
Location *string `json:"location,omitempty"`
// The uuid of this lineup
UUID *string `json:"uuid,omitempty"`
}
func (*Lineup) GetLineupType ¶ added in v0.26.0
func (l *Lineup) GetLineupType() *LineupType
func (*Lineup) GetLocation ¶ added in v0.26.0
type LineupType ¶ added in v0.26.0
type LineupType int64
LineupType - - `-1`: N/A - `0`: Over the air - `1`: Cable - `2`: Satellite - `3`: IPTV - `4`: Virtual
const ( LineupTypeMinus1 LineupType = -1 LineupTypeZero LineupType = 0 LineupTypeOne LineupType = 1 LineupTypeTwo LineupType = 2 LineupTypeThree LineupType = 3 LineupTypeFour LineupType = 4 )
func (LineupType) ToPointer ¶ added in v0.26.0
func (e LineupType) ToPointer() *LineupType
func (*LineupType) UnmarshalJSON ¶ added in v0.26.0
func (e *LineupType) UnmarshalJSON(data []byte) error
type Location ¶ added in v0.26.0
type Location string
func (*Location) UnmarshalJSON ¶ added in v0.26.0
type Media ¶ added in v0.26.0
type Media struct {
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *int64 `json:"audioChannels,omitempty"`
AudioCodec any `json:"audioCodec,omitempty"`
AudioProfile any `json:"audioProfile,omitempty"`
Bitrate *int64 `json:"bitrate,omitempty"`
Container any `json:"container,omitempty"`
Duration *int64 `json:"duration,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
HasVoiceActivity *bool `json:"hasVoiceActivity,omitempty"`
Height *int64 `json:"height,omitempty"`
ID *int64 `json:"id,omitempty"`
OptimizedForStreaming *bool `json:"optimizedForStreaming,omitempty"`
Part []Part `json:"Part,omitempty"`
VideoCodec any `json:"videoCodec,omitempty"`
VideoFrameRate any `json:"videoFrameRate,omitempty"`
VideoProfile any `json:"videoProfile,omitempty"`
VideoResolution any `json:"videoResolution,omitempty"`
Width *int64 `json:"width,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
Media - `Media` represents an one or more media files (parts) and is a child of a metadata item. There aren't necessarily any guaranteed attributes on media elements since the attributes will vary based on the type. The possible attributes are not documented here, but they typically have self-evident names. High-level media information that can be used for badging and flagging, such as `videoResolution` and codecs, is included on the media element.
func (*Media) GetAdditionalProperties ¶ added in v0.26.0
func (*Media) GetAspectRatio ¶ added in v0.26.0
func (*Media) GetAudioChannels ¶ added in v0.26.0
func (*Media) GetAudioCodec ¶ added in v0.26.0
func (*Media) GetAudioProfile ¶ added in v0.26.0
func (*Media) GetBitrate ¶ added in v0.26.0
func (*Media) GetContainer ¶ added in v0.26.0
func (*Media) GetDuration ¶ added in v0.26.0
func (*Media) GetHas64bitOffsets ¶ added in v0.26.0
func (*Media) GetHasVoiceActivity ¶ added in v0.26.0
func (*Media) GetOptimizedForStreaming ¶ added in v0.26.0
func (*Media) GetVideoCodec ¶ added in v0.26.0
func (*Media) GetVideoFrameRate ¶ added in v0.26.0
func (*Media) GetVideoProfile ¶ added in v0.26.0
func (*Media) GetVideoResolution ¶ added in v0.26.0
func (Media) MarshalJSON ¶ added in v0.26.0
func (*Media) UnmarshalJSON ¶ added in v0.26.0
type MediaContainer ¶ added in v0.26.0
type MediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
}
MediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainer) GetIdentifier() *string
func (*MediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainer) GetOffset() *int64
func (*MediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainer) GetSize() *int64
func (*MediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainer) GetTotalSize() *int64
type MediaContainerWithArtwork ¶ added in v0.26.0
type MediaContainerWithArtwork struct {
MediaContainer *MediaContainerWithArtworkMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithArtwork) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithArtwork) GetMediaContainer() *MediaContainerWithArtworkMediaContainer
type MediaContainerWithArtworkMediaContainer ¶ added in v0.26.0
type MediaContainerWithArtworkMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Metadata []MediaContainerWithArtworkMetadata `json:"Metadata,omitempty"`
}
MediaContainerWithArtworkMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithArtworkMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMediaContainer) GetIdentifier() *string
func (*MediaContainerWithArtworkMediaContainer) GetMetadata ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMediaContainer) GetMetadata() []MediaContainerWithArtworkMetadata
func (*MediaContainerWithArtworkMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMediaContainer) GetOffset() *int64
func (*MediaContainerWithArtworkMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMediaContainer) GetSize() *int64
func (*MediaContainerWithArtworkMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMediaContainer) GetTotalSize() *int64
type MediaContainerWithArtworkMetadata ¶ added in v0.26.0
type MediaContainerWithArtworkMetadata struct {
// The title of the item
Title *string `json:"title,omitempty"`
Type *MediaContainerWithArtworkType `json:"type,omitempty"`
// The path to the artwork
Key *string `json:"key,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
func (*MediaContainerWithArtworkMetadata) GetAdditionalProperties ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMetadata) GetAdditionalProperties() map[string]any
func (*MediaContainerWithArtworkMetadata) GetKey ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMetadata) GetKey() *string
func (*MediaContainerWithArtworkMetadata) GetTitle ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMetadata) GetTitle() *string
func (*MediaContainerWithArtworkMetadata) GetType ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMetadata) GetType() *MediaContainerWithArtworkType
func (MediaContainerWithArtworkMetadata) MarshalJSON ¶ added in v0.26.0
func (m MediaContainerWithArtworkMetadata) MarshalJSON() ([]byte, error)
func (*MediaContainerWithArtworkMetadata) UnmarshalJSON ¶ added in v0.26.0
func (m *MediaContainerWithArtworkMetadata) UnmarshalJSON(data []byte) error
type MediaContainerWithArtworkType ¶ added in v0.26.0
type MediaContainerWithArtworkType string
const (
MediaContainerWithArtworkTypeImage MediaContainerWithArtworkType = "image"
)
func (MediaContainerWithArtworkType) ToPointer ¶ added in v0.26.0
func (e MediaContainerWithArtworkType) ToPointer() *MediaContainerWithArtworkType
func (*MediaContainerWithArtworkType) UnmarshalJSON ¶ added in v0.26.0
func (e *MediaContainerWithArtworkType) UnmarshalJSON(data []byte) error
type MediaContainerWithDecision ¶ added in v0.26.0
type MediaContainerWithDecision struct {
MediaContainer *MediaContainerWithDecisionMediaContainer `json:"MediaContainer,omitempty"`
}
MediaContainerWithDecision - `MediaContainer` is commonly found as the root of a response and is a pretty generic container. Common attributes include `identifier` and things related to paging (`offset`, `size`, `totalSize`).
It is also common for a `MediaContainer` to contain attributes "hoisted" from its children. If every element in the container would have had the same attribute, then that attribute can be present on the container instead of being repeated on every element. For example, an album's list of tracks might include `parentTitle` on the container since all of the tracks have the same album title. A container may have a `source` attribute when all of the items came from the same source. Generally speaking, when looking for an attribute on an item, if the attribute wasn't found then the container should be checked for that attribute as well.
func (*MediaContainerWithDecision) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithDecision) GetMediaContainer() *MediaContainerWithDecisionMediaContainer
type MediaContainerWithDecisionDecision ¶ added in v0.26.0
type MediaContainerWithDecisionDecision string
const ( MediaContainerWithDecisionDecisionCopy MediaContainerWithDecisionDecision = "copy" MediaContainerWithDecisionDecisionTranscode MediaContainerWithDecisionDecision = "transcode" MediaContainerWithDecisionDecisionBurn MediaContainerWithDecisionDecision = "burn" MediaContainerWithDecisionDecisionIgnore MediaContainerWithDecisionDecision = "ignore" MediaContainerWithDecisionDecisionNone MediaContainerWithDecisionDecision = "none" )
func (MediaContainerWithDecisionDecision) ToPointer ¶ added in v0.26.0
func (e MediaContainerWithDecisionDecision) ToPointer() *MediaContainerWithDecisionDecision
func (*MediaContainerWithDecisionDecision) UnmarshalJSON ¶ added in v0.26.0
func (e *MediaContainerWithDecisionDecision) UnmarshalJSON(data []byte) error
type MediaContainerWithDecisionLocation ¶ added in v0.26.0
type MediaContainerWithDecisionLocation string
const ( MediaContainerWithDecisionLocationDirect MediaContainerWithDecisionLocation = "direct" MediaContainerWithDecisionLocationSidecarSubs MediaContainerWithDecisionLocation = "sidecar-subs" MediaContainerWithDecisionLocationSegmentsVideo MediaContainerWithDecisionLocation = "segments-video" MediaContainerWithDecisionLocationSegmentsAudio MediaContainerWithDecisionLocation = "segments-audio" MediaContainerWithDecisionLocationSegmentsAv MediaContainerWithDecisionLocation = "segments-av" MediaContainerWithDecisionLocationSegmentsSubs MediaContainerWithDecisionLocation = "segments-subs" MediaContainerWithDecisionLocationEmbedded MediaContainerWithDecisionLocation = "embedded" MediaContainerWithDecisionLocationSidecar MediaContainerWithDecisionLocation = "sidecar" )
func (MediaContainerWithDecisionLocation) ToPointer ¶ added in v0.26.0
func (e MediaContainerWithDecisionLocation) ToPointer() *MediaContainerWithDecisionLocation
func (*MediaContainerWithDecisionLocation) UnmarshalJSON ¶ added in v0.26.0
func (e *MediaContainerWithDecisionLocation) UnmarshalJSON(data []byte) error
type MediaContainerWithDecisionMedia ¶ added in v0.26.0
type MediaContainerWithDecisionMedia struct {
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *int64 `json:"audioChannels,omitempty"`
AudioCodec any `json:"audioCodec,omitempty"`
AudioProfile any `json:"audioProfile,omitempty"`
Bitrate *int64 `json:"bitrate,omitempty"`
Container any `json:"container,omitempty"`
Duration *int64 `json:"duration,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
HasVoiceActivity *bool `json:"hasVoiceActivity,omitempty"`
Height *int64 `json:"height,omitempty"`
ID *int64 `json:"id,omitempty"`
OptimizedForStreaming *bool `json:"optimizedForStreaming,omitempty"`
Part []MediaContainerWithDecisionPart `json:"Part,omitempty"`
VideoCodec any `json:"videoCodec,omitempty"`
VideoFrameRate any `json:"videoFrameRate,omitempty"`
VideoProfile any `json:"videoProfile,omitempty"`
VideoResolution any `json:"videoResolution,omitempty"`
Width *int64 `json:"width,omitempty"`
Abr *bool `json:"abr,omitempty"`
ResourceSession *string `json:"resourceSession,omitempty"`
Selected *bool `json:"selected,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
MediaContainerWithDecisionMedia - `Media` represents an one or more media files (parts) and is a child of a metadata item. There aren't necessarily any guaranteed attributes on media elements since the attributes will vary based on the type. The possible attributes are not documented here, but they typically have self-evident names. High-level media information that can be used for badging and flagging, such as `videoResolution` and codecs, is included on the media element.
func (*MediaContainerWithDecisionMedia) GetAbr ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetAbr() *bool
func (*MediaContainerWithDecisionMedia) GetAdditionalProperties ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetAdditionalProperties() map[string]any
func (*MediaContainerWithDecisionMedia) GetAspectRatio ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetAspectRatio() *float64
func (*MediaContainerWithDecisionMedia) GetAudioChannels ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetAudioChannels() *int64
func (*MediaContainerWithDecisionMedia) GetAudioCodec ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetAudioCodec() any
func (*MediaContainerWithDecisionMedia) GetAudioProfile ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetAudioProfile() any
func (*MediaContainerWithDecisionMedia) GetBitrate ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetBitrate() *int64
func (*MediaContainerWithDecisionMedia) GetContainer ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetContainer() any
func (*MediaContainerWithDecisionMedia) GetDuration ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetDuration() *int64
func (*MediaContainerWithDecisionMedia) GetHas64bitOffsets ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetHas64bitOffsets() *bool
func (*MediaContainerWithDecisionMedia) GetHasVoiceActivity ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetHasVoiceActivity() *bool
func (*MediaContainerWithDecisionMedia) GetHeight ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetHeight() *int64
func (*MediaContainerWithDecisionMedia) GetID ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetID() *int64
func (*MediaContainerWithDecisionMedia) GetOptimizedForStreaming ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetOptimizedForStreaming() *bool
func (*MediaContainerWithDecisionMedia) GetPart ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetPart() []MediaContainerWithDecisionPart
func (*MediaContainerWithDecisionMedia) GetResourceSession ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetResourceSession() *string
func (*MediaContainerWithDecisionMedia) GetSelected ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetSelected() *bool
func (*MediaContainerWithDecisionMedia) GetVideoCodec ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetVideoCodec() any
func (*MediaContainerWithDecisionMedia) GetVideoFrameRate ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetVideoFrameRate() any
func (*MediaContainerWithDecisionMedia) GetVideoProfile ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetVideoProfile() any
func (*MediaContainerWithDecisionMedia) GetVideoResolution ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetVideoResolution() any
func (*MediaContainerWithDecisionMedia) GetWidth ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) GetWidth() *int64
func (MediaContainerWithDecisionMedia) MarshalJSON ¶ added in v0.26.0
func (m MediaContainerWithDecisionMedia) MarshalJSON() ([]byte, error)
func (*MediaContainerWithDecisionMedia) UnmarshalJSON ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMedia) UnmarshalJSON(data []byte) error
type MediaContainerWithDecisionMediaContainer ¶ added in v0.26.0
type MediaContainerWithDecisionMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
// The maximum available bitrate when the decision was rendered.
AvailableBandwidth *int64 `json:"availableBandwidth,omitempty"`
DirectPlayDecisionCode *int64 `json:"directPlayDecisionCode,omitempty"`
DirectPlayDecisionText *string `json:"directPlayDecisionText,omitempty"`
// The overall decision. 1xxx are playback can succeed, 2xxx are a general error (such as insufficient bandwidth), 3xxx are errors in direct play, and 4xxx are errors in transcodes. Same codes are used in all.
GeneralDecisionCode *int64 `json:"generalDecisionCode,omitempty"`
GeneralDecisionText *string `json:"generalDecisionText,omitempty"`
// The code indicating the status of evaluation of playback when client indicates `hasMDE=1`
MdeDecisionCode *int64 `json:"mdeDecisionCode,omitempty"`
// Descriptive text for the above code
MdeDecisionText *string `json:"mdeDecisionText,omitempty"`
Metadata []MediaContainerWithDecisionMetadata `json:"Metadata,omitempty"`
TranscodeDecisionCode *int64 `json:"transcodeDecisionCode,omitempty"`
TranscodeDecisionText *string `json:"transcodeDecisionText,omitempty"`
}
MediaContainerWithDecisionMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithDecisionMediaContainer) GetAvailableBandwidth ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetAvailableBandwidth() *int64
func (*MediaContainerWithDecisionMediaContainer) GetDirectPlayDecisionCode ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetDirectPlayDecisionCode() *int64
func (*MediaContainerWithDecisionMediaContainer) GetDirectPlayDecisionText ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetDirectPlayDecisionText() *string
func (*MediaContainerWithDecisionMediaContainer) GetGeneralDecisionCode ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetGeneralDecisionCode() *int64
func (*MediaContainerWithDecisionMediaContainer) GetGeneralDecisionText ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetGeneralDecisionText() *string
func (*MediaContainerWithDecisionMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetIdentifier() *string
func (*MediaContainerWithDecisionMediaContainer) GetMdeDecisionCode ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetMdeDecisionCode() *int64
func (*MediaContainerWithDecisionMediaContainer) GetMdeDecisionText ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetMdeDecisionText() *string
func (*MediaContainerWithDecisionMediaContainer) GetMetadata ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetMetadata() []MediaContainerWithDecisionMetadata
func (*MediaContainerWithDecisionMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetOffset() *int64
func (*MediaContainerWithDecisionMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetSize() *int64
func (*MediaContainerWithDecisionMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetTotalSize() *int64
func (*MediaContainerWithDecisionMediaContainer) GetTranscodeDecisionCode ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetTranscodeDecisionCode() *int64
func (*MediaContainerWithDecisionMediaContainer) GetTranscodeDecisionText ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMediaContainer) GetTranscodeDecisionText() *string
type MediaContainerWithDecisionMetadata ¶ added in v0.26.0
type MediaContainerWithDecisionMetadata struct {
// The title of the item (e.g. “300” or “The Simpsons”)
Title any `json:"title,omitempty"`
// The type of the video item, such as `movie`, `episode`, or `clip`.
Type any `json:"type,omitempty"`
// When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex *int64 `json:"absoluteIndex,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt *int64 `json:"addedAt,omitempty"`
// When present, the URL for the background artwork for the item.
Art any `json:"art,omitempty"`
// Some rating systems separate reviewer ratings from audience ratings
AudienceRating *float64 `json:"audienceRating,omitempty"`
// A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage any `json:"audienceRatingImage,omitempty"`
Autotag []Tag `json:"Autotag,omitempty"`
// When present, the URL for a banner graphic for the item.
Banner any `json:"banner,omitempty"`
// When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource any `json:"chapterSource,omitempty"`
// When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite any `json:"composite,omitempty"`
// If known, the content rating (e.g. MPAA) for an item.
ContentRating any `json:"contentRating,omitempty"`
Country []Tag `json:"Country,omitempty"`
Director []Tag `json:"Director,omitempty"`
// When present, the duration for the item, in units of milliseconds.
Duration *int64 `json:"duration,omitempty"`
// Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty"`
Genre []Tag `json:"Genre,omitempty"`
// The `art` of the grandparent
GrandparentArt *string `json:"grandparentArt,omitempty"`
// The `hero` of the grandparent
GrandparentHero *string `json:"grandparentHero,omitempty"`
// The `key` of the grandparent
GrandparentKey *string `json:"grandparentKey,omitempty"`
// The `ratingKey` of the grandparent
GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
// The `theme` of the grandparent
GrandparentTheme *string `json:"grandparentTheme,omitempty"`
// The `thumb` of the grandparent
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
// The `title` of the grandparent
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
GUID []Tag `json:"Guid,omitempty"`
// When present, the URL for a hero image for the item.
Hero any `json:"hero,omitempty"`
Image []Image `json:"Image,omitempty"`
// When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index *int64 `json:"index,omitempty"`
// The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key any `json:"key,omitempty"`
// When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt *int64 `json:"lastViewedAt,omitempty"`
// For shows and seasons, contains the number of total episodes.
LeafCount *int64 `json:"leafCount,omitempty"`
Media []MediaContainerWithDecisionMedia `json:"Media,omitempty"`
// When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt any `json:"originallyAvailableAt,omitempty"`
// When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle any `json:"originalTitle,omitempty"`
// The `hero` of the parent
ParentHero *string `json:"parentHero,omitempty"`
// The `index` of the parent
ParentIndex *int64 `json:"parentIndex,omitempty"`
// The `key` of the parent
ParentKey *string `json:"parentKey,omitempty"`
// The `ratingKey` of the parent
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
// The `thumb` of the parent
ParentThumb *string `json:"parentThumb,omitempty"`
// The `title` of the parent
ParentTitle *string `json:"parentTitle,omitempty"`
// Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey any `json:"primaryExtraKey,omitempty"`
// Prompt to give the user for this directory (such as `Search Movies`)
Prompt *string `json:"prompt,omitempty"`
// When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating *float64 `json:"rating,omitempty"`
RatingArray []Tag `json:"Rating,omitempty"`
// Number of ratings under this metadata
RatingCount *int64 `json:"ratingCount,omitempty"`
// When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage any `json:"ratingImage,omitempty"`
// This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey any `json:"ratingKey,omitempty"`
Role []Tag `json:"Role,omitempty"`
// Indicates this is a search directory
Search *bool `json:"search,omitempty"`
// Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary *bool `json:"secondary,omitempty"`
// When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren *bool `json:"skipChildren,omitempty"`
// When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent *bool `json:"skipParent,omitempty"`
// Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty"`
// When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio any `json:"studio,omitempty"`
// The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype any `json:"subtype,omitempty"`
// When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary any `json:"summary,omitempty"`
// When present, a pithy one-liner about the item (usually only seen for movies).
Tagline any `json:"tagline,omitempty"`
// When present, the URL for theme music for the item (usually only for TV shows).
Theme any `json:"theme,omitempty"`
// When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb any `json:"thumb,omitempty"`
// Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort any `json:"titleSort,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt *int64 `json:"updatedAt,omitempty"`
// When the user has rated an item, this contains the user rating
UserRating *float64 `json:"userRating,omitempty"`
// When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount *int64 `json:"viewCount,omitempty"`
// For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount *int64 `json:"viewedLeafCount,omitempty"`
// When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset *int64 `json:"viewOffset,omitempty"`
Writer []Tag `json:"Writer,omitempty"`
// When present, the year associated with the item's release (e.g. release year for a movie).
Year *int64 `json:"year,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
MediaContainerWithDecisionMetadata - Items in a library are referred to as "metadata items." These metadata items are distinct from "media items" which represent actual instances of media that can be consumed. Consider a TV library that has a single video file in it for a particular episode of a show. The library has a single media item, but it has three metadata items: one for the show, one for the season, and one for the episode. Consider a movie library that has two video files in it: the same movie, but two different resolutions. The library has a single metadata item for the movie, but that metadata item has two media items, one for each resolution. Additionally a "media item" will have one or more "media parts" where the the parts are intended to be watched together, such as a CD1 and CD2 parts of the same movie.
Note that when a metadata item has multiple media items, those media items should be isomorphic. That is, a 4K version and 1080p version of a movie are different versions of the same movie. They have the same duration, same summary, same rating, etc. and they can generally be considered interchangeable. A theatrical release vs. director's cut vs. unrated version on the other hand would be separate metadata items.
Metadata items can often live in a hierarchy with relationships between them. For example, the metadata item for an episodes is associated with a season metadata item which is associated with a show metadata item. A similar hierarchy exists with track, album, and artist and photos and photo album. The relationships may be expressed via relative terms and absolute terms. For example, "leaves" refer to metadata items which has associated media (there is no media for a season nor show). A show will have "children" in the form of seasons and a season will have "children" in the form of episodes and episodes have "parent" in the form of a season which has a "parent" in the form of a show. Similarly, a show has "grandchildren" in the form of episodse and an episode has a "grandparent" in the form of a show.
func (*MediaContainerWithDecisionMetadata) GetAbsoluteIndex ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetAbsoluteIndex() *int64
func (*MediaContainerWithDecisionMetadata) GetAddedAt ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetAddedAt() *int64
func (*MediaContainerWithDecisionMetadata) GetAdditionalProperties ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetAdditionalProperties() map[string]any
func (*MediaContainerWithDecisionMetadata) GetArt ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetArt() any
func (*MediaContainerWithDecisionMetadata) GetAudienceRating ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetAudienceRating() *float64
func (*MediaContainerWithDecisionMetadata) GetAudienceRatingImage ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetAudienceRatingImage() any
func (*MediaContainerWithDecisionMetadata) GetAutotag ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetAutotag() []Tag
func (*MediaContainerWithDecisionMetadata) GetBanner ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetBanner() any
func (*MediaContainerWithDecisionMetadata) GetChapterSource ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetChapterSource() any
func (*MediaContainerWithDecisionMetadata) GetComposite ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetComposite() any
func (*MediaContainerWithDecisionMetadata) GetContentRating ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetContentRating() any
func (*MediaContainerWithDecisionMetadata) GetCountry ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetCountry() []Tag
func (*MediaContainerWithDecisionMetadata) GetDirector ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetDirector() []Tag
func (*MediaContainerWithDecisionMetadata) GetDuration ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetDuration() *int64
func (*MediaContainerWithDecisionMetadata) GetFilter ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetFilter() []Filter
func (*MediaContainerWithDecisionMetadata) GetGUID ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGUID() []Tag
func (*MediaContainerWithDecisionMetadata) GetGenre ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGenre() []Tag
func (*MediaContainerWithDecisionMetadata) GetGrandparentArt ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGrandparentArt() *string
func (*MediaContainerWithDecisionMetadata) GetGrandparentHero ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGrandparentHero() *string
func (*MediaContainerWithDecisionMetadata) GetGrandparentKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGrandparentKey() *string
func (*MediaContainerWithDecisionMetadata) GetGrandparentRatingKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGrandparentRatingKey() *string
func (*MediaContainerWithDecisionMetadata) GetGrandparentTheme ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGrandparentTheme() *string
func (*MediaContainerWithDecisionMetadata) GetGrandparentThumb ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGrandparentThumb() *string
func (*MediaContainerWithDecisionMetadata) GetGrandparentTitle ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetGrandparentTitle() *string
func (*MediaContainerWithDecisionMetadata) GetHero ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetHero() any
func (*MediaContainerWithDecisionMetadata) GetImage ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetImage() []Image
func (*MediaContainerWithDecisionMetadata) GetIndex ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetIndex() *int64
func (*MediaContainerWithDecisionMetadata) GetKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetKey() any
func (*MediaContainerWithDecisionMetadata) GetLastViewedAt ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetLastViewedAt() *int64
func (*MediaContainerWithDecisionMetadata) GetLeafCount ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetLeafCount() *int64
func (*MediaContainerWithDecisionMetadata) GetMedia ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetMedia() []MediaContainerWithDecisionMedia
func (*MediaContainerWithDecisionMetadata) GetOriginalTitle ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetOriginalTitle() any
func (*MediaContainerWithDecisionMetadata) GetOriginallyAvailableAt ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetOriginallyAvailableAt() any
func (*MediaContainerWithDecisionMetadata) GetParentHero ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetParentHero() *string
func (*MediaContainerWithDecisionMetadata) GetParentIndex ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetParentIndex() *int64
func (*MediaContainerWithDecisionMetadata) GetParentKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetParentKey() *string
func (*MediaContainerWithDecisionMetadata) GetParentRatingKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetParentRatingKey() *string
func (*MediaContainerWithDecisionMetadata) GetParentThumb ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetParentThumb() *string
func (*MediaContainerWithDecisionMetadata) GetParentTitle ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetParentTitle() *string
func (*MediaContainerWithDecisionMetadata) GetPrimaryExtraKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetPrimaryExtraKey() any
func (*MediaContainerWithDecisionMetadata) GetPrompt ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetPrompt() *string
func (*MediaContainerWithDecisionMetadata) GetRating ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetRating() *float64
func (*MediaContainerWithDecisionMetadata) GetRatingArray ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetRatingArray() []Tag
func (*MediaContainerWithDecisionMetadata) GetRatingCount ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetRatingCount() *int64
func (*MediaContainerWithDecisionMetadata) GetRatingImage ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetRatingImage() any
func (*MediaContainerWithDecisionMetadata) GetRatingKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetRatingKey() any
func (*MediaContainerWithDecisionMetadata) GetRole ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetRole() []Tag
func (*MediaContainerWithDecisionMetadata) GetSearch ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetSearch() *bool
func (*MediaContainerWithDecisionMetadata) GetSecondary ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetSecondary() *bool
func (*MediaContainerWithDecisionMetadata) GetSkipChildren ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetSkipChildren() *bool
func (*MediaContainerWithDecisionMetadata) GetSkipParent ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetSkipParent() *bool
func (*MediaContainerWithDecisionMetadata) GetSort ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetSort() []Sort
func (*MediaContainerWithDecisionMetadata) GetStudio ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetStudio() any
func (*MediaContainerWithDecisionMetadata) GetSubtype ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetSubtype() any
func (*MediaContainerWithDecisionMetadata) GetSummary ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetSummary() any
func (*MediaContainerWithDecisionMetadata) GetTagline ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetTagline() any
func (*MediaContainerWithDecisionMetadata) GetTheme ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetTheme() any
func (*MediaContainerWithDecisionMetadata) GetThumb ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetThumb() any
func (*MediaContainerWithDecisionMetadata) GetTitle ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetTitle() any
func (*MediaContainerWithDecisionMetadata) GetTitleSort ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetTitleSort() any
func (*MediaContainerWithDecisionMetadata) GetType ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetType() any
func (*MediaContainerWithDecisionMetadata) GetUpdatedAt ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetUpdatedAt() *int64
func (*MediaContainerWithDecisionMetadata) GetUserRating ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetUserRating() *float64
func (*MediaContainerWithDecisionMetadata) GetViewCount ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetViewCount() *int64
func (*MediaContainerWithDecisionMetadata) GetViewOffset ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetViewOffset() *int64
func (*MediaContainerWithDecisionMetadata) GetViewedLeafCount ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetViewedLeafCount() *int64
func (*MediaContainerWithDecisionMetadata) GetWriter ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetWriter() []Tag
func (*MediaContainerWithDecisionMetadata) GetYear ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) GetYear() *int64
func (MediaContainerWithDecisionMetadata) MarshalJSON ¶ added in v0.26.0
func (m MediaContainerWithDecisionMetadata) MarshalJSON() ([]byte, error)
func (*MediaContainerWithDecisionMetadata) UnmarshalJSON ¶ added in v0.26.0
func (m *MediaContainerWithDecisionMetadata) UnmarshalJSON(data []byte) error
type MediaContainerWithDecisionPart ¶ added in v0.26.0
type MediaContainerWithDecisionPart struct {
AudioProfile any `json:"audioProfile,omitempty"`
// The container of the media file, such as `mp4` or `mkv`
Container any `json:"container,omitempty"`
// The duration of the media item, in milliseconds
Duration *int64 `json:"duration,omitempty"`
// The local file path at which the part is stored on the server
File any `json:"file,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
ID *int64 `json:"id,omitempty"`
// The key from which the media can be streamed
Key any `json:"key,omitempty"`
OptimizedForStreaming *bool `json:"optimizedForStreaming,omitempty"`
// The size of the media, in bytes
Size *int64 `json:"size,omitempty"`
Stream []MediaContainerWithDecisionStream `json:"Stream,omitempty"`
VideoProfile any `json:"videoProfile,omitempty"`
Decision *Decision `json:"decision,omitempty"`
Selected *bool `json:"selected,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
MediaContainerWithDecisionPart - `Part` represents a particular file or "part" of a media item. The part is the playable unit of the media hierarchy. Suppose that a movie library contains a movie that is broken up into files, reminiscent of a movie split across two BDs. The metadata item represents information about the movie, the media item represents this instance of the movie at this resolution and quality, and the part items represent the two playable files. If another media were added which contained the joining of these two parts transcoded down to a lower resolution, then this metadata would contain 2 medias, one with 2 parts and one with 1 part.
func (*MediaContainerWithDecisionPart) GetAdditionalProperties ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetAdditionalProperties() map[string]any
func (*MediaContainerWithDecisionPart) GetAudioProfile ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetAudioProfile() any
func (*MediaContainerWithDecisionPart) GetContainer ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetContainer() any
func (*MediaContainerWithDecisionPart) GetDecision ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetDecision() *Decision
func (*MediaContainerWithDecisionPart) GetDuration ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetDuration() *int64
func (*MediaContainerWithDecisionPart) GetFile ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetFile() any
func (*MediaContainerWithDecisionPart) GetHas64bitOffsets ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetHas64bitOffsets() *bool
func (*MediaContainerWithDecisionPart) GetID ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetID() *int64
func (*MediaContainerWithDecisionPart) GetKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetKey() any
func (*MediaContainerWithDecisionPart) GetOptimizedForStreaming ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetOptimizedForStreaming() *bool
func (*MediaContainerWithDecisionPart) GetSelected ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetSelected() *bool
func (*MediaContainerWithDecisionPart) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetSize() *int64
func (*MediaContainerWithDecisionPart) GetStream ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetStream() []MediaContainerWithDecisionStream
func (*MediaContainerWithDecisionPart) GetVideoProfile ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) GetVideoProfile() any
func (MediaContainerWithDecisionPart) MarshalJSON ¶ added in v0.26.0
func (m MediaContainerWithDecisionPart) MarshalJSON() ([]byte, error)
func (*MediaContainerWithDecisionPart) UnmarshalJSON ¶ added in v0.26.0
func (m *MediaContainerWithDecisionPart) UnmarshalJSON(data []byte) error
type MediaContainerWithDecisionStream ¶ added in v0.26.0
type MediaContainerWithDecisionStream struct {
Default *bool `json:"default,omitempty"`
AudioChannelLayout any `json:"audioChannelLayout,omitempty"`
BitDepth *int64 `json:"bitDepth,omitempty"`
Bitrate *int64 `json:"bitrate,omitempty"`
// For subtitle streams only. If `true` then the server can attempt to automatically sync the subtitle timestamps with the video.
CanAutoSync *bool `json:"canAutoSync,omitempty"`
ChromaLocation any `json:"chromaLocation,omitempty"`
ChromaSubsampling any `json:"chromaSubsampling,omitempty"`
// The codec of the stream, such as `h264` or `aac`
Codec any `json:"codec,omitempty"`
ColorPrimaries any `json:"colorPrimaries,omitempty"`
ColorRange any `json:"colorRange,omitempty"`
ColorSpace any `json:"colorSpace,omitempty"`
ColorTrc any `json:"colorTrc,omitempty"`
// A friendly name for the stream, often comprised of the language and codec information
DisplayTitle any `json:"displayTitle,omitempty"`
FrameRate *float64 `json:"frameRate,omitempty"`
HasScalingMatrix any `json:"hasScalingMatrix,omitempty"`
Height *int64 `json:"height,omitempty"`
ID *int64 `json:"id,omitempty"`
// If the stream is part of the `Part` and not an external resource, the index of the stream within that part
Index *int64 `json:"index,omitempty"`
// If the stream is independently streamable, the key from which it can be streamed
Key any `json:"key,omitempty"`
Language any `json:"language,omitempty"`
// The three character language code for the stream contents
LanguageCode any `json:"languageCode,omitempty"`
Level *int64 `json:"level,omitempty"`
Profile any `json:"profile,omitempty"`
RefFrames *int64 `json:"refFrames,omitempty"`
SamplingRate *int64 `json:"samplingRate,omitempty"`
Selected *bool `json:"selected,omitempty"`
StreamIdentifier *int64 `json:"streamIdentifier,omitempty"`
// A number indicating the type of the stream. `1` for video, `2` for audio, `3` for subtitles, `4` for lyrics
StreamType *int64 `json:"streamType,omitempty"`
Width *int64 `json:"width,omitempty"`
Decision *MediaContainerWithDecisionDecision `json:"decision,omitempty"`
Location *MediaContainerWithDecisionLocation `json:"location,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
MediaContainerWithDecisionStream - `Stream` represents a particular stream from a media item, such as the video stream, audio stream, or subtitle stream. The stream may either be part of the file represented by the parent `Part` or, especially for subtitles, an external file. The stream contains more detailed information about the specific stream. For example, a video may include the `aspectRatio` at the `Media` level, but detailed information about the video stream like the color space will be included on the `Stream` for the video stream. Note that photos do not have streams (mostly as an optimization).
func (*MediaContainerWithDecisionStream) GetAdditionalProperties ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetAdditionalProperties() map[string]any
func (*MediaContainerWithDecisionStream) GetAudioChannelLayout ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetAudioChannelLayout() any
func (*MediaContainerWithDecisionStream) GetBitDepth ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetBitDepth() *int64
func (*MediaContainerWithDecisionStream) GetBitrate ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetBitrate() *int64
func (*MediaContainerWithDecisionStream) GetCanAutoSync ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetCanAutoSync() *bool
func (*MediaContainerWithDecisionStream) GetChromaLocation ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetChromaLocation() any
func (*MediaContainerWithDecisionStream) GetChromaSubsampling ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetChromaSubsampling() any
func (*MediaContainerWithDecisionStream) GetCodec ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetCodec() any
func (*MediaContainerWithDecisionStream) GetColorPrimaries ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetColorPrimaries() any
func (*MediaContainerWithDecisionStream) GetColorRange ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetColorRange() any
func (*MediaContainerWithDecisionStream) GetColorSpace ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetColorSpace() any
func (*MediaContainerWithDecisionStream) GetColorTrc ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetColorTrc() any
func (*MediaContainerWithDecisionStream) GetDecision ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetDecision() *MediaContainerWithDecisionDecision
func (*MediaContainerWithDecisionStream) GetDefault ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetDefault() *bool
func (*MediaContainerWithDecisionStream) GetDisplayTitle ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetDisplayTitle() any
func (*MediaContainerWithDecisionStream) GetFrameRate ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetFrameRate() *float64
func (*MediaContainerWithDecisionStream) GetHasScalingMatrix ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetHasScalingMatrix() any
func (*MediaContainerWithDecisionStream) GetHeight ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetHeight() *int64
func (*MediaContainerWithDecisionStream) GetID ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetID() *int64
func (*MediaContainerWithDecisionStream) GetIndex ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetIndex() *int64
func (*MediaContainerWithDecisionStream) GetKey ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetKey() any
func (*MediaContainerWithDecisionStream) GetLanguage ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetLanguage() any
func (*MediaContainerWithDecisionStream) GetLanguageCode ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetLanguageCode() any
func (*MediaContainerWithDecisionStream) GetLevel ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetLevel() *int64
func (*MediaContainerWithDecisionStream) GetLocation ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetLocation() *MediaContainerWithDecisionLocation
func (*MediaContainerWithDecisionStream) GetProfile ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetProfile() any
func (*MediaContainerWithDecisionStream) GetRefFrames ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetRefFrames() *int64
func (*MediaContainerWithDecisionStream) GetSamplingRate ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetSamplingRate() *int64
func (*MediaContainerWithDecisionStream) GetSelected ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetSelected() *bool
func (*MediaContainerWithDecisionStream) GetStreamIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetStreamIdentifier() *int64
func (*MediaContainerWithDecisionStream) GetStreamType ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetStreamType() *int64
func (*MediaContainerWithDecisionStream) GetWidth ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) GetWidth() *int64
func (MediaContainerWithDecisionStream) MarshalJSON ¶ added in v0.26.0
func (m MediaContainerWithDecisionStream) MarshalJSON() ([]byte, error)
func (*MediaContainerWithDecisionStream) UnmarshalJSON ¶ added in v0.26.0
func (m *MediaContainerWithDecisionStream) UnmarshalJSON(data []byte) error
type MediaContainerWithDevice ¶ added in v0.26.0
type MediaContainerWithDevice struct {
MediaContainer *MediaContainerWithDeviceMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithDevice) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithDevice) GetMediaContainer() *MediaContainerWithDeviceMediaContainer
type MediaContainerWithDeviceDevice ¶ added in v0.26.0
type MediaContainerWithDeviceDevice struct {
ChannelMapping []ChannelMapping `json:"ChannelMapping,omitempty"`
Key *string `json:"key,omitempty"`
LastSeenAt *int64 `json:"lastSeenAt,omitempty"`
Make *string `json:"make,omitempty"`
Model *string `json:"model,omitempty"`
ModelNumber *string `json:"modelNumber,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Sources *string `json:"sources,omitempty"`
State *string `json:"state,omitempty"`
Status *string `json:"status,omitempty"`
Tuners *string `json:"tuners,omitempty"`
URI *string `json:"uri,omitempty"`
UUID *string `json:"uuid,omitempty"`
}
func (*MediaContainerWithDeviceDevice) GetChannelMapping ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetChannelMapping() []ChannelMapping
func (*MediaContainerWithDeviceDevice) GetKey ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetKey() *string
func (*MediaContainerWithDeviceDevice) GetLastSeenAt ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetLastSeenAt() *int64
func (*MediaContainerWithDeviceDevice) GetMake ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetMake() *string
func (*MediaContainerWithDeviceDevice) GetModel ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetModel() *string
func (*MediaContainerWithDeviceDevice) GetModelNumber ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetModelNumber() *string
func (*MediaContainerWithDeviceDevice) GetProtocol ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetProtocol() *string
func (*MediaContainerWithDeviceDevice) GetSources ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetSources() *string
func (*MediaContainerWithDeviceDevice) GetState ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetState() *string
func (*MediaContainerWithDeviceDevice) GetStatus ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetStatus() *string
func (*MediaContainerWithDeviceDevice) GetTuners ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetTuners() *string
func (*MediaContainerWithDeviceDevice) GetURI ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetURI() *string
func (*MediaContainerWithDeviceDevice) GetUUID ¶ added in v0.26.0
func (m *MediaContainerWithDeviceDevice) GetUUID() *string
type MediaContainerWithDeviceMediaContainer ¶ added in v0.26.0
type MediaContainerWithDeviceMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Device []MediaContainerWithDeviceDevice `json:"Device,omitempty"`
}
MediaContainerWithDeviceMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithDeviceMediaContainer) GetDevice ¶ added in v0.26.0
func (m *MediaContainerWithDeviceMediaContainer) GetDevice() []MediaContainerWithDeviceDevice
func (*MediaContainerWithDeviceMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithDeviceMediaContainer) GetIdentifier() *string
func (*MediaContainerWithDeviceMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithDeviceMediaContainer) GetOffset() *int64
func (*MediaContainerWithDeviceMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithDeviceMediaContainer) GetSize() *int64
func (*MediaContainerWithDeviceMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithDeviceMediaContainer) GetTotalSize() *int64
type MediaContainerWithDirectory ¶ added in v0.26.0
type MediaContainerWithDirectory struct {
MediaContainer *MediaContainerWithDirectoryMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithDirectory) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithDirectory) GetMediaContainer() *MediaContainerWithDirectoryMediaContainer
type MediaContainerWithDirectoryMediaContainer ¶ added in v0.26.0
type MediaContainerWithDirectoryMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Directory []Directory `json:"Directory,omitempty"`
}
MediaContainerWithDirectoryMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithDirectoryMediaContainer) GetDirectory ¶ added in v0.26.0
func (m *MediaContainerWithDirectoryMediaContainer) GetDirectory() []Directory
func (*MediaContainerWithDirectoryMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithDirectoryMediaContainer) GetIdentifier() *string
func (*MediaContainerWithDirectoryMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithDirectoryMediaContainer) GetOffset() *int64
func (*MediaContainerWithDirectoryMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithDirectoryMediaContainer) GetSize() *int64
func (*MediaContainerWithDirectoryMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithDirectoryMediaContainer) GetTotalSize() *int64
type MediaContainerWithHubs ¶ added in v0.26.0
type MediaContainerWithHubs struct {
MediaContainer *MediaContainerWithHubsMediaContainer `json:"MediaContainer,omitempty"`
}
MediaContainerWithHubs - OK
func (*MediaContainerWithHubs) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithHubs) GetMediaContainer() *MediaContainerWithHubsMediaContainer
type MediaContainerWithHubsMediaContainer ¶ added in v0.26.0
type MediaContainerWithHubsMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Hub []Hub `json:"Hub,omitempty"`
}
MediaContainerWithHubsMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithHubsMediaContainer) GetHub ¶ added in v0.26.0
func (m *MediaContainerWithHubsMediaContainer) GetHub() []Hub
func (*MediaContainerWithHubsMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithHubsMediaContainer) GetIdentifier() *string
func (*MediaContainerWithHubsMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithHubsMediaContainer) GetOffset() *int64
func (*MediaContainerWithHubsMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithHubsMediaContainer) GetSize() *int64
func (*MediaContainerWithHubsMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithHubsMediaContainer) GetTotalSize() *int64
type MediaContainerWithLineup ¶ added in v0.26.0
type MediaContainerWithLineup struct {
MediaContainer *MediaContainerWithLineupMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithLineup) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithLineup) GetMediaContainer() *MediaContainerWithLineupMediaContainer
type MediaContainerWithLineupMediaContainer ¶ added in v0.26.0
type MediaContainerWithLineupMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Lineup []Lineup `json:"Lineup,omitempty"`
// The UUID of this set lineups
UUID *string `json:"uuid,omitempty"`
}
MediaContainerWithLineupMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithLineupMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithLineupMediaContainer) GetIdentifier() *string
func (*MediaContainerWithLineupMediaContainer) GetLineup ¶ added in v0.26.0
func (m *MediaContainerWithLineupMediaContainer) GetLineup() []Lineup
func (*MediaContainerWithLineupMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithLineupMediaContainer) GetOffset() *int64
func (*MediaContainerWithLineupMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithLineupMediaContainer) GetSize() *int64
func (*MediaContainerWithLineupMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithLineupMediaContainer) GetTotalSize() *int64
func (*MediaContainerWithLineupMediaContainer) GetUUID ¶ added in v0.26.0
func (m *MediaContainerWithLineupMediaContainer) GetUUID() *string
type MediaContainerWithMetadata ¶ added in v0.26.0
type MediaContainerWithMetadata struct {
MediaContainer *MediaContainerWithMetadataMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithMetadata) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithMetadata) GetMediaContainer() *MediaContainerWithMetadataMediaContainer
type MediaContainerWithMetadataMediaContainer ¶ added in v0.26.0
type MediaContainerWithMetadataMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Metadata []Metadata `json:"Metadata,omitempty"`
}
MediaContainerWithMetadataMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithMetadataMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithMetadataMediaContainer) GetIdentifier() *string
func (*MediaContainerWithMetadataMediaContainer) GetMetadata ¶ added in v0.26.0
func (m *MediaContainerWithMetadataMediaContainer) GetMetadata() []Metadata
func (*MediaContainerWithMetadataMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithMetadataMediaContainer) GetOffset() *int64
func (*MediaContainerWithMetadataMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithMetadataMediaContainer) GetSize() *int64
func (*MediaContainerWithMetadataMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithMetadataMediaContainer) GetTotalSize() *int64
type MediaContainerWithNestedMetadata ¶ added in v0.26.0
type MediaContainerWithNestedMetadata struct {
MediaContainer *MediaContainerWithNestedMetadataMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithNestedMetadata) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithNestedMetadata) GetMediaContainer() *MediaContainerWithNestedMetadataMediaContainer
type MediaContainerWithNestedMetadataMediaContainer ¶ added in v0.26.0
type MediaContainerWithNestedMetadataMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
MetadataItem []MetadataItem `json:"MetadataItem,omitempty"`
}
MediaContainerWithNestedMetadataMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithNestedMetadataMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithNestedMetadataMediaContainer) GetIdentifier() *string
func (*MediaContainerWithNestedMetadataMediaContainer) GetMetadataItem ¶ added in v0.26.0
func (m *MediaContainerWithNestedMetadataMediaContainer) GetMetadataItem() []MetadataItem
func (*MediaContainerWithNestedMetadataMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithNestedMetadataMediaContainer) GetOffset() *int64
func (*MediaContainerWithNestedMetadataMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithNestedMetadataMediaContainer) GetSize() *int64
func (*MediaContainerWithNestedMetadataMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithNestedMetadataMediaContainer) GetTotalSize() *int64
type MediaContainerWithPlaylistMetadata ¶ added in v0.26.0
type MediaContainerWithPlaylistMetadata struct {
MediaContainer *MediaContainerWithPlaylistMetadataMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithPlaylistMetadata) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadata) GetMediaContainer() *MediaContainerWithPlaylistMetadataMediaContainer
type MediaContainerWithPlaylistMetadataMediaContainer ¶ added in v0.26.0
type MediaContainerWithPlaylistMetadataMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Metadata []MediaContainerWithPlaylistMetadataMetadata `json:"Metadata,omitempty"`
}
MediaContainerWithPlaylistMetadataMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithPlaylistMetadataMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetIdentifier() *string
func (*MediaContainerWithPlaylistMetadataMediaContainer) GetMetadata ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetMetadata() []MediaContainerWithPlaylistMetadataMetadata
func (*MediaContainerWithPlaylistMetadataMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetOffset() *int64
func (*MediaContainerWithPlaylistMetadataMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetSize() *int64
func (*MediaContainerWithPlaylistMetadataMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMediaContainer) GetTotalSize() *int64
type MediaContainerWithPlaylistMetadataMetadata ¶ added in v0.26.0
type MediaContainerWithPlaylistMetadataMetadata struct {
// If we return this as true then this playlist cannot be altered or deleted directly by the client.
ReadOnly *bool `json:"readOnly,omitempty"`
// When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite any `json:"composite,omitempty"`
// When present, the duration for the item, in units of milliseconds.
Duration *int64 `json:"duration,omitempty"`
// The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key any `json:"key,omitempty"`
// For shows and seasons, contains the number of total episodes.
LeafCount *int64 `json:"leafCount,omitempty"`
// The type of the playlist.
PlaylistType *PlaylistType `json:"playlistType,omitempty"`
// Whether or not the playlist is smart.
Smart *bool `json:"smart,omitempty"`
// If this is a special playlist, this returns its type (e.g. favorites).
SpecialPlaylistType *string `json:"specialPlaylistType,omitempty"`
// The title of the item (e.g. “300” or “The Simpsons”)
Title any `json:"title,omitempty"`
// The type of the video item, such as `movie`, `episode`, or `clip`.
Type any `json:"type,omitempty"`
// When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex *int64 `json:"absoluteIndex,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt *int64 `json:"addedAt,omitempty"`
// When present, the URL for the background artwork for the item.
Art any `json:"art,omitempty"`
// Some rating systems separate reviewer ratings from audience ratings
AudienceRating *float64 `json:"audienceRating,omitempty"`
// A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage any `json:"audienceRatingImage,omitempty"`
Autotag []Tag `json:"Autotag,omitempty"`
// When present, the URL for a banner graphic for the item.
Banner any `json:"banner,omitempty"`
// When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource any `json:"chapterSource,omitempty"`
// If known, the content rating (e.g. MPAA) for an item.
ContentRating any `json:"contentRating,omitempty"`
Country []Tag `json:"Country,omitempty"`
Director []Tag `json:"Director,omitempty"`
// Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty"`
Genre []Tag `json:"Genre,omitempty"`
// The `art` of the grandparent
GrandparentArt *string `json:"grandparentArt,omitempty"`
// The `hero` of the grandparent
GrandparentHero *string `json:"grandparentHero,omitempty"`
// The `key` of the grandparent
GrandparentKey *string `json:"grandparentKey,omitempty"`
// The `ratingKey` of the grandparent
GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
// The `theme` of the grandparent
GrandparentTheme *string `json:"grandparentTheme,omitempty"`
// The `thumb` of the grandparent
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
// The `title` of the grandparent
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
GUID []Tag `json:"Guid,omitempty"`
// When present, the URL for a hero image for the item.
Hero any `json:"hero,omitempty"`
Image []Image `json:"Image,omitempty"`
// When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index *int64 `json:"index,omitempty"`
// When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt *int64 `json:"lastViewedAt,omitempty"`
Media []Media `json:"Media,omitempty"`
// When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt any `json:"originallyAvailableAt,omitempty"`
// When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle any `json:"originalTitle,omitempty"`
// The `hero` of the parent
ParentHero *string `json:"parentHero,omitempty"`
// The `index` of the parent
ParentIndex *int64 `json:"parentIndex,omitempty"`
// The `key` of the parent
ParentKey *string `json:"parentKey,omitempty"`
// The `ratingKey` of the parent
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
// The `thumb` of the parent
ParentThumb *string `json:"parentThumb,omitempty"`
// The `title` of the parent
ParentTitle *string `json:"parentTitle,omitempty"`
// Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey any `json:"primaryExtraKey,omitempty"`
// Prompt to give the user for this directory (such as `Search Movies`)
Prompt *string `json:"prompt,omitempty"`
// When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating *float64 `json:"rating,omitempty"`
RatingArray []Tag `json:"Rating,omitempty"`
// Number of ratings under this metadata
RatingCount *int64 `json:"ratingCount,omitempty"`
// When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage any `json:"ratingImage,omitempty"`
// This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey any `json:"ratingKey,omitempty"`
Role []Tag `json:"Role,omitempty"`
// Indicates this is a search directory
Search *bool `json:"search,omitempty"`
// Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary *bool `json:"secondary,omitempty"`
// When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren *bool `json:"skipChildren,omitempty"`
// When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent *bool `json:"skipParent,omitempty"`
// Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty"`
// When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio any `json:"studio,omitempty"`
// The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype any `json:"subtype,omitempty"`
// When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary any `json:"summary,omitempty"`
// When present, a pithy one-liner about the item (usually only seen for movies).
Tagline any `json:"tagline,omitempty"`
// When present, the URL for theme music for the item (usually only for TV shows).
Theme any `json:"theme,omitempty"`
// When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb any `json:"thumb,omitempty"`
// Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort any `json:"titleSort,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt *int64 `json:"updatedAt,omitempty"`
// When the user has rated an item, this contains the user rating
UserRating *float64 `json:"userRating,omitempty"`
// When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount *int64 `json:"viewCount,omitempty"`
// For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount *int64 `json:"viewedLeafCount,omitempty"`
// When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset *int64 `json:"viewOffset,omitempty"`
Writer []Tag `json:"Writer,omitempty"`
// When present, the year associated with the item's release (e.g. release year for a movie).
Year *int64 `json:"year,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
MediaContainerWithPlaylistMetadataMetadata - Items in a library are referred to as "metadata items." These metadata items are distinct from "media items" which represent actual instances of media that can be consumed. Consider a TV library that has a single video file in it for a particular episode of a show. The library has a single media item, but it has three metadata items: one for the show, one for the season, and one for the episode. Consider a movie library that has two video files in it: the same movie, but two different resolutions. The library has a single metadata item for the movie, but that metadata item has two media items, one for each resolution. Additionally a "media item" will have one or more "media parts" where the the parts are intended to be watched together, such as a CD1 and CD2 parts of the same movie.
Note that when a metadata item has multiple media items, those media items should be isomorphic. That is, a 4K version and 1080p version of a movie are different versions of the same movie. They have the same duration, same summary, same rating, etc. and they can generally be considered interchangeable. A theatrical release vs. director's cut vs. unrated version on the other hand would be separate metadata items.
Metadata items can often live in a hierarchy with relationships between them. For example, the metadata item for an episodes is associated with a season metadata item which is associated with a show metadata item. A similar hierarchy exists with track, album, and artist and photos and photo album. The relationships may be expressed via relative terms and absolute terms. For example, "leaves" refer to metadata items which has associated media (there is no media for a season nor show). A show will have "children" in the form of seasons and a season will have "children" in the form of episodes and episodes have "parent" in the form of a season which has a "parent" in the form of a show. Similarly, a show has "grandchildren" in the form of episodse and an episode has a "grandparent" in the form of a show.
func (*MediaContainerWithPlaylistMetadataMetadata) GetAbsoluteIndex ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetAbsoluteIndex() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetAddedAt ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetAddedAt() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetAdditionalProperties ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetAdditionalProperties() map[string]any
func (*MediaContainerWithPlaylistMetadataMetadata) GetArt ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetArt() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetAudienceRating ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetAudienceRating() *float64
func (*MediaContainerWithPlaylistMetadataMetadata) GetAudienceRatingImage ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetAudienceRatingImage() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetAutotag ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetAutotag() []Tag
func (*MediaContainerWithPlaylistMetadataMetadata) GetBanner ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetBanner() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetChapterSource ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetChapterSource() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetComposite ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetComposite() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetContentRating ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetContentRating() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetCountry ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetCountry() []Tag
func (*MediaContainerWithPlaylistMetadataMetadata) GetDirector ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetDirector() []Tag
func (*MediaContainerWithPlaylistMetadataMetadata) GetDuration ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetDuration() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetFilter ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetFilter() []Filter
func (*MediaContainerWithPlaylistMetadataMetadata) GetGUID ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGUID() []Tag
func (*MediaContainerWithPlaylistMetadataMetadata) GetGenre ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGenre() []Tag
func (*MediaContainerWithPlaylistMetadataMetadata) GetGrandparentArt ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentArt() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetGrandparentHero ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentHero() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetGrandparentKey ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentKey() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetGrandparentRatingKey ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentRatingKey() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetGrandparentTheme ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentTheme() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetGrandparentThumb ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentThumb() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetGrandparentTitle ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetGrandparentTitle() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetHero ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetHero() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetImage ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetImage() []Image
func (*MediaContainerWithPlaylistMetadataMetadata) GetIndex ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetIndex() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetKey ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetKey() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetLastViewedAt ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetLastViewedAt() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetLeafCount ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetLeafCount() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetMedia ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetMedia() []Media
func (*MediaContainerWithPlaylistMetadataMetadata) GetOriginalTitle ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetOriginalTitle() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetOriginallyAvailableAt ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetOriginallyAvailableAt() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetParentHero ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentHero() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetParentIndex ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentIndex() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetParentKey ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentKey() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetParentRatingKey ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentRatingKey() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetParentThumb ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentThumb() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetParentTitle ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetParentTitle() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetPlaylistType ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetPlaylistType() *PlaylistType
func (*MediaContainerWithPlaylistMetadataMetadata) GetPrimaryExtraKey ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetPrimaryExtraKey() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetPrompt ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetPrompt() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetRating ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetRating() *float64
func (*MediaContainerWithPlaylistMetadataMetadata) GetRatingArray ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetRatingArray() []Tag
func (*MediaContainerWithPlaylistMetadataMetadata) GetRatingCount ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetRatingCount() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetRatingImage ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetRatingImage() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetRatingKey ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetRatingKey() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetReadOnly ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetReadOnly() *bool
func (*MediaContainerWithPlaylistMetadataMetadata) GetRole ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetRole() []Tag
func (*MediaContainerWithPlaylistMetadataMetadata) GetSearch ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSearch() *bool
func (*MediaContainerWithPlaylistMetadataMetadata) GetSecondary ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSecondary() *bool
func (*MediaContainerWithPlaylistMetadataMetadata) GetSkipChildren ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSkipChildren() *bool
func (*MediaContainerWithPlaylistMetadataMetadata) GetSkipParent ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSkipParent() *bool
func (*MediaContainerWithPlaylistMetadataMetadata) GetSmart ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSmart() *bool
func (*MediaContainerWithPlaylistMetadataMetadata) GetSort ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSort() []Sort
func (*MediaContainerWithPlaylistMetadataMetadata) GetSpecialPlaylistType ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSpecialPlaylistType() *string
func (*MediaContainerWithPlaylistMetadataMetadata) GetStudio ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetStudio() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetSubtype ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSubtype() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetSummary ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetSummary() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetTagline ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetTagline() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetTheme ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetTheme() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetThumb ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetThumb() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetTitle ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetTitle() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetTitleSort ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetTitleSort() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetType ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetType() any
func (*MediaContainerWithPlaylistMetadataMetadata) GetUpdatedAt ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetUpdatedAt() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetUserRating ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetUserRating() *float64
func (*MediaContainerWithPlaylistMetadataMetadata) GetViewCount ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetViewCount() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetViewOffset ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetViewOffset() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetViewedLeafCount ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetViewedLeafCount() *int64
func (*MediaContainerWithPlaylistMetadataMetadata) GetWriter ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetWriter() []Tag
func (*MediaContainerWithPlaylistMetadataMetadata) GetYear ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) GetYear() *int64
func (MediaContainerWithPlaylistMetadataMetadata) MarshalJSON ¶ added in v0.26.0
func (m MediaContainerWithPlaylistMetadataMetadata) MarshalJSON() ([]byte, error)
func (*MediaContainerWithPlaylistMetadataMetadata) UnmarshalJSON ¶ added in v0.26.0
func (m *MediaContainerWithPlaylistMetadataMetadata) UnmarshalJSON(data []byte) error
type MediaContainerWithSettings ¶ added in v0.26.0
type MediaContainerWithSettings struct {
MediaContainer *MediaContainerWithSettingsMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithSettings) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithSettings) GetMediaContainer() *MediaContainerWithSettingsMediaContainer
type MediaContainerWithSettingsMediaContainer ¶ added in v0.26.0
type MediaContainerWithSettingsMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Setting []Setting `json:"Setting,omitempty"`
}
MediaContainerWithSettingsMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithSettingsMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithSettingsMediaContainer) GetIdentifier() *string
func (*MediaContainerWithSettingsMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithSettingsMediaContainer) GetOffset() *int64
func (*MediaContainerWithSettingsMediaContainer) GetSetting ¶ added in v0.26.0
func (m *MediaContainerWithSettingsMediaContainer) GetSetting() []Setting
func (*MediaContainerWithSettingsMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithSettingsMediaContainer) GetSize() *int64
func (*MediaContainerWithSettingsMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithSettingsMediaContainer) GetTotalSize() *int64
type MediaContainerWithSubscription ¶ added in v0.26.0
type MediaContainerWithSubscription struct {
MediaContainer *MediaContainerWithSubscriptionMediaContainer `json:"MediaContainer,omitempty"`
}
func (*MediaContainerWithSubscription) GetMediaContainer ¶ added in v0.26.0
func (m *MediaContainerWithSubscription) GetMediaContainer() *MediaContainerWithSubscriptionMediaContainer
type MediaContainerWithSubscriptionMediaContainer ¶ added in v0.26.0
type MediaContainerWithSubscriptionMediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
MediaSubscription []MediaSubscription `json:"MediaSubscription,omitempty"`
}
MediaContainerWithSubscriptionMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*MediaContainerWithSubscriptionMediaContainer) GetIdentifier ¶ added in v0.26.0
func (m *MediaContainerWithSubscriptionMediaContainer) GetIdentifier() *string
func (*MediaContainerWithSubscriptionMediaContainer) GetMediaSubscription ¶ added in v0.26.0
func (m *MediaContainerWithSubscriptionMediaContainer) GetMediaSubscription() []MediaSubscription
func (*MediaContainerWithSubscriptionMediaContainer) GetOffset ¶ added in v0.26.0
func (m *MediaContainerWithSubscriptionMediaContainer) GetOffset() *int64
func (*MediaContainerWithSubscriptionMediaContainer) GetSize ¶ added in v0.26.0
func (m *MediaContainerWithSubscriptionMediaContainer) GetSize() *int64
func (*MediaContainerWithSubscriptionMediaContainer) GetTotalSize ¶ added in v0.26.0
func (m *MediaContainerWithSubscriptionMediaContainer) GetTotalSize() *int64
type MediaGrabOperation ¶ added in v0.26.0
type MediaGrabOperation struct {
CurrentSize *int64 `json:"currentSize,omitempty"`
GrabberIdentifier *string `json:"grabberIdentifier,omitempty"`
GrabberProtocol *string `json:"grabberProtocol,omitempty"`
ID *string `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
MediaIndex *int64 `json:"mediaIndex,omitempty"`
MediaSubscriptionID *int64 `json:"mediaSubscriptionID,omitempty"`
// Items in a library are referred to as "metadata items." These metadata items are distinct from "media items" which represent actual instances of media that can be consumed. Consider a TV library that has a single video file in it for a particular episode of a show. The library has a single media item, but it has three metadata items: one for the show, one for the season, and one for the episode. Consider a movie library that has two video files in it: the same movie, but two different resolutions. The library has a single metadata item for the movie, but that metadata item has two media items, one for each resolution. Additionally a "media item" will have one or more "media parts" where the the parts are intended to be watched together, such as a CD1 and CD2 parts of the same movie.
//
// Note that when a metadata item has multiple media items, those media items should be isomorphic. That is, a 4K version and 1080p version of a movie are different versions of the same movie. They have the same duration, same summary, same rating, etc. and they can generally be considered interchangeable. A theatrical release vs. director's cut vs. unrated version on the other hand would be separate metadata items.
//
// Metadata items can often live in a hierarchy with relationships between them. For example, the metadata item for an episodes is associated with a season metadata item which is associated with a show metadata item. A similar hierarchy exists with track, album, and artist and photos and photo album. The relationships may be expressed via relative terms and absolute terms. For example, "leaves" refer to metadata items which has associated media (there is no media for a season nor show). A show will have "children" in the form of seasons and a season will have "children" in the form of episodes and episodes have "parent" in the form of a season which has a "parent" in the form of a show. Similarly, a show has "grandchildren" in the form of episodse and an episode has a "grandparent" in the form of a show.
//
Metadata *Metadata `json:"Metadata,omitempty"`
Percent *float64 `json:"percent,omitempty"`
Provider *string `json:"provider,omitempty"`
Status *Status `json:"status,omitempty"`
}
MediaGrabOperation - A media grab opration represents a scheduled or active recording of media
func (*MediaGrabOperation) GetCurrentSize ¶ added in v0.26.0
func (m *MediaGrabOperation) GetCurrentSize() *int64
func (*MediaGrabOperation) GetGrabberIdentifier ¶ added in v0.26.0
func (m *MediaGrabOperation) GetGrabberIdentifier() *string
func (*MediaGrabOperation) GetGrabberProtocol ¶ added in v0.26.0
func (m *MediaGrabOperation) GetGrabberProtocol() *string
func (*MediaGrabOperation) GetID ¶ added in v0.26.0
func (m *MediaGrabOperation) GetID() *string
func (*MediaGrabOperation) GetKey ¶ added in v0.26.0
func (m *MediaGrabOperation) GetKey() *string
func (*MediaGrabOperation) GetMediaIndex ¶ added in v0.26.0
func (m *MediaGrabOperation) GetMediaIndex() *int64
func (*MediaGrabOperation) GetMediaSubscriptionID ¶ added in v0.26.0
func (m *MediaGrabOperation) GetMediaSubscriptionID() *int64
func (*MediaGrabOperation) GetMetadata ¶ added in v0.26.0
func (m *MediaGrabOperation) GetMetadata() *Metadata
func (*MediaGrabOperation) GetPercent ¶ added in v0.26.0
func (m *MediaGrabOperation) GetPercent() *float64
func (*MediaGrabOperation) GetProvider ¶ added in v0.26.0
func (m *MediaGrabOperation) GetProvider() *string
func (*MediaGrabOperation) GetStatus ¶ added in v0.26.0
func (m *MediaGrabOperation) GetStatus() *Status
type MediaQuery ¶ added in v0.26.0
type MediaQuery struct {
}
type MediaSubscription ¶ added in v0.26.0
type MediaSubscription struct {
Title *string `json:"title,omitempty"`
// The metadata type of the root item of the subscription
Type *int64 `json:"type,omitempty"`
AiringsType *AiringsType `json:"airingsType,omitempty"`
CreatedAt *int64 `json:"createdAt,omitempty"`
// Media Matching Hints
Directory map[string]any `json:"Directory,omitempty"`
// Only included if `includeStorage` is specified
DurationTotal *int64 `json:"durationTotal,omitempty"`
Key *string `json:"key,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LocationPath *string `json:"locationPath,omitempty"`
MediaGrabOperation []MediaGrabOperation `json:"MediaGrabOperation,omitempty"`
// Media Matching Hints
Playlist map[string]any `json:"Playlist,omitempty"`
Setting []Setting `json:"Setting,omitempty"`
// Only included if `includeStorage` is specified
StorageTotal *int64 `json:"storageTotal,omitempty"`
// The library section id for where the item is to be recorded
TargetLibrarySectionID *int64 `json:"targetLibrarySectionID,omitempty"`
// The library section location id for where the item is to be recorded
TargetSectionLocationID *int64 `json:"targetSectionLocationID,omitempty"`
// Media Matching Hints
Video map[string]any `json:"Video,omitempty"`
}
MediaSubscription - A media subscription contains a representation of metadata desired to be recorded
func (*MediaSubscription) GetAiringsType ¶ added in v0.26.0
func (m *MediaSubscription) GetAiringsType() *AiringsType
func (*MediaSubscription) GetCreatedAt ¶ added in v0.26.0
func (m *MediaSubscription) GetCreatedAt() *int64
func (*MediaSubscription) GetDirectory ¶ added in v0.26.0
func (m *MediaSubscription) GetDirectory() map[string]any
func (*MediaSubscription) GetDurationTotal ¶ added in v0.26.0
func (m *MediaSubscription) GetDurationTotal() *int64
func (*MediaSubscription) GetKey ¶ added in v0.26.0
func (m *MediaSubscription) GetKey() *string
func (*MediaSubscription) GetLibrarySectionTitle ¶ added in v0.26.0
func (m *MediaSubscription) GetLibrarySectionTitle() *string
func (*MediaSubscription) GetLocationPath ¶ added in v0.26.0
func (m *MediaSubscription) GetLocationPath() *string
func (*MediaSubscription) GetMediaGrabOperation ¶ added in v0.26.0
func (m *MediaSubscription) GetMediaGrabOperation() []MediaGrabOperation
func (*MediaSubscription) GetPlaylist ¶ added in v0.26.0
func (m *MediaSubscription) GetPlaylist() map[string]any
func (*MediaSubscription) GetSetting ¶ added in v0.26.0
func (m *MediaSubscription) GetSetting() []Setting
func (*MediaSubscription) GetStorageTotal ¶ added in v0.26.0
func (m *MediaSubscription) GetStorageTotal() *int64
func (*MediaSubscription) GetTargetLibrarySectionID ¶ added in v0.26.0
func (m *MediaSubscription) GetTargetLibrarySectionID() *int64
func (*MediaSubscription) GetTargetSectionLocationID ¶ added in v0.26.0
func (m *MediaSubscription) GetTargetSectionLocationID() *int64
func (*MediaSubscription) GetTitle ¶ added in v0.26.0
func (m *MediaSubscription) GetTitle() *string
func (*MediaSubscription) GetType ¶ added in v0.26.0
func (m *MediaSubscription) GetType() *int64
func (*MediaSubscription) GetVideo ¶ added in v0.26.0
func (m *MediaSubscription) GetVideo() map[string]any
type Metadata ¶ added in v0.26.0
type Metadata struct {
// The title of the item (e.g. “300” or “The Simpsons”)
Title any `json:"title,omitempty"`
// The type of the video item, such as `movie`, `episode`, or `clip`.
Type any `json:"type,omitempty"`
// When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex *int64 `json:"absoluteIndex,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt *int64 `json:"addedAt,omitempty"`
// When present, the URL for the background artwork for the item.
Art any `json:"art,omitempty"`
// Some rating systems separate reviewer ratings from audience ratings
AudienceRating *float64 `json:"audienceRating,omitempty"`
// A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage any `json:"audienceRatingImage,omitempty"`
Autotag []Tag `json:"Autotag,omitempty"`
// When present, the URL for a banner graphic for the item.
Banner any `json:"banner,omitempty"`
// When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource any `json:"chapterSource,omitempty"`
// When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite any `json:"composite,omitempty"`
// If known, the content rating (e.g. MPAA) for an item.
ContentRating any `json:"contentRating,omitempty"`
Country []Tag `json:"Country,omitempty"`
Director []Tag `json:"Director,omitempty"`
// When present, the duration for the item, in units of milliseconds.
Duration *int64 `json:"duration,omitempty"`
// Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty"`
Genre []Tag `json:"Genre,omitempty"`
// The `art` of the grandparent
GrandparentArt *string `json:"grandparentArt,omitempty"`
// The `hero` of the grandparent
GrandparentHero *string `json:"grandparentHero,omitempty"`
// The `key` of the grandparent
GrandparentKey *string `json:"grandparentKey,omitempty"`
// The `ratingKey` of the grandparent
GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
// The `theme` of the grandparent
GrandparentTheme *string `json:"grandparentTheme,omitempty"`
// The `thumb` of the grandparent
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
// The `title` of the grandparent
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
GUID []Tag `json:"Guid,omitempty"`
// When present, the URL for a hero image for the item.
Hero any `json:"hero,omitempty"`
Image []Image `json:"Image,omitempty"`
// When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index *int64 `json:"index,omitempty"`
// The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key any `json:"key,omitempty"`
// When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt *int64 `json:"lastViewedAt,omitempty"`
// For shows and seasons, contains the number of total episodes.
LeafCount *int64 `json:"leafCount,omitempty"`
Media []Media `json:"Media,omitempty"`
// When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt any `json:"originallyAvailableAt,omitempty"`
// When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle any `json:"originalTitle,omitempty"`
// The `hero` of the parent
ParentHero *string `json:"parentHero,omitempty"`
// The `index` of the parent
ParentIndex *int64 `json:"parentIndex,omitempty"`
// The `key` of the parent
ParentKey *string `json:"parentKey,omitempty"`
// The `ratingKey` of the parent
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
// The `thumb` of the parent
ParentThumb *string `json:"parentThumb,omitempty"`
// The `title` of the parent
ParentTitle *string `json:"parentTitle,omitempty"`
// Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey any `json:"primaryExtraKey,omitempty"`
// Prompt to give the user for this directory (such as `Search Movies`)
Prompt *string `json:"prompt,omitempty"`
// When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating *float64 `json:"rating,omitempty"`
RatingArray []Tag `json:"Rating,omitempty"`
// Number of ratings under this metadata
RatingCount *int64 `json:"ratingCount,omitempty"`
// When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage any `json:"ratingImage,omitempty"`
// This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey any `json:"ratingKey,omitempty"`
Role []Tag `json:"Role,omitempty"`
// Indicates this is a search directory
Search *bool `json:"search,omitempty"`
// Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary *bool `json:"secondary,omitempty"`
// When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren *bool `json:"skipChildren,omitempty"`
// When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent *bool `json:"skipParent,omitempty"`
// Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty"`
// When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio any `json:"studio,omitempty"`
// The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype any `json:"subtype,omitempty"`
// When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary any `json:"summary,omitempty"`
// When present, a pithy one-liner about the item (usually only seen for movies).
Tagline any `json:"tagline,omitempty"`
// When present, the URL for theme music for the item (usually only for TV shows).
Theme any `json:"theme,omitempty"`
// When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb any `json:"thumb,omitempty"`
// Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort any `json:"titleSort,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt *int64 `json:"updatedAt,omitempty"`
// When the user has rated an item, this contains the user rating
UserRating *float64 `json:"userRating,omitempty"`
// When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount *int64 `json:"viewCount,omitempty"`
// For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount *int64 `json:"viewedLeafCount,omitempty"`
// When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset *int64 `json:"viewOffset,omitempty"`
Writer []Tag `json:"Writer,omitempty"`
// When present, the year associated with the item's release (e.g. release year for a movie).
Year *int64 `json:"year,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
Metadata - Items in a library are referred to as "metadata items." These metadata items are distinct from "media items" which represent actual instances of media that can be consumed. Consider a TV library that has a single video file in it for a particular episode of a show. The library has a single media item, but it has three metadata items: one for the show, one for the season, and one for the episode. Consider a movie library that has two video files in it: the same movie, but two different resolutions. The library has a single metadata item for the movie, but that metadata item has two media items, one for each resolution. Additionally a "media item" will have one or more "media parts" where the the parts are intended to be watched together, such as a CD1 and CD2 parts of the same movie.
Note that when a metadata item has multiple media items, those media items should be isomorphic. That is, a 4K version and 1080p version of a movie are different versions of the same movie. They have the same duration, same summary, same rating, etc. and they can generally be considered interchangeable. A theatrical release vs. director's cut vs. unrated version on the other hand would be separate metadata items.
Metadata items can often live in a hierarchy with relationships between them. For example, the metadata item for an episodes is associated with a season metadata item which is associated with a show metadata item. A similar hierarchy exists with track, album, and artist and photos and photo album. The relationships may be expressed via relative terms and absolute terms. For example, "leaves" refer to metadata items which has associated media (there is no media for a season nor show). A show will have "children" in the form of seasons and a season will have "children" in the form of episodes and episodes have "parent" in the form of a season which has a "parent" in the form of a show. Similarly, a show has "grandchildren" in the form of episodse and an episode has a "grandparent" in the form of a show.
func (*Metadata) GetAbsoluteIndex ¶ added in v0.26.0
func (*Metadata) GetAddedAt ¶ added in v0.26.0
func (*Metadata) GetAdditionalProperties ¶ added in v0.26.0
func (*Metadata) GetAudienceRating ¶ added in v0.26.0
func (*Metadata) GetAudienceRatingImage ¶ added in v0.26.0
func (*Metadata) GetAutotag ¶ added in v0.26.0
func (*Metadata) GetChapterSource ¶ added in v0.26.0
func (*Metadata) GetComposite ¶ added in v0.26.0
func (*Metadata) GetContentRating ¶ added in v0.26.0
func (*Metadata) GetCountry ¶ added in v0.26.0
func (*Metadata) GetDirector ¶ added in v0.26.0
func (*Metadata) GetDuration ¶ added in v0.26.0
func (*Metadata) GetGrandparentArt ¶ added in v0.26.0
func (*Metadata) GetGrandparentHero ¶ added in v0.26.0
func (*Metadata) GetGrandparentKey ¶ added in v0.26.0
func (*Metadata) GetGrandparentRatingKey ¶ added in v0.26.0
func (*Metadata) GetGrandparentTheme ¶ added in v0.26.0
func (*Metadata) GetGrandparentThumb ¶ added in v0.26.0
func (*Metadata) GetGrandparentTitle ¶ added in v0.26.0
func (*Metadata) GetLastViewedAt ¶ added in v0.26.0
func (*Metadata) GetLeafCount ¶ added in v0.26.0
func (*Metadata) GetOriginalTitle ¶ added in v0.26.0
func (*Metadata) GetOriginallyAvailableAt ¶ added in v0.26.0
func (*Metadata) GetParentHero ¶ added in v0.26.0
func (*Metadata) GetParentIndex ¶ added in v0.26.0
func (*Metadata) GetParentKey ¶ added in v0.26.0
func (*Metadata) GetParentRatingKey ¶ added in v0.26.0
func (*Metadata) GetParentThumb ¶ added in v0.26.0
func (*Metadata) GetParentTitle ¶ added in v0.26.0
func (*Metadata) GetPrimaryExtraKey ¶ added in v0.26.0
func (*Metadata) GetRatingArray ¶ added in v0.26.0
func (*Metadata) GetRatingCount ¶ added in v0.26.0
func (*Metadata) GetRatingImage ¶ added in v0.26.0
func (*Metadata) GetRatingKey ¶ added in v0.26.0
func (*Metadata) GetSecondary ¶ added in v0.26.0
func (*Metadata) GetSkipChildren ¶ added in v0.26.0
func (*Metadata) GetSkipParent ¶ added in v0.26.0
func (*Metadata) GetSubtype ¶ added in v0.26.0
func (*Metadata) GetSummary ¶ added in v0.26.0
func (*Metadata) GetTagline ¶ added in v0.26.0
func (*Metadata) GetTitleSort ¶ added in v0.26.0
func (*Metadata) GetUpdatedAt ¶ added in v0.26.0
func (*Metadata) GetUserRating ¶ added in v0.26.0
func (*Metadata) GetViewCount ¶ added in v0.26.0
func (*Metadata) GetViewOffset ¶ added in v0.26.0
func (*Metadata) GetViewedLeafCount ¶ added in v0.26.0
func (Metadata) MarshalJSON ¶ added in v0.26.0
func (*Metadata) UnmarshalJSON ¶ added in v0.26.0
type MetadataItem ¶ added in v0.26.0
type MetadataItem struct {
// The title of the item (e.g. “300” or “The Simpsons”)
Title any `json:"title,omitempty"`
// The type of the video item, such as `movie`, `episode`, or `clip`.
Type any `json:"type,omitempty"`
// When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex *int64 `json:"absoluteIndex,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt *int64 `json:"addedAt,omitempty"`
// When present, the URL for the background artwork for the item.
Art any `json:"art,omitempty"`
// Some rating systems separate reviewer ratings from audience ratings
AudienceRating *float64 `json:"audienceRating,omitempty"`
// A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage any `json:"audienceRatingImage,omitempty"`
Autotag []Tag `json:"Autotag,omitempty"`
// When present, the URL for a banner graphic for the item.
Banner any `json:"banner,omitempty"`
// When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource any `json:"chapterSource,omitempty"`
// When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite any `json:"composite,omitempty"`
// If known, the content rating (e.g. MPAA) for an item.
ContentRating any `json:"contentRating,omitempty"`
Country []Tag `json:"Country,omitempty"`
Director []Tag `json:"Director,omitempty"`
// When present, the duration for the item, in units of milliseconds.
Duration *int64 `json:"duration,omitempty"`
// Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty"`
Genre []Tag `json:"Genre,omitempty"`
// The `art` of the grandparent
GrandparentArt *string `json:"grandparentArt,omitempty"`
// The `hero` of the grandparent
GrandparentHero *string `json:"grandparentHero,omitempty"`
// The `key` of the grandparent
GrandparentKey *string `json:"grandparentKey,omitempty"`
// The `ratingKey` of the grandparent
GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
// The `theme` of the grandparent
GrandparentTheme *string `json:"grandparentTheme,omitempty"`
// The `thumb` of the grandparent
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
// The `title` of the grandparent
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
GUID []Tag `json:"Guid,omitempty"`
// When present, the URL for a hero image for the item.
Hero any `json:"hero,omitempty"`
Image []Image `json:"Image,omitempty"`
// When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index *int64 `json:"index,omitempty"`
// The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key any `json:"key,omitempty"`
// When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt *int64 `json:"lastViewedAt,omitempty"`
// For shows and seasons, contains the number of total episodes.
LeafCount *int64 `json:"leafCount,omitempty"`
Media []Media `json:"Media,omitempty"`
// When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt any `json:"originallyAvailableAt,omitempty"`
// When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle any `json:"originalTitle,omitempty"`
// The `hero` of the parent
ParentHero *string `json:"parentHero,omitempty"`
// The `index` of the parent
ParentIndex *int64 `json:"parentIndex,omitempty"`
// The `key` of the parent
ParentKey *string `json:"parentKey,omitempty"`
// The `ratingKey` of the parent
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
// The `thumb` of the parent
ParentThumb *string `json:"parentThumb,omitempty"`
// The `title` of the parent
ParentTitle *string `json:"parentTitle,omitempty"`
// Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey any `json:"primaryExtraKey,omitempty"`
// Prompt to give the user for this directory (such as `Search Movies`)
Prompt *string `json:"prompt,omitempty"`
// When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating *float64 `json:"rating,omitempty"`
RatingArray []Tag `json:"Rating,omitempty"`
// Number of ratings under this metadata
RatingCount *int64 `json:"ratingCount,omitempty"`
// When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage any `json:"ratingImage,omitempty"`
// This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey any `json:"ratingKey,omitempty"`
Role []Tag `json:"Role,omitempty"`
// Indicates this is a search directory
Search *bool `json:"search,omitempty"`
// Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary *bool `json:"secondary,omitempty"`
// When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren *bool `json:"skipChildren,omitempty"`
// When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent *bool `json:"skipParent,omitempty"`
// Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty"`
// When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio any `json:"studio,omitempty"`
// The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype any `json:"subtype,omitempty"`
// When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary any `json:"summary,omitempty"`
// When present, a pithy one-liner about the item (usually only seen for movies).
Tagline any `json:"tagline,omitempty"`
// When present, the URL for theme music for the item (usually only for TV shows).
Theme any `json:"theme,omitempty"`
// When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb any `json:"thumb,omitempty"`
// Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort any `json:"titleSort,omitempty"`
// In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt *int64 `json:"updatedAt,omitempty"`
// When the user has rated an item, this contains the user rating
UserRating *float64 `json:"userRating,omitempty"`
// When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount *int64 `json:"viewCount,omitempty"`
// For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount *int64 `json:"viewedLeafCount,omitempty"`
// When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset *int64 `json:"viewOffset,omitempty"`
Writer []Tag `json:"Writer,omitempty"`
// When present, the year associated with the item's release (e.g. release year for a movie).
Year *int64 `json:"year,omitempty"`
MetadataItem []Items `json:"MetadataItem,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
MetadataItem - Items in a library are referred to as "metadata items." These metadata items are distinct from "media items" which represent actual instances of media that can be consumed. Consider a TV library that has a single video file in it for a particular episode of a show. The library has a single media item, but it has three metadata items: one for the show, one for the season, and one for the episode. Consider a movie library that has two video files in it: the same movie, but two different resolutions. The library has a single metadata item for the movie, but that metadata item has two media items, one for each resolution. Additionally a "media item" will have one or more "media parts" where the the parts are intended to be watched together, such as a CD1 and CD2 parts of the same movie.
Note that when a metadata item has multiple media items, those media items should be isomorphic. That is, a 4K version and 1080p version of a movie are different versions of the same movie. They have the same duration, same summary, same rating, etc. and they can generally be considered interchangeable. A theatrical release vs. director's cut vs. unrated version on the other hand would be separate metadata items.
Metadata items can often live in a hierarchy with relationships between them. For example, the metadata item for an episodes is associated with a season metadata item which is associated with a show metadata item. A similar hierarchy exists with track, album, and artist and photos and photo album. The relationships may be expressed via relative terms and absolute terms. For example, "leaves" refer to metadata items which has associated media (there is no media for a season nor show). A show will have "children" in the form of seasons and a season will have "children" in the form of episodes and episodes have "parent" in the form of a season which has a "parent" in the form of a show. Similarly, a show has "grandchildren" in the form of episodse and an episode has a "grandparent" in the form of a show.
func (*MetadataItem) GetAbsoluteIndex ¶ added in v0.26.0
func (m *MetadataItem) GetAbsoluteIndex() *int64
func (*MetadataItem) GetAddedAt ¶ added in v0.26.0
func (m *MetadataItem) GetAddedAt() *int64
func (*MetadataItem) GetAdditionalProperties ¶ added in v0.26.0
func (m *MetadataItem) GetAdditionalProperties() map[string]any
func (*MetadataItem) GetArt ¶ added in v0.26.0
func (m *MetadataItem) GetArt() any
func (*MetadataItem) GetAudienceRating ¶ added in v0.26.0
func (m *MetadataItem) GetAudienceRating() *float64
func (*MetadataItem) GetAudienceRatingImage ¶ added in v0.26.0
func (m *MetadataItem) GetAudienceRatingImage() any
func (*MetadataItem) GetAutotag ¶ added in v0.26.0
func (m *MetadataItem) GetAutotag() []Tag
func (*MetadataItem) GetBanner ¶ added in v0.26.0
func (m *MetadataItem) GetBanner() any
func (*MetadataItem) GetChapterSource ¶ added in v0.26.0
func (m *MetadataItem) GetChapterSource() any
func (*MetadataItem) GetComposite ¶ added in v0.26.0
func (m *MetadataItem) GetComposite() any
func (*MetadataItem) GetContentRating ¶ added in v0.26.0
func (m *MetadataItem) GetContentRating() any
func (*MetadataItem) GetCountry ¶ added in v0.26.0
func (m *MetadataItem) GetCountry() []Tag
func (*MetadataItem) GetDirector ¶ added in v0.26.0
func (m *MetadataItem) GetDirector() []Tag
func (*MetadataItem) GetDuration ¶ added in v0.26.0
func (m *MetadataItem) GetDuration() *int64
func (*MetadataItem) GetFilter ¶ added in v0.26.0
func (m *MetadataItem) GetFilter() []Filter
func (*MetadataItem) GetGUID ¶ added in v0.26.0
func (m *MetadataItem) GetGUID() []Tag
func (*MetadataItem) GetGenre ¶ added in v0.26.0
func (m *MetadataItem) GetGenre() []Tag
func (*MetadataItem) GetGrandparentArt ¶ added in v0.26.0
func (m *MetadataItem) GetGrandparentArt() *string
func (*MetadataItem) GetGrandparentHero ¶ added in v0.26.0
func (m *MetadataItem) GetGrandparentHero() *string
func (*MetadataItem) GetGrandparentKey ¶ added in v0.26.0
func (m *MetadataItem) GetGrandparentKey() *string
func (*MetadataItem) GetGrandparentRatingKey ¶ added in v0.26.0
func (m *MetadataItem) GetGrandparentRatingKey() *string
func (*MetadataItem) GetGrandparentTheme ¶ added in v0.26.0
func (m *MetadataItem) GetGrandparentTheme() *string
func (*MetadataItem) GetGrandparentThumb ¶ added in v0.26.0
func (m *MetadataItem) GetGrandparentThumb() *string
func (*MetadataItem) GetGrandparentTitle ¶ added in v0.26.0
func (m *MetadataItem) GetGrandparentTitle() *string
func (*MetadataItem) GetHero ¶ added in v0.26.0
func (m *MetadataItem) GetHero() any
func (*MetadataItem) GetImage ¶ added in v0.26.0
func (m *MetadataItem) GetImage() []Image
func (*MetadataItem) GetIndex ¶ added in v0.26.0
func (m *MetadataItem) GetIndex() *int64
func (*MetadataItem) GetKey ¶ added in v0.26.0
func (m *MetadataItem) GetKey() any
func (*MetadataItem) GetLastViewedAt ¶ added in v0.26.0
func (m *MetadataItem) GetLastViewedAt() *int64
func (*MetadataItem) GetLeafCount ¶ added in v0.26.0
func (m *MetadataItem) GetLeafCount() *int64
func (*MetadataItem) GetMedia ¶ added in v0.26.0
func (m *MetadataItem) GetMedia() []Media
func (*MetadataItem) GetMetadataItem ¶ added in v0.26.0
func (m *MetadataItem) GetMetadataItem() []Items
func (*MetadataItem) GetOriginalTitle ¶ added in v0.26.0
func (m *MetadataItem) GetOriginalTitle() any
func (*MetadataItem) GetOriginallyAvailableAt ¶ added in v0.26.0
func (m *MetadataItem) GetOriginallyAvailableAt() any
func (*MetadataItem) GetParentHero ¶ added in v0.26.0
func (m *MetadataItem) GetParentHero() *string
func (*MetadataItem) GetParentIndex ¶ added in v0.26.0
func (m *MetadataItem) GetParentIndex() *int64
func (*MetadataItem) GetParentKey ¶ added in v0.26.0
func (m *MetadataItem) GetParentKey() *string
func (*MetadataItem) GetParentRatingKey ¶ added in v0.26.0
func (m *MetadataItem) GetParentRatingKey() *string
func (*MetadataItem) GetParentThumb ¶ added in v0.26.0
func (m *MetadataItem) GetParentThumb() *string
func (*MetadataItem) GetParentTitle ¶ added in v0.26.0
func (m *MetadataItem) GetParentTitle() *string
func (*MetadataItem) GetPrimaryExtraKey ¶ added in v0.26.0
func (m *MetadataItem) GetPrimaryExtraKey() any
func (*MetadataItem) GetPrompt ¶ added in v0.26.0
func (m *MetadataItem) GetPrompt() *string
func (*MetadataItem) GetRating ¶ added in v0.26.0
func (m *MetadataItem) GetRating() *float64
func (*MetadataItem) GetRatingArray ¶ added in v0.26.0
func (m *MetadataItem) GetRatingArray() []Tag
func (*MetadataItem) GetRatingCount ¶ added in v0.26.0
func (m *MetadataItem) GetRatingCount() *int64
func (*MetadataItem) GetRatingImage ¶ added in v0.26.0
func (m *MetadataItem) GetRatingImage() any
func (*MetadataItem) GetRatingKey ¶ added in v0.26.0
func (m *MetadataItem) GetRatingKey() any
func (*MetadataItem) GetRole ¶ added in v0.26.0
func (m *MetadataItem) GetRole() []Tag
func (*MetadataItem) GetSearch ¶ added in v0.26.0
func (m *MetadataItem) GetSearch() *bool
func (*MetadataItem) GetSecondary ¶ added in v0.26.0
func (m *MetadataItem) GetSecondary() *bool
func (*MetadataItem) GetSkipChildren ¶ added in v0.26.0
func (m *MetadataItem) GetSkipChildren() *bool
func (*MetadataItem) GetSkipParent ¶ added in v0.26.0
func (m *MetadataItem) GetSkipParent() *bool
func (*MetadataItem) GetSort ¶ added in v0.26.0
func (m *MetadataItem) GetSort() []Sort
func (*MetadataItem) GetStudio ¶ added in v0.26.0
func (m *MetadataItem) GetStudio() any
func (*MetadataItem) GetSubtype ¶ added in v0.26.0
func (m *MetadataItem) GetSubtype() any
func (*MetadataItem) GetSummary ¶ added in v0.26.0
func (m *MetadataItem) GetSummary() any
func (*MetadataItem) GetTagline ¶ added in v0.26.0
func (m *MetadataItem) GetTagline() any
func (*MetadataItem) GetTheme ¶ added in v0.26.0
func (m *MetadataItem) GetTheme() any
func (*MetadataItem) GetThumb ¶ added in v0.26.0
func (m *MetadataItem) GetThumb() any
func (*MetadataItem) GetTitle ¶ added in v0.26.0
func (m *MetadataItem) GetTitle() any
func (*MetadataItem) GetTitleSort ¶ added in v0.26.0
func (m *MetadataItem) GetTitleSort() any
func (*MetadataItem) GetType ¶ added in v0.26.0
func (m *MetadataItem) GetType() any
func (*MetadataItem) GetUpdatedAt ¶ added in v0.26.0
func (m *MetadataItem) GetUpdatedAt() *int64
func (*MetadataItem) GetUserRating ¶ added in v0.26.0
func (m *MetadataItem) GetUserRating() *float64
func (*MetadataItem) GetViewCount ¶ added in v0.26.0
func (m *MetadataItem) GetViewCount() *int64
func (*MetadataItem) GetViewOffset ¶ added in v0.26.0
func (m *MetadataItem) GetViewOffset() *int64
func (*MetadataItem) GetViewedLeafCount ¶ added in v0.26.0
func (m *MetadataItem) GetViewedLeafCount() *int64
func (*MetadataItem) GetWriter ¶ added in v0.26.0
func (m *MetadataItem) GetWriter() []Tag
func (*MetadataItem) GetYear ¶ added in v0.26.0
func (m *MetadataItem) GetYear() *int64
func (MetadataItem) MarshalJSON ¶ added in v0.26.0
func (m MetadataItem) MarshalJSON() ([]byte, error)
func (*MetadataItem) UnmarshalJSON ¶ added in v0.26.0
func (m *MetadataItem) UnmarshalJSON(data []byte) error
type Part ¶ added in v0.26.0
type Part struct {
AudioProfile any `json:"audioProfile,omitempty"`
// The container of the media file, such as `mp4` or `mkv`
Container any `json:"container,omitempty"`
// The duration of the media item, in milliseconds
Duration *int64 `json:"duration,omitempty"`
// The local file path at which the part is stored on the server
File any `json:"file,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
ID *int64 `json:"id,omitempty"`
// The key from which the media can be streamed
Key any `json:"key,omitempty"`
OptimizedForStreaming *bool `json:"optimizedForStreaming,omitempty"`
// The size of the media, in bytes
Size *int64 `json:"size,omitempty"`
Stream []Stream `json:"Stream,omitempty"`
VideoProfile any `json:"videoProfile,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
Part - `Part` represents a particular file or "part" of a media item. The part is the playable unit of the media hierarchy. Suppose that a movie library contains a movie that is broken up into files, reminiscent of a movie split across two BDs. The metadata item represents information about the movie, the media item represents this instance of the movie at this resolution and quality, and the part items represent the two playable files. If another media were added which contained the joining of these two parts transcoded down to a lower resolution, then this metadata would contain 2 medias, one with 2 parts and one with 1 part.
func (*Part) GetAdditionalProperties ¶ added in v0.26.0
func (*Part) GetAudioProfile ¶ added in v0.26.0
func (*Part) GetContainer ¶ added in v0.26.0
func (*Part) GetDuration ¶ added in v0.26.0
func (*Part) GetHas64bitOffsets ¶ added in v0.26.0
func (*Part) GetOptimizedForStreaming ¶ added in v0.26.0
func (*Part) GetVideoProfile ¶ added in v0.26.0
func (Part) MarshalJSON ¶ added in v0.26.0
func (*Part) UnmarshalJSON ¶ added in v0.26.0
type Pivot ¶ added in v0.26.0
type Pivot struct {
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
Context *string `json:"context,omitempty"`
ID *string `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Symbol *string `json:"symbol,omitempty"`
}
func (*Pivot) GetContext ¶ added in v0.26.0
type Player ¶ added in v0.26.0
type Player struct {
// The title of the client
Title *string `json:"title,omitempty"`
// The remote address
Address *string `json:"address,omitempty"`
// Indicating if the client is playing from the local LAN
Local *bool `json:"local,omitempty"`
// The identifier of the client
MachineIdentifier *string `json:"machineIdentifier,omitempty"`
// The model of the client
Model *string `json:"model,omitempty"`
// The platform of the client
Platform *string `json:"platform,omitempty"`
// The platformVersion of the client
PlatformVersion *string `json:"platformVersion,omitempty"`
// The product name of the client
Product *string `json:"product,omitempty"`
// Indicating if the client is playing over a relay connection
Relayed *bool `json:"relayed,omitempty"`
// The client's public address
RemotePublicAddress *string `json:"remotePublicAddress,omitempty"`
// Indicating if the client is playing over HTTPS
Secure *bool `json:"secure,omitempty"`
// The client's last reported state
State *string `json:"state,omitempty"`
// The id of the user
UserID *int64 `json:"userID,omitempty"`
// The vendor of the client
Vendor *string `json:"vendor,omitempty"`
// The version of the client
Version *string `json:"version,omitempty"`
}
Player - Information about the player being used for playback
func (*Player) GetAddress ¶ added in v0.26.0
func (*Player) GetMachineIdentifier ¶ added in v0.26.0
func (*Player) GetPlatform ¶ added in v0.26.0
func (*Player) GetPlatformVersion ¶ added in v0.26.0
func (*Player) GetProduct ¶ added in v0.26.0
func (*Player) GetRelayed ¶ added in v0.26.0
func (*Player) GetRemotePublicAddress ¶ added in v0.26.0
func (*Player) GetVersion ¶ added in v0.26.0
type PlaylistType ¶ added in v0.26.0
type PlaylistType string
PlaylistType - The type of the playlist.
const ( PlaylistTypeAudio PlaylistType = "audio" PlaylistTypeVideo PlaylistType = "video" PlaylistTypePhoto PlaylistType = "photo" )
func (PlaylistType) ToPointer ¶ added in v0.26.0
func (e PlaylistType) ToPointer() *PlaylistType
func (*PlaylistType) UnmarshalJSON ¶ added in v0.26.0
func (e *PlaylistType) UnmarshalJSON(data []byte) error
type PostResponses200 ¶ added in v0.26.0
type PostResponses200 struct {
MediaContainer *PostResponses200MediaContainer `json:"MediaContainer,omitempty"`
}
PostResponses200 - OK
func (*PostResponses200) GetMediaContainer ¶ added in v0.26.0
func (p *PostResponses200) GetMediaContainer() *PostResponses200MediaContainer
type PostResponses200MediaContainer ¶ added in v0.26.0
type PostResponses200MediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
Color *string `json:"color,omitempty"`
EndTimeOffset *int64 `json:"endTimeOffset,omitempty"`
ID *int64 `json:"id,omitempty"`
StartTimeOffset *int64 `json:"startTimeOffset,omitempty"`
Title *string `json:"title,omitempty"`
Type *PostResponses200Type `json:"type,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
PostResponses200MediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*PostResponses200MediaContainer) GetAdditionalProperties ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetAdditionalProperties() map[string]any
func (*PostResponses200MediaContainer) GetColor ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetColor() *string
func (*PostResponses200MediaContainer) GetEndTimeOffset ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetEndTimeOffset() *int64
func (*PostResponses200MediaContainer) GetID ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetID() *int64
func (*PostResponses200MediaContainer) GetIdentifier ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetIdentifier() *string
func (*PostResponses200MediaContainer) GetOffset ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetOffset() *int64
func (*PostResponses200MediaContainer) GetSize ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetSize() *int64
func (*PostResponses200MediaContainer) GetStartTimeOffset ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetStartTimeOffset() *int64
func (*PostResponses200MediaContainer) GetTitle ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetTitle() *string
func (*PostResponses200MediaContainer) GetTotalSize ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetTotalSize() *int64
func (*PostResponses200MediaContainer) GetType ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) GetType() *PostResponses200Type
func (PostResponses200MediaContainer) MarshalJSON ¶ added in v0.26.0
func (p PostResponses200MediaContainer) MarshalJSON() ([]byte, error)
func (*PostResponses200MediaContainer) UnmarshalJSON ¶ added in v0.26.0
func (p *PostResponses200MediaContainer) UnmarshalJSON(data []byte) error
type PostResponses200Type ¶ added in v0.26.0
type PostResponses200Type string
const ( PostResponses200TypeIntro PostResponses200Type = "intro" PostResponses200TypeCommercial PostResponses200Type = "commercial" PostResponses200TypeBookmark PostResponses200Type = "bookmark" PostResponses200TypeResume PostResponses200Type = "resume" PostResponses200TypeCredit PostResponses200Type = "credit" )
func (PostResponses200Type) ToPointer ¶ added in v0.26.0
func (e PostResponses200Type) ToPointer() *PostResponses200Type
func (*PostResponses200Type) UnmarshalJSON ¶ added in v0.26.0
func (e *PostResponses200Type) UnmarshalJSON(data []byte) error
type Protocol ¶ added in v0.26.0
type Protocol string
func (*Protocol) UnmarshalJSON ¶ added in v0.26.0
type RecommendationsVisibility ¶ added in v0.26.0
type RecommendationsVisibility string
RecommendationsVisibility - The visibility of this hub in recommendations:
- all: Visible to all users
- none: Visible to no users
- admin: Visible to only admin users
- shared: Visible to shared users
const ( RecommendationsVisibilityAll RecommendationsVisibility = "all" RecommendationsVisibilityNone RecommendationsVisibility = "none" RecommendationsVisibilityAdmin RecommendationsVisibility = "admin" )
func (RecommendationsVisibility) ToPointer ¶ added in v0.26.0
func (e RecommendationsVisibility) ToPointer() *RecommendationsVisibility
func (*RecommendationsVisibility) UnmarshalJSON ¶ added in v0.26.0
func (e *RecommendationsVisibility) UnmarshalJSON(data []byte) error
type RequestHandlerSlashGetResponses200 ¶ added in v0.26.0
type RequestHandlerSlashGetResponses200 struct {
MediaContainer *RequestHandlerSlashGetResponses200MediaContainer `json:"MediaContainer,omitempty"`
}
RequestHandlerSlashGetResponses200 - OK
func (*RequestHandlerSlashGetResponses200) GetMediaContainer ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200) GetMediaContainer() *RequestHandlerSlashGetResponses200MediaContainer
type RequestHandlerSlashGetResponses200Directory ¶ added in v0.26.0
type RequestHandlerSlashGetResponses200Directory struct {
Count *int64 `json:"count,omitempty"`
// The key where this directory is found
Key *string `json:"key,omitempty"`
Title *string `json:"title,omitempty"`
}
func (*RequestHandlerSlashGetResponses200Directory) GetCount ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200Directory) GetCount() *int64
func (*RequestHandlerSlashGetResponses200Directory) GetKey ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200Directory) GetKey() *string
func (*RequestHandlerSlashGetResponses200Directory) GetTitle ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200Directory) GetTitle() *string
type RequestHandlerSlashGetResponses200MediaContainer ¶ added in v0.26.0
type RequestHandlerSlashGetResponses200MediaContainer struct {
Identifier *string `json:"identifier,omitempty"`
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
//
Offset *int64 `json:"offset,omitempty"`
Size *int64 `json:"size,omitempty"`
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
//
TotalSize *int64 `json:"totalSize,omitempty"`
AllowCameraUpload *bool `json:"allowCameraUpload,omitempty"`
AllowChannelAccess *bool `json:"allowChannelAccess,omitempty"`
AllowMediaDeletion *bool `json:"allowMediaDeletion,omitempty"`
AllowSharing *bool `json:"allowSharing,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
AllowTuners *bool `json:"allowTuners,omitempty"`
BackgroundProcessing *bool `json:"backgroundProcessing,omitempty"`
Certificate *bool `json:"certificate,omitempty"`
CompanionProxy *bool `json:"companionProxy,omitempty"`
CountryCode *string `json:"countryCode,omitempty"`
Diagnostics *string `json:"diagnostics,omitempty"`
EventStream *bool `json:"eventStream,omitempty"`
FriendlyName *string `json:"friendlyName,omitempty"`
HubSearch *bool `json:"hubSearch,omitempty"`
ItemClusters *bool `json:"itemClusters,omitempty"`
Livetv *int64 `json:"livetv,omitempty"`
MachineIdentifier any `json:"machineIdentifier,omitempty"`
MediaProviders *bool `json:"mediaProviders,omitempty"`
Multiuser *bool `json:"multiuser,omitempty"`
MusicAnalysis *int64 `json:"musicAnalysis,omitempty"`
MyPlex *bool `json:"myPlex,omitempty"`
MyPlexMappingState any `json:"myPlexMappingState,omitempty"`
MyPlexSigninState any `json:"myPlexSigninState,omitempty"`
MyPlexSubscription *bool `json:"myPlexSubscription,omitempty"`
MyPlexUsername *string `json:"myPlexUsername,omitempty"`
OfflineTranscode any `json:"offlineTranscode,omitempty"`
// A comma-separated list of features which are enabled for the server owner
OwnerFeatures *string `json:"ownerFeatures,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformVersion *string `json:"platformVersion,omitempty"`
PluginHost *bool `json:"pluginHost,omitempty"`
PushNotifications *bool `json:"pushNotifications,omitempty"`
ReadOnlyLibraries *bool `json:"readOnlyLibraries,omitempty"`
StreamingBrainABRVersion *int64 `json:"streamingBrainABRVersion,omitempty"`
StreamingBrainVersion *int64 `json:"streamingBrainVersion,omitempty"`
Sync *bool `json:"sync,omitempty"`
TranscoderActiveVideoSessions *int64 `json:"transcoderActiveVideoSessions,omitempty"`
TranscoderAudio *bool `json:"transcoderAudio,omitempty"`
TranscoderLyrics *bool `json:"transcoderLyrics,omitempty"`
TranscoderPhoto *bool `json:"transcoderPhoto,omitempty"`
TranscoderSubtitles *bool `json:"transcoderSubtitles,omitempty"`
TranscoderVideo *bool `json:"transcoderVideo,omitempty"`
// The suggested video quality bitrates to present to the user
TranscoderVideoBitrates any `json:"transcoderVideoBitrates,omitempty"`
TranscoderVideoQualities *string `json:"transcoderVideoQualities,omitempty"`
// The suggested video resolutions to the above quality bitrates
TranscoderVideoResolutions any `json:"transcoderVideoResolutions,omitempty"`
UpdatedAt *int64 `json:"updatedAt,omitempty"`
Updater *bool `json:"updater,omitempty"`
Version *string `json:"version,omitempty"`
VoiceSearch *bool `json:"voiceSearch,omitempty"`
Directory []RequestHandlerSlashGetResponses200Directory `json:"Directory,omitempty"`
}
RequestHandlerSlashGetResponses200MediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable. Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination) The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
func (*RequestHandlerSlashGetResponses200MediaContainer) GetAllowCameraUpload ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowCameraUpload() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetAllowChannelAccess ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowChannelAccess() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetAllowMediaDeletion ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowMediaDeletion() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetAllowSharing ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowSharing() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetAllowSync ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowSync() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetAllowTuners ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetAllowTuners() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetBackgroundProcessing ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetBackgroundProcessing() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetCertificate ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetCertificate() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetCompanionProxy ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetCompanionProxy() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetCountryCode ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetCountryCode() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetDiagnostics ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetDiagnostics() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetDirectory ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetDirectory() []RequestHandlerSlashGetResponses200Directory
func (*RequestHandlerSlashGetResponses200MediaContainer) GetEventStream ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetEventStream() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetFriendlyName ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetFriendlyName() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetHubSearch ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetHubSearch() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetIdentifier ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetIdentifier() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetItemClusters ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetItemClusters() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetLivetv ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetLivetv() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMachineIdentifier ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMachineIdentifier() any
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMediaProviders ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMediaProviders() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMultiuser ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMultiuser() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMusicAnalysis ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMusicAnalysis() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMyPlex ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlex() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexMappingState ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexMappingState() any
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexSigninState ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexSigninState() any
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexSubscription ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexSubscription() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexUsername ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetMyPlexUsername() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetOfflineTranscode ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetOfflineTranscode() any
func (*RequestHandlerSlashGetResponses200MediaContainer) GetOffset ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetOffset() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetOwnerFeatures ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetOwnerFeatures() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetPlatform ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetPlatform() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetPlatformVersion ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetPlatformVersion() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetPluginHost ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetPluginHost() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetPushNotifications ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetPushNotifications() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetReadOnlyLibraries ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetReadOnlyLibraries() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetSize ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetSize() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetStreamingBrainABRVersion ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetStreamingBrainABRVersion() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetStreamingBrainVersion ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetStreamingBrainVersion() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetSync ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetSync() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTotalSize ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTotalSize() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderActiveVideoSessions ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderActiveVideoSessions() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderAudio ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderAudio() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderLyrics ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderLyrics() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderPhoto ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderPhoto() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderSubtitles ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderSubtitles() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideo ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideo() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoBitrates ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoBitrates() any
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoQualities ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoQualities() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoResolutions ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetTranscoderVideoResolutions() any
func (*RequestHandlerSlashGetResponses200MediaContainer) GetUpdatedAt ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetUpdatedAt() *int64
func (*RequestHandlerSlashGetResponses200MediaContainer) GetUpdater ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetUpdater() *bool
func (*RequestHandlerSlashGetResponses200MediaContainer) GetVersion ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetVersion() *string
func (*RequestHandlerSlashGetResponses200MediaContainer) GetVoiceSearch ¶ added in v0.26.0
func (r *RequestHandlerSlashGetResponses200MediaContainer) GetVoiceSearch() *bool
type Security ¶
type Security struct {
Token *string `security:"scheme,type=apiKey,subtype=header,name=X-Plex-Token"`
}
type Session ¶ added in v0.26.0
type Session struct {
// The bandwidth used by this client's playback in kbps
Bandwidth *int64 `json:"bandwidth,omitempty"`
// The id of the playback session
ID *string `json:"id,omitempty"`
// The location of the client
Location *SessionLocation `json:"location,omitempty"`
}
Session - Information about the playback session
func (*Session) GetBandwidth ¶ added in v0.26.0
func (*Session) GetLocation ¶ added in v0.26.0
func (s *Session) GetLocation() *SessionLocation
type SessionLocation ¶ added in v0.26.0
type SessionLocation string
SessionLocation - The location of the client
const ( SessionLocationLan SessionLocation = "lan" SessionLocationWan SessionLocation = "wan" )
func (SessionLocation) ToPointer ¶ added in v0.26.0
func (e SessionLocation) ToPointer() *SessionLocation
func (*SessionLocation) UnmarshalJSON ¶ added in v0.26.0
func (e *SessionLocation) UnmarshalJSON(data []byte) error
type Setting ¶ added in v0.26.0
type Setting struct {
// The type of the value of this setting
Type *Type `json:"type,omitempty"`
// The default value of this setting
Default *Default `json:"default,omitempty"`
// Whether the setting is considered advanced and normally hidden from the user
Advanced *bool `json:"advanced,omitempty"`
// The possible values for this setting if restricted. The list is `|` separated with `value:name` entries.
EnumValues *string `json:"enumValues,omitempty"`
// The group name of this setting to aid in display of a hierarchy
Group *string `json:"group,omitempty"`
// Whether the setting is hidden or not
Hidden *bool `json:"hidden,omitempty"`
// The query parameter name for this setting
ID *string `json:"id,omitempty"`
// A user-friendly name for the setting
Label *string `json:"label,omitempty"`
// A description of the setting
Summary *string `json:"summary,omitempty"`
// The current value of this setting
Value *Value `json:"value,omitempty"`
}
Setting - A configuration setting or preference
func (*Setting) GetAdvanced ¶ added in v0.26.0
func (*Setting) GetDefault ¶ added in v0.26.0
func (*Setting) GetEnumValues ¶ added in v0.26.0
func (*Setting) GetSummary ¶ added in v0.26.0
type SlashGetResponses200 ¶ added in v0.26.0
type SlashGetResponses200 struct {
MediaContainer *SlashGetResponses200MediaContainer `json:"MediaContainer,omitempty"`
}
SlashGetResponses200 - OK
func (*SlashGetResponses200) GetMediaContainer ¶ added in v0.26.0
func (s *SlashGetResponses200) GetMediaContainer() *SlashGetResponses200MediaContainer
type SlashGetResponses200MediaContainer ¶ added in v0.26.0
type SlashGetResponses200MediaContainer struct {
// The flavors of directory found here:
// - Primary: (e.g. all, On Deck) These are still used in some clients to provide "shortcuts" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users.
// - Secondary: These are marked with `"secondary": true` and were used by old clients to provide nested menus allowing for primative (but structured) navigation.
// - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there's a completely obsolete entry marked `"search": true` which used to be used to allow clients to build search dialogs on the fly.
Content *string `json:"content,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Art *string `json:"art,omitempty"`
Directory []Metadata `json:"Directory,omitempty"`
Identifier *string `json:"identifier,omitempty"`
LibrarySectionID *int64 `json:"librarySectionID,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *int64 `json:"mediaTagVersion,omitempty"`
Size *int64 `json:"size,omitempty"`
SortAsc *bool `json:"sortAsc,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Title1 *string `json:"title1,omitempty"`
ViewGroup *string `json:"viewGroup,omitempty"`
ViewMode *int64 `json:"viewMode,omitempty"`
}
func (*SlashGetResponses200MediaContainer) GetAllowSync ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetAllowSync() *bool
func (*SlashGetResponses200MediaContainer) GetArt ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetArt() *string
func (*SlashGetResponses200MediaContainer) GetContent ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetContent() *string
func (*SlashGetResponses200MediaContainer) GetDirectory ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetDirectory() []Metadata
func (*SlashGetResponses200MediaContainer) GetIdentifier ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetIdentifier() *string
func (*SlashGetResponses200MediaContainer) GetLibrarySectionID ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetLibrarySectionID() *int64
func (*SlashGetResponses200MediaContainer) GetMediaTagPrefix ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetMediaTagPrefix() *string
func (*SlashGetResponses200MediaContainer) GetMediaTagVersion ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetMediaTagVersion() *int64
func (*SlashGetResponses200MediaContainer) GetSize ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetSize() *int64
func (*SlashGetResponses200MediaContainer) GetSortAsc ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetSortAsc() *bool
func (*SlashGetResponses200MediaContainer) GetThumb ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetThumb() *string
func (*SlashGetResponses200MediaContainer) GetTitle1 ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetTitle1() *string
func (*SlashGetResponses200MediaContainer) GetViewGroup ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetViewGroup() *string
func (*SlashGetResponses200MediaContainer) GetViewMode ¶ added in v0.26.0
func (s *SlashGetResponses200MediaContainer) GetViewMode() *int64
type Sort ¶ added in v0.26.0
type Sort struct {
// The title of the field.
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
Art *string `json:"art,omitempty"`
Content *bool `json:"content,omitempty"`
Filter *string `json:"filter,omitempty"`
HasPrefs *bool `json:"hasPrefs,omitempty"`
HasStoreServices *bool `json:"hasStoreServices,omitempty"`
HubKey *string `json:"hubKey,omitempty"`
Identifier *string `json:"identifier,omitempty"`
// The key to use in the sort field to make items sort by this item
Key *string `json:"key,omitempty"`
LastAccessedAt *int64 `json:"lastAccessedAt,omitempty"`
Pivot []SortPivot `json:"Pivot,omitempty"`
Thumb *string `json:"thumb,omitempty"`
TitleBar *string `json:"titleBar,omitempty"`
// If present, this sort is the default and in this direction
Default *SortDefault `json:"default,omitempty"`
// This default diction of this sort
DefaultDirection *DefaultDirection `json:"defaultDirection,omitempty"`
// The key for sorting this field in reverse order
DescKey *string `json:"descKey,omitempty"`
// The key to use to get items sorted by this field and indexed by the first character
FirstCharacterKey *string `json:"firstCharacterKey,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
Sort - Each `Sort` object contains a description of the sort field.
func (*Sort) GetAdditionalProperties ¶ added in v0.26.0
func (*Sort) GetContent ¶ added in v0.26.0
func (*Sort) GetDefault ¶ added in v0.26.0
func (s *Sort) GetDefault() *SortDefault
func (*Sort) GetDefaultDirection ¶ added in v0.26.0
func (s *Sort) GetDefaultDirection() *DefaultDirection
func (*Sort) GetDescKey ¶ added in v0.26.0
func (*Sort) GetFirstCharacterKey ¶ added in v0.26.0
func (*Sort) GetHasPrefs ¶ added in v0.26.0
func (*Sort) GetHasStoreServices ¶ added in v0.26.0
func (*Sort) GetIdentifier ¶ added in v0.26.0
func (*Sort) GetLastAccessedAt ¶ added in v0.26.0
func (*Sort) GetTitleBar ¶ added in v0.26.0
func (Sort) MarshalJSON ¶ added in v0.26.0
func (*Sort) UnmarshalJSON ¶ added in v0.26.0
type SortDefault ¶ added in v0.26.0
type SortDefault string
SortDefault - If present, this sort is the default and in this direction
const ( SortDefaultAsc SortDefault = "asc" SortDefaultDesc SortDefault = "desc" )
func (SortDefault) ToPointer ¶ added in v0.26.0
func (e SortDefault) ToPointer() *SortDefault
func (*SortDefault) UnmarshalJSON ¶ added in v0.26.0
func (e *SortDefault) UnmarshalJSON(data []byte) error
type SortPivot ¶ added in v0.26.0
type SortPivot struct {
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
Context *string `json:"context,omitempty"`
ID *string `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Symbol *string `json:"symbol,omitempty"`
}
func (*SortPivot) GetContext ¶ added in v0.26.0
type Stream ¶ added in v0.26.0
type Stream struct {
Default *bool `json:"default,omitempty"`
AudioChannelLayout any `json:"audioChannelLayout,omitempty"`
BitDepth *int64 `json:"bitDepth,omitempty"`
Bitrate *int64 `json:"bitrate,omitempty"`
// For subtitle streams only. If `true` then the server can attempt to automatically sync the subtitle timestamps with the video.
CanAutoSync *bool `json:"canAutoSync,omitempty"`
ChromaLocation any `json:"chromaLocation,omitempty"`
ChromaSubsampling any `json:"chromaSubsampling,omitempty"`
// The codec of the stream, such as `h264` or `aac`
Codec any `json:"codec,omitempty"`
ColorPrimaries any `json:"colorPrimaries,omitempty"`
ColorRange any `json:"colorRange,omitempty"`
ColorSpace any `json:"colorSpace,omitempty"`
ColorTrc any `json:"colorTrc,omitempty"`
// A friendly name for the stream, often comprised of the language and codec information
DisplayTitle any `json:"displayTitle,omitempty"`
FrameRate *float64 `json:"frameRate,omitempty"`
HasScalingMatrix any `json:"hasScalingMatrix,omitempty"`
Height *int64 `json:"height,omitempty"`
ID *int64 `json:"id,omitempty"`
// If the stream is part of the `Part` and not an external resource, the index of the stream within that part
Index *int64 `json:"index,omitempty"`
// If the stream is independently streamable, the key from which it can be streamed
Key any `json:"key,omitempty"`
Language any `json:"language,omitempty"`
// The three character language code for the stream contents
LanguageCode any `json:"languageCode,omitempty"`
Level *int64 `json:"level,omitempty"`
Profile any `json:"profile,omitempty"`
RefFrames *int64 `json:"refFrames,omitempty"`
SamplingRate *int64 `json:"samplingRate,omitempty"`
Selected *bool `json:"selected,omitempty"`
StreamIdentifier *int64 `json:"streamIdentifier,omitempty"`
// A number indicating the type of the stream. `1` for video, `2` for audio, `3` for subtitles, `4` for lyrics
StreamType *int64 `json:"streamType,omitempty"`
Width *int64 `json:"width,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
Stream - `Stream` represents a particular stream from a media item, such as the video stream, audio stream, or subtitle stream. The stream may either be part of the file represented by the parent `Part` or, especially for subtitles, an external file. The stream contains more detailed information about the specific stream. For example, a video may include the `aspectRatio` at the `Media` level, but detailed information about the video stream like the color space will be included on the `Stream` for the video stream. Note that photos do not have streams (mostly as an optimization).
func (*Stream) GetAdditionalProperties ¶ added in v0.26.0
func (*Stream) GetAudioChannelLayout ¶ added in v0.26.0
func (*Stream) GetBitDepth ¶ added in v0.26.0
func (*Stream) GetBitrate ¶ added in v0.26.0
func (*Stream) GetCanAutoSync ¶ added in v0.26.0
func (*Stream) GetChromaLocation ¶ added in v0.26.0
func (*Stream) GetChromaSubsampling ¶ added in v0.26.0
func (*Stream) GetColorPrimaries ¶ added in v0.26.0
func (*Stream) GetColorRange ¶ added in v0.26.0
func (*Stream) GetColorSpace ¶ added in v0.26.0
func (*Stream) GetColorTrc ¶ added in v0.26.0
func (*Stream) GetDefault ¶ added in v0.26.0
func (*Stream) GetDisplayTitle ¶ added in v0.26.0
func (*Stream) GetFrameRate ¶ added in v0.26.0
func (*Stream) GetHasScalingMatrix ¶ added in v0.26.0
func (*Stream) GetLanguage ¶ added in v0.26.0
func (*Stream) GetLanguageCode ¶ added in v0.26.0
func (*Stream) GetProfile ¶ added in v0.26.0
func (*Stream) GetRefFrames ¶ added in v0.26.0
func (*Stream) GetSamplingRate ¶ added in v0.26.0
func (*Stream) GetSelected ¶ added in v0.26.0
func (*Stream) GetStreamIdentifier ¶ added in v0.26.0
func (*Stream) GetStreamType ¶ added in v0.26.0
func (Stream) MarshalJSON ¶ added in v0.26.0
func (*Stream) UnmarshalJSON ¶ added in v0.26.0
type Subtitles ¶ added in v0.26.0
type Subtitles string
func (*Subtitles) UnmarshalJSON ¶ added in v0.26.0
type Tag ¶ added in v0.26.0
type Tag struct {
// Measure of the confidence of an automatic tag
Confidence *float64 `json:"confidence,omitempty"`
Context *string `json:"context,omitempty"`
// A filter parameter that can be used to query for more content that matches this tag value.
Filter any `json:"filter,omitempty"`
ID *int64 `json:"id,omitempty"`
RatingKey *string `json:"ratingKey,omitempty"`
// The role this actor played
Role any `json:"role,omitempty"`
// The value of the tag (the name)
Tag any `json:"tag,omitempty"`
// Plex identifier for this tag which can be used to fetch additional information from plex.tv
TagKey any `json:"tagKey,omitempty"`
TagType *int64 `json:"tagType,omitempty"`
Thumb any `json:"thumb,omitempty"`
}
Tag - A variety of extra information about a metadata item is included as tags. These tags use their own element names such as `Genre`, `Writer`, `Directory`, and `Role`. Individual tag types may introduce their own extra attributes.
func (*Tag) GetConfidence ¶ added in v0.26.0
func (*Tag) GetContext ¶ added in v0.26.0
func (*Tag) GetRatingKey ¶ added in v0.26.0
func (*Tag) GetTagType ¶ added in v0.26.0
type TranscodeSession ¶ added in v0.26.0
type TranscodeSession struct {
Complete *bool `json:"complete,omitempty"`
Context *string `json:"context,omitempty"`
Duration *int64 `json:"duration,omitempty"`
Error *bool `json:"error,omitempty"`
Key *string `json:"key,omitempty"`
Progress *float64 `json:"progress,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Size *int64 `json:"size,omitempty"`
SourceAudioCodec *string `json:"sourceAudioCodec,omitempty"`
SourceVideoCodec *string `json:"sourceVideoCodec,omitempty"`
Speed *float64 `json:"speed,omitempty"`
Throttled *bool `json:"throttled,omitempty"`
TranscodeHwFullPipeline *bool `json:"transcodeHwFullPipeline,omitempty"`
TranscodeHwRequested *bool `json:"transcodeHwRequested,omitempty"`
}
TranscodeSession - The transcode session if item is currently being transcoded
func (*TranscodeSession) GetComplete ¶ added in v0.26.0
func (t *TranscodeSession) GetComplete() *bool
func (*TranscodeSession) GetContext ¶ added in v0.26.0
func (t *TranscodeSession) GetContext() *string
func (*TranscodeSession) GetDuration ¶ added in v0.26.0
func (t *TranscodeSession) GetDuration() *int64
func (*TranscodeSession) GetError ¶ added in v0.26.0
func (t *TranscodeSession) GetError() *bool
func (*TranscodeSession) GetKey ¶ added in v0.26.0
func (t *TranscodeSession) GetKey() *string
func (*TranscodeSession) GetProgress ¶ added in v0.26.0
func (t *TranscodeSession) GetProgress() *float64
func (*TranscodeSession) GetProtocol ¶ added in v0.26.0
func (t *TranscodeSession) GetProtocol() *string
func (*TranscodeSession) GetSize ¶ added in v0.26.0
func (t *TranscodeSession) GetSize() *int64
func (*TranscodeSession) GetSourceAudioCodec ¶ added in v0.26.0
func (t *TranscodeSession) GetSourceAudioCodec() *string
func (*TranscodeSession) GetSourceVideoCodec ¶ added in v0.26.0
func (t *TranscodeSession) GetSourceVideoCodec() *string
func (*TranscodeSession) GetSpeed ¶ added in v0.26.0
func (t *TranscodeSession) GetSpeed() *float64
func (*TranscodeSession) GetThrottled ¶ added in v0.26.0
func (t *TranscodeSession) GetThrottled() *bool
func (*TranscodeSession) GetTranscodeHwFullPipeline ¶ added in v0.26.0
func (t *TranscodeSession) GetTranscodeHwFullPipeline() *bool
func (*TranscodeSession) GetTranscodeHwRequested ¶ added in v0.26.0
func (t *TranscodeSession) GetTranscodeHwRequested() *bool
type TranscodeType ¶ added in v0.26.0
type TranscodeType string
const ( TranscodeTypeVideo TranscodeType = "video" TranscodeTypeMusic TranscodeType = "music" TranscodeTypeAudio TranscodeType = "audio" TranscodeTypeSubtitles TranscodeType = "subtitles" )
func (TranscodeType) ToPointer ¶ added in v0.26.0
func (e TranscodeType) ToPointer() *TranscodeType
func (*TranscodeType) UnmarshalJSON ¶ added in v0.26.0
func (e *TranscodeType) UnmarshalJSON(data []byte) error
type Type ¶ added in v0.26.0
type Type string
Type - The type of the value of this setting
func (*Type) UnmarshalJSON ¶ added in v0.26.0
type User ¶ added in v0.26.0
type User struct {
// The username
Title *string `json:"title,omitempty"`
// The id of the user
ID *string `json:"id,omitempty"`
// Thumb image to display for the user
Thumb *string `json:"thumb,omitempty"`
}
User - The user playing the content
type Value ¶ added in v0.26.0
type Value struct {
Str *string `queryParam:"inline,name=value"`
Number *float64 `queryParam:"inline,name=value"`
Boolean *bool `queryParam:"inline,name=value"`
Type ValueType
}
Value - The current value of this setting
func CreateValueBoolean ¶ added in v0.26.0
func CreateValueNumber ¶ added in v0.26.0
func CreateValueStr ¶ added in v0.26.0
func (Value) MarshalJSON ¶ added in v0.26.0
func (*Value) UnmarshalJSON ¶ added in v0.26.0
Source Files
¶
- accepts.go
- advancedsubtitles.go
- boolint.go
- channel.go
- channelmapping.go
- composite.go
- device.go
- directory.go
- dvrrequesthandlerslashgetresponses200.go
- filter.go
- getresponses200.go
- historyallgetresponses200.go
- hub.go
- image.go
- items.go
- librarysection.go
- lineup.go
- location.go
- media.go
- mediacontainer.go
- mediacontainerwithartwork.go
- mediacontainerwithdecision.go
- mediacontainerwithdevice.go
- mediacontainerwithdirectory.go
- mediacontainerwithhubs.go
- mediacontainerwithlineup.go
- mediacontainerwithmetadata.go
- mediacontainerwithnestedmetadata.go
- mediacontainerwithplaylistmetadata.go
- mediacontainerwithsettings.go
- mediacontainerwithsubscription.go
- mediagraboperation.go
- mediaquery.go
- mediasubscription.go
- metadata.go
- part.go
- player.go
- postresponses200.go
- protocol.go
- requesthandlerslashgetresponses200.go
- security.go
- session.go
- setting.go
- slashgetresponses200.go
- sort.go
- stream.go
- subtitles.go
- tag.go
- transcodesession.go
- transcodetype.go
- user.go