Skip to content

Commit eaa4053

Browse files
Merge pull request #63 from LukeHagar/fixes
2 parents 1ec73e7 + 9babba6 commit eaa4053

File tree

3 files changed

+7
-112
lines changed

3 files changed

+7
-112
lines changed

src/models/UserPlexAccount.yaml

Lines changed: 6 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,5 @@
11
title: UserPlexAccount
22
type: object
3-
examples:
4-
- adsConsent: true
5-
adsConsentReminderAt: "2019-08-24T14:15:22Z"
6-
adsConsentSetAt: "2019-08-24T14:15:22Z"
7-
anonymous: false
8-
authToken: CxoUzBTSV5hsxjTpFKaf
9-
backupCodesCreated: false
10-
confirmed: false
11-
country: US
12-
13-
emailOnlyAuth: false
14-
experimentalFeatures: false
15-
friendlyName: friendlyUsername
16-
entitlements: []
17-
guest: false
18-
hasPassword: true
19-
home: false
20-
homeAdmin: false
21-
homeSize: 1
22-
id: 13692262
23-
joinedAt: 1721154902
24-
locale: null
25-
mailingListActive: false
26-
mailingListStatus: subscribed
27-
maxHomeSize: 15
28-
pastSubscriptions:
29-
- id: string
30-
mode: string
31-
renewsAt: string
32-
endsAt: "1556281940"
33-
canceled: "0"
34-
gracePeriod: "0"
35-
onHold: "0"
36-
canReactivate: "0"
37-
canUpgrade: "0"
38-
canDowngrade: "0"
39-
canConvert: "0"
40-
type: plexpass
41-
transfer: string
42-
state: ended
43-
billing:
44-
- internalPaymentMethod: string
45-
paymentMethodId: string
46-
pin: string
47-
profile:
48-
- autoSelectAudio: true
49-
defaultAudioLanguage: ja
50-
defaultSubtitleLanguage: en
51-
autoSelectSubtitle: 1
52-
defaultSubtitleAccessibility: 1
53-
defaultSubtitleForced: 0
54-
watchedIndicator: 1
55-
mediaReviewsVisibility: 0
56-
protected: false
57-
rememberExpiresAt: 1722364046
58-
restricted: false
59-
roles:
60-
- string
61-
scrobbleTypes: ""
62-
services:
63-
- identifier: metadata-dev
64-
endpoint: "https://epg.provider.plex.tv"
65-
token: DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv
66-
secret: string
67-
status: online
68-
subscription:
69-
features:
70-
- Android - Dolby Vision
71-
active: true
72-
subscribedAt: "2021-04-12T18:21:12Z"
73-
status: Inactive
74-
paymentService: string
75-
plan: string
76-
subscriptionDescription: string
77-
subscriptions:
78-
- features:
79-
- Android - Dolby Vision
80-
active: true
81-
subscribedAt: "2021-04-12T18:21:12Z"
82-
status: Inactive
83-
paymentService: string
84-
plan: string
85-
thumb: "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101"
86-
title: UsernameTitle
87-
trials:
88-
- {}
89-
twoFactorEnabled: false
90-
username: Username
91-
uuid: dae343c1f45beb4f
923
required:
934
- adsConsent
945
- adsConsentReminderAt
@@ -136,17 +47,13 @@ properties:
13647
- "null"
13748
description: Unknown
13849
adsConsentReminderAt:
139-
type:
140-
- string
141-
- "null"
142-
description: Unknown
143-
format: date-time
50+
oneOf:
51+
- $ref: "./common/PlexDateTime.yaml"
52+
- type: "null"
14453
adsConsentSetAt:
145-
type:
146-
- string
147-
- "null"
148-
description: Unknown
149-
format: date-time
54+
oneOf:
55+
- $ref: "./common/PlexDateTime.yaml"
56+
- type: "null"
15057
anonymous:
15158
type:
15259
- boolean

src/paths/library/[sectionKey]/get-library-items.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ get:
105105
- title1
106106
- title2
107107
- viewGroup
108-
- Metadata
109108
properties:
110109
size:
111110
type: integer

src/pms-spec.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,6 @@ x-speakeasy-globals:
6161
- $ref: "./parameters/plex/x-plex-platform.yaml"
6262
- $ref: "./parameters/plex/x-plex-device.yaml"
6363

64-
x-speakeasy-retries:
65-
strategy: backoff
66-
backoff:
67-
initialInterval: 500 # 500 milliseconds
68-
maxInterval: 60000 # 60 seconds
69-
maxElapsedTime: 3600000 # 5 minutes
70-
exponent: 1.5
71-
statusCodes:
72-
- 5XX
73-
retryConnectionErrors: true
74-
7564
security:
7665
- accessToken: []
7766

@@ -167,7 +156,7 @@ paths:
167156

168157
/library/sections/{sectionKey}:
169158
$ref: "./paths/library/[sectionKey]/library-section.yaml"
170-
159+
171160
# Watchlist
172161
/library/sections/watchlist/{filter}:
173162
$ref: "./paths/library/sections/watchlist/get-watch-list.yaml"

0 commit comments

Comments
 (0)