mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 20:47:48 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
471d850f17 |
@@ -1,12 +1,12 @@
|
|||||||
lockVersion: 2.0.0
|
lockVersion: 2.0.0
|
||||||
id: dfa99515-01c0-42eb-9be5-ee212fd03eb3
|
id: dfa99515-01c0-42eb-9be5-ee212fd03eb3
|
||||||
management:
|
management:
|
||||||
docChecksum: 49e77b550f057eb568502dc74fee7cce
|
docChecksum: 95d4ac4070b7f9db42126fc81b258e02
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: internal
|
speakeasyVersion: internal
|
||||||
generationVersion: 2.237.3
|
generationVersion: 2.237.3
|
||||||
releaseVersion: 0.1.2
|
releaseVersion: 0.1.3
|
||||||
configChecksum: 6e7156b73170398db5f73b78a4f03b59
|
configChecksum: 2e7d024f42a6fdcfee4d2cc46bb9827e
|
||||||
repoURL: https://github.com/LukeHagar/plexgo.git
|
repoURL: https://github.com/LukeHagar/plexgo.git
|
||||||
repoSubDirectory: .
|
repoSubDirectory: .
|
||||||
installationURL: https://github.com/LukeHagar/plexgo
|
installationURL: https://github.com/LukeHagar/plexgo
|
||||||
|
|||||||
10
RELEASES.md
10
RELEASES.md
@@ -79,3 +79,13 @@ Based on:
|
|||||||
- [go v0.1.2] .
|
- [go v0.1.2] .
|
||||||
### Releases
|
### Releases
|
||||||
- [Go v0.1.2] https://github.com/LukeHagar/plexgo/releases/tag/v0.1.2 - .
|
- [Go v0.1.2] https://github.com/LukeHagar/plexgo/releases/tag/v0.1.2 - .
|
||||||
|
|
||||||
|
## 2024-01-23 21:56:10
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc 0.0.3
|
||||||
|
- Speakeasy CLI 1.150.0 (2.237.3) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [go v0.1.3] .
|
||||||
|
### Releases
|
||||||
|
- [Go v0.1.3] https://github.com/LukeHagar/plexgo/releases/tag/v0.1.3 - .
|
||||||
File diff suppressed because one or more lines are too long
@@ -27,6 +27,13 @@
|
|||||||
| `ChapterSource` | **string* | :heavy_minus_sign: | N/A | media |
|
| `ChapterSource` | **string* | :heavy_minus_sign: | N/A | media |
|
||||||
| `PrimaryExtraKey` | **string* | :heavy_minus_sign: | N/A | /library/metadata/58684 |
|
| `PrimaryExtraKey` | **string* | :heavy_minus_sign: | N/A | /library/metadata/58684 |
|
||||||
| `RatingImage` | **string* | :heavy_minus_sign: | N/A | rottentomatoes://image.rating.ripe |
|
| `RatingImage` | **string* | :heavy_minus_sign: | N/A | rottentomatoes://image.rating.ripe |
|
||||||
|
| `GrandparentRatingKey` | **string* | :heavy_minus_sign: | N/A | 66 |
|
||||||
|
| `GrandparentGUID` | **string* | :heavy_minus_sign: | N/A | plex://show/5d9c081b170e24001f2a7be4 |
|
||||||
|
| `GrandparentKey` | **string* | :heavy_minus_sign: | N/A | /library/metadata/66 |
|
||||||
|
| `GrandparentTitle` | **string* | :heavy_minus_sign: | N/A | Caprica |
|
||||||
|
| `GrandparentThumb` | **string* | :heavy_minus_sign: | N/A | /library/metadata/66/thumb/1705716261 |
|
||||||
|
| `GrandparentArt` | **string* | :heavy_minus_sign: | N/A | /library/metadata/66/art/1705716261 |
|
||||||
|
| `GrandparentTheme` | **string* | :heavy_minus_sign: | N/A | /library/metadata/66/theme/1705716261 |
|
||||||
| `Media` | [][operations.GetLibraryItemsMedia](../../models/operations/getlibraryitemsmedia.md) | :heavy_minus_sign: | N/A | [{"Part":[{"container":"mkv","duration":11558112,"file":"/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv","id":119542,"key":"/library/parts/119542/1680457526/file.mkv","size":36158371307,"videoProfile":"main 10"}],"aspectRatio":1.85,"audioChannels":6,"audioCodec":"eac3","bitrate":25025,"container":"mkv","duration":11558112,"height":2072,"id":119534,"videoCodec":"hevc","videoFrameRate":"24p","videoProfile":"main 10","videoResolution":"4k","width":3840}] |
|
| `Media` | [][operations.GetLibraryItemsMedia](../../models/operations/getlibraryitemsmedia.md) | :heavy_minus_sign: | N/A | [{"Part":[{"container":"mkv","duration":11558112,"file":"/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv","id":119542,"key":"/library/parts/119542/1680457526/file.mkv","size":36158371307,"videoProfile":"main 10"}],"aspectRatio":1.85,"audioChannels":6,"audioCodec":"eac3","bitrate":25025,"container":"mkv","duration":11558112,"height":2072,"id":119534,"videoCodec":"hevc","videoFrameRate":"24p","videoProfile":"main 10","videoResolution":"4k","width":3840}] |
|
||||||
| `Genre` | [][operations.GetLibraryItemsGenre](../../models/operations/getlibraryitemsgenre.md) | :heavy_minus_sign: | N/A | [{"tag":"Adventure"}] |
|
| `Genre` | [][operations.GetLibraryItemsGenre](../../models/operations/getlibraryitemsgenre.md) | :heavy_minus_sign: | N/A | [{"tag":"Adventure"}] |
|
||||||
| `Country` | [][operations.GetLibraryItemsCountry](../../models/operations/getlibraryitemscountry.md) | :heavy_minus_sign: | N/A | [{"tag":"United States of America"}] |
|
| `Country` | [][operations.GetLibraryItemsCountry](../../models/operations/getlibraryitemscountry.md) | :heavy_minus_sign: | N/A | [{"tag":"United States of America"}] |
|
||||||
@@ -39,3 +46,19 @@
|
|||||||
| `OriginalTitle` | **string* | :heavy_minus_sign: | N/A | 映画 ブラッククローバー 魔法帝の剣 |
|
| `OriginalTitle` | **string* | :heavy_minus_sign: | N/A | 映画 ブラッククローバー 魔法帝の剣 |
|
||||||
| `ViewOffset` | **int* | :heavy_minus_sign: | N/A | 5222500 |
|
| `ViewOffset` | **int* | :heavy_minus_sign: | N/A | 5222500 |
|
||||||
| `SkipCount` | **int* | :heavy_minus_sign: | N/A | 1 |
|
| `SkipCount` | **int* | :heavy_minus_sign: | N/A | 1 |
|
||||||
|
| `Index` | **int* | :heavy_minus_sign: | N/A | 1 |
|
||||||
|
| `Theme` | **string* | :heavy_minus_sign: | N/A | /library/metadata/1/theme/1705636920 |
|
||||||
|
| `LeafCount` | **int* | :heavy_minus_sign: | N/A | 14 |
|
||||||
|
| `ViewedLeafCount` | **int* | :heavy_minus_sign: | N/A | 0 |
|
||||||
|
| `ChildCount` | **int* | :heavy_minus_sign: | N/A | 1 |
|
||||||
|
| `HasPremiumExtras` | **string* | :heavy_minus_sign: | N/A | 1 |
|
||||||
|
| `HasPremiumPrimaryExtra` | **string* | :heavy_minus_sign: | N/A | 1 |
|
||||||
|
| `ParentRatingKey` | **string* | :heavy_minus_sign: | N/A | 66 |
|
||||||
|
| `ParentGUID` | **string* | :heavy_minus_sign: | N/A | plex://show/5d9c081b170e24001f2a7be4 |
|
||||||
|
| `ParentStudio` | **string* | :heavy_minus_sign: | N/A | UCP |
|
||||||
|
| `ParentKey` | **string* | :heavy_minus_sign: | N/A | /library/metadata/66 |
|
||||||
|
| `ParentTitle` | **string* | :heavy_minus_sign: | N/A | Caprica |
|
||||||
|
| `ParentIndex` | **int* | :heavy_minus_sign: | N/A | 1 |
|
||||||
|
| `ParentYear` | **int* | :heavy_minus_sign: | N/A | 2010 |
|
||||||
|
| `ParentThumb` | **string* | :heavy_minus_sign: | N/A | /library/metadata/66/thumb/1705716261 |
|
||||||
|
| `ParentTheme` | **string* | :heavy_minus_sign: | N/A | /library/metadata/66/theme/1705716261 |
|
||||||
2
gen.yaml
2
gen.yaml
@@ -8,7 +8,7 @@ generation:
|
|||||||
fixes:
|
fixes:
|
||||||
nameResolutionDec2023: false
|
nameResolutionDec2023: false
|
||||||
go:
|
go:
|
||||||
version: 0.1.2
|
version: 0.1.3
|
||||||
clientServerStatusCodesAsErrors: true
|
clientServerStatusCodesAsErrors: true
|
||||||
flattenGlobalSecurity: true
|
flattenGlobalSecurity: true
|
||||||
imports:
|
imports:
|
||||||
|
|||||||
@@ -362,6 +362,13 @@ type GetLibraryItemsMetadata struct {
|
|||||||
ChapterSource *string `json:"chapterSource,omitempty"`
|
ChapterSource *string `json:"chapterSource,omitempty"`
|
||||||
PrimaryExtraKey *string `json:"primaryExtraKey,omitempty"`
|
PrimaryExtraKey *string `json:"primaryExtraKey,omitempty"`
|
||||||
RatingImage *string `json:"ratingImage,omitempty"`
|
RatingImage *string `json:"ratingImage,omitempty"`
|
||||||
|
GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
|
||||||
|
GrandparentGUID *string `json:"grandparentGuid,omitempty"`
|
||||||
|
GrandparentKey *string `json:"grandparentKey,omitempty"`
|
||||||
|
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
|
||||||
|
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
|
||||||
|
GrandparentArt *string `json:"grandparentArt,omitempty"`
|
||||||
|
GrandparentTheme *string `json:"grandparentTheme,omitempty"`
|
||||||
Media []GetLibraryItemsMedia `json:"Media,omitempty"`
|
Media []GetLibraryItemsMedia `json:"Media,omitempty"`
|
||||||
Genre []GetLibraryItemsGenre `json:"Genre,omitempty"`
|
Genre []GetLibraryItemsGenre `json:"Genre,omitempty"`
|
||||||
Country []GetLibraryItemsCountry `json:"Country,omitempty"`
|
Country []GetLibraryItemsCountry `json:"Country,omitempty"`
|
||||||
@@ -374,6 +381,22 @@ type GetLibraryItemsMetadata struct {
|
|||||||
OriginalTitle *string `json:"originalTitle,omitempty"`
|
OriginalTitle *string `json:"originalTitle,omitempty"`
|
||||||
ViewOffset *int `json:"viewOffset,omitempty"`
|
ViewOffset *int `json:"viewOffset,omitempty"`
|
||||||
SkipCount *int `json:"skipCount,omitempty"`
|
SkipCount *int `json:"skipCount,omitempty"`
|
||||||
|
Index *int `json:"index,omitempty"`
|
||||||
|
Theme *string `json:"theme,omitempty"`
|
||||||
|
LeafCount *int `json:"leafCount,omitempty"`
|
||||||
|
ViewedLeafCount *int `json:"viewedLeafCount,omitempty"`
|
||||||
|
ChildCount *int `json:"childCount,omitempty"`
|
||||||
|
HasPremiumExtras *string `json:"hasPremiumExtras,omitempty"`
|
||||||
|
HasPremiumPrimaryExtra *string `json:"hasPremiumPrimaryExtra,omitempty"`
|
||||||
|
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
|
||||||
|
ParentGUID *string `json:"parentGuid,omitempty"`
|
||||||
|
ParentStudio *string `json:"parentStudio,omitempty"`
|
||||||
|
ParentKey *string `json:"parentKey,omitempty"`
|
||||||
|
ParentTitle *string `json:"parentTitle,omitempty"`
|
||||||
|
ParentIndex *int `json:"parentIndex,omitempty"`
|
||||||
|
ParentYear *int `json:"parentYear,omitempty"`
|
||||||
|
ParentThumb *string `json:"parentThumb,omitempty"`
|
||||||
|
ParentTheme *string `json:"parentTheme,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g GetLibraryItemsMetadata) MarshalJSON() ([]byte, error) {
|
func (g GetLibraryItemsMetadata) MarshalJSON() ([]byte, error) {
|
||||||
@@ -541,6 +564,55 @@ func (o *GetLibraryItemsMetadata) GetRatingImage() *string {
|
|||||||
return o.RatingImage
|
return o.RatingImage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetGrandparentRatingKey() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.GrandparentRatingKey
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetGrandparentGUID() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.GrandparentGUID
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetGrandparentKey() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.GrandparentKey
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetGrandparentTitle() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.GrandparentTitle
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetGrandparentThumb() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.GrandparentThumb
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetGrandparentArt() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.GrandparentArt
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetGrandparentTheme() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.GrandparentTheme
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetLibraryItemsMetadata) GetMedia() []GetLibraryItemsMedia {
|
func (o *GetLibraryItemsMetadata) GetMedia() []GetLibraryItemsMedia {
|
||||||
if o == nil {
|
if o == nil {
|
||||||
return nil
|
return nil
|
||||||
@@ -625,6 +697,118 @@ func (o *GetLibraryItemsMetadata) GetSkipCount() *int {
|
|||||||
return o.SkipCount
|
return o.SkipCount
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetIndex() *int {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.Index
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetTheme() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.Theme
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetLeafCount() *int {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.LeafCount
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetViewedLeafCount() *int {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ViewedLeafCount
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetChildCount() *int {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ChildCount
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetHasPremiumExtras() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.HasPremiumExtras
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetHasPremiumPrimaryExtra() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.HasPremiumPrimaryExtra
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentRatingKey() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentRatingKey
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentGUID() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentGUID
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentStudio() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentStudio
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentKey() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentKey
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentTitle() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentTitle
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentIndex() *int {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentIndex
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentYear() *int {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentYear
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentThumb() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentThumb
|
||||||
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMetadata) GetParentTheme() *string {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.ParentTheme
|
||||||
|
}
|
||||||
|
|
||||||
type GetLibraryItemsMediaContainer struct {
|
type GetLibraryItemsMediaContainer struct {
|
||||||
Size *int `json:"size,omitempty"`
|
Size *int `json:"size,omitempty"`
|
||||||
AllowSync *bool `json:"allowSync,omitempty"`
|
AllowSync *bool `json:"allowSync,omitempty"`
|
||||||
@@ -640,6 +824,7 @@ type GetLibraryItemsMediaContainer struct {
|
|||||||
Title2 *string `json:"title2,omitempty"`
|
Title2 *string `json:"title2,omitempty"`
|
||||||
ViewGroup *string `json:"viewGroup,omitempty"`
|
ViewGroup *string `json:"viewGroup,omitempty"`
|
||||||
ViewMode *int `json:"viewMode,omitempty"`
|
ViewMode *int `json:"viewMode,omitempty"`
|
||||||
|
MixedParents *bool `json:"mixedParents,omitempty"`
|
||||||
Metadata []GetLibraryItemsMetadata `json:"Metadata,omitempty"`
|
Metadata []GetLibraryItemsMetadata `json:"Metadata,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -741,6 +926,13 @@ func (o *GetLibraryItemsMediaContainer) GetViewMode() *int {
|
|||||||
return o.ViewMode
|
return o.ViewMode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (o *GetLibraryItemsMediaContainer) GetMixedParents() *bool {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return o.MixedParents
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetLibraryItemsMediaContainer) GetMetadata() []GetLibraryItemsMetadata {
|
func (o *GetLibraryItemsMediaContainer) GetMetadata() []GetLibraryItemsMetadata {
|
||||||
if o == nil {
|
if o == nil {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
@@ -251,9 +251,9 @@ func New(opts ...SDKOption) *PlexAPI {
|
|||||||
sdkConfiguration: sdkConfiguration{
|
sdkConfiguration: sdkConfiguration{
|
||||||
Language: "go",
|
Language: "go",
|
||||||
OpenAPIDocVersion: "0.0.3",
|
OpenAPIDocVersion: "0.0.3",
|
||||||
SDKVersion: "0.1.2",
|
SDKVersion: "0.1.3",
|
||||||
GenVersion: "2.237.3",
|
GenVersion: "2.237.3",
|
||||||
UserAgent: "speakeasy-sdk/go 0.1.2 2.237.3 0.0.3 github.com/LukeHagar/plexgo",
|
UserAgent: "speakeasy-sdk/go 0.1.3 2.237.3 0.0.3 github.com/LukeHagar/plexgo",
|
||||||
ServerDefaults: []map[string]string{
|
ServerDefaults: []map[string]string{
|
||||||
{
|
{
|
||||||
"protocol": "http",
|
"protocol": "http",
|
||||||
|
|||||||
Reference in New Issue
Block a user