From 0ec48b6a1d53df0bfc0c0efc0a7e06baf38a15da Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 21 Dec 2024 00:22:05 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.459.2 --- .speakeasy/gen.lock | 29 +- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +- LukeHagar/PlexAPI/SDK/Activities.cs | 16 +- LukeHagar/PlexAPI/SDK/Authentication.cs | 32 +- LukeHagar/PlexAPI/SDK/Butler.cs | 16 +- LukeHagar/PlexAPI/SDK/Hubs.cs | 16 +- LukeHagar/PlexAPI/SDK/Library.cs | 23 +- LukeHagar/PlexAPI/SDK/Log.cs | 16 +- .../PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj | 2 +- LukeHagar/PlexAPI/SDK/Media.cs | 16 +- .../Errors/AddPlaylistContentsBadRequest.cs | 2 +- .../Errors/AddPlaylistContentsUnauthorized.cs | 2 +- .../Models/Errors/ApplyUpdatesBadRequest.cs | 2 +- .../Models/Errors/ApplyUpdatesUnauthorized.cs | 2 +- .../CancelServerActivitiesBadRequest.cs | 2 +- .../CancelServerActivitiesUnauthorized.cs | 2 +- .../Errors/CheckForUpdatesBadRequest.cs | 2 +- .../Errors/CheckForUpdatesUnauthorized.cs | 2 +- .../Errors/ClearPlaylistContentsBadRequest.cs | 2 +- .../ClearPlaylistContentsUnauthorized.cs | 2 +- .../Models/Errors/CreatePlaylistBadRequest.cs | 2 +- .../Errors/CreatePlaylistUnauthorized.cs | 2 +- .../Models/Errors/DeleteLibraryBadRequest.cs | 2 +- .../Errors/DeleteLibraryUnauthorized.cs | 2 +- .../Models/Errors/DeletePlaylistBadRequest.cs | 2 +- .../Errors/DeletePlaylistUnauthorized.cs | 2 +- .../Errors/EnablePaperTrailBadRequest.cs | 2 +- .../Errors/EnablePaperTrailUnauthorized.cs | 2 +- .../Errors/GetAllLibrariesBadRequest.cs | 2 +- .../Errors/GetAllLibrariesUnauthorized.cs | 2 +- .../Errors/GetAvailableClientsBadRequest.cs | 2 +- .../Errors/GetAvailableClientsUnauthorized.cs | 2 +- .../GetBandwidthStatisticsBadRequest.cs | 2 +- .../GetBandwidthStatisticsUnauthorized.cs | 2 +- .../Models/Errors/GetBannerImageBadRequest.cs | 2 +- .../Errors/GetBannerImageUnauthorized.cs | 2 +- .../Models/Errors/GetButlerTasksBadRequest.cs | 2 +- .../Errors/GetButlerTasksUnauthorized.cs | 2 +- .../Errors/GetCompanionsDataBadRequest.cs | 2 +- .../Errors/GetCompanionsDataUnauthorized.cs | 2 +- .../SDK/Models/Errors/GetDevicesBadRequest.cs | 2 +- .../Models/Errors/GetDevicesUnauthorized.cs | 2 +- .../Models/Errors/GetFileHashBadRequest.cs | 2 +- .../Models/Errors/GetFileHashUnauthorized.cs | 2 +- .../SDK/Models/Errors/GetGeoDataBadRequest.cs | 2 +- .../Models/Errors/GetGeoDataUnauthorized.cs | 2 +- .../Models/Errors/GetGlobalHubsBadRequest.cs | 2 +- .../Errors/GetGlobalHubsUnauthorized.cs | 2 +- .../Models/Errors/GetHomeDataBadRequest.cs | 2 +- .../Models/Errors/GetHomeDataUnauthorized.cs | 2 +- .../Errors/GetLibraryDetailsBadRequest.cs | 2 +- .../Errors/GetLibraryDetailsUnauthorized.cs | 2 +- .../Models/Errors/GetLibraryHubsBadRequest.cs | 2 +- .../Errors/GetLibraryHubsUnauthorized.cs | 2 +- .../Errors/GetLibraryItemsBadRequest.cs | 2 +- .../Errors/GetLibraryItemsUnauthorized.cs | 2 +- .../Errors/GetMediaProvidersBadRequest.cs | 2 +- .../Errors/GetMediaProvidersUnauthorized.cs | 2 +- .../GetMetaDataByRatingKeyBadRequest.cs | 2 +- .../GetMetaDataByRatingKeyUnauthorized.cs | 2 +- .../Errors/GetMetadataChildrenBadRequest.cs | 2 +- .../Errors/GetMetadataChildrenUnauthorized.cs | 2 +- .../Errors/GetMyPlexAccountBadRequest.cs | 2 +- .../Errors/GetMyPlexAccountUnauthorized.cs | 2 +- .../SDK/Models/Errors/GetOnDeckBadRequest.cs | 2 +- .../Models/Errors/GetOnDeckUnauthorized.cs | 2 +- .../SDK/Models/Errors/GetPinBadRequest.cs | 2 +- .../Models/Errors/GetPlaylistBadRequest.cs | 2 +- .../Errors/GetPlaylistContentsBadRequest.cs | 2 +- .../Errors/GetPlaylistContentsUnauthorized.cs | 2 +- .../Models/Errors/GetPlaylistUnauthorized.cs | 2 +- .../Models/Errors/GetPlaylistsBadRequest.cs | 2 +- .../Models/Errors/GetPlaylistsUnauthorized.cs | 2 +- .../GetRecentlyAddedLibraryBadRequest.cs | 2 +- .../GetRecentlyAddedLibraryUnauthorized.cs | 2 +- .../GetRefreshLibraryMetadataBadRequest.cs | 2 +- .../GetRefreshLibraryMetadataUnauthorized.cs | 2 +- .../Errors/GetResizedPhotoBadRequest.cs | 2 +- .../Errors/GetResizedPhotoUnauthorized.cs | 2 +- .../GetResourcesStatisticsBadRequest.cs | 2 +- .../GetResourcesStatisticsUnauthorized.cs | 2 +- .../Errors/GetSearchAllLibrariesBadRequest.cs | 2 +- .../GetSearchAllLibrariesUnauthorized.cs | 2 +- .../Errors/GetSearchLibraryBadRequest.cs | 2 +- .../Errors/GetSearchLibraryUnauthorized.cs | 2 +- .../Errors/GetSearchResultsBadRequest.cs | 2 +- .../Errors/GetSearchResultsUnauthorized.cs | 2 +- .../Errors/GetServerActivitiesBadRequest.cs | 2 +- .../Errors/GetServerActivitiesUnauthorized.cs | 2 +- .../Errors/GetServerCapabilitiesBadRequest.cs | 2 +- .../GetServerCapabilitiesUnauthorized.cs | 2 +- .../Errors/GetServerIdentityRequestTimeout.cs | 2 +- .../Models/Errors/GetServerListBadRequest.cs | 2 +- .../Errors/GetServerListUnauthorized.cs | 2 +- .../Errors/GetServerPreferencesBadRequest.cs | 2 +- .../GetServerPreferencesUnauthorized.cs | 2 +- .../Errors/GetServerResourcesBadRequest.cs | 2 +- .../Errors/GetServerResourcesUnauthorized.cs | 2 +- .../Errors/GetSessionHistoryBadRequest.cs | 2 +- .../Errors/GetSessionHistoryUnauthorized.cs | 2 +- .../Models/Errors/GetSessionsBadRequest.cs | 2 +- .../Models/Errors/GetSessionsUnauthorized.cs | 2 +- ...etSourceConnectionInformationBadRequest.cs | 2 +- ...SourceConnectionInformationUnauthorized.cs | 2 +- .../Models/Errors/GetStatisticsBadRequest.cs | 2 +- .../Errors/GetStatisticsUnauthorized.cs | 2 +- .../Models/Errors/GetThumbImageBadRequest.cs | 2 +- .../Errors/GetThumbImageUnauthorized.cs | 2 +- .../Models/Errors/GetTimelineBadRequest.cs | 2 +- .../Models/Errors/GetTimelineUnauthorized.cs | 2 +- .../Errors/GetTokenByPinIdBadRequest.cs | 2 +- .../Errors/GetTokenByPinIdResponseBody.cs | 2 +- .../Errors/GetTokenDetailsBadRequest.cs | 2 +- .../Errors/GetTokenDetailsUnauthorized.cs | 2 +- .../Errors/GetTopWatchedContentBadRequest.cs | 2 +- .../GetTopWatchedContentUnauthorized.cs | 2 +- .../Errors/GetTranscodeSessionsBadRequest.cs | 2 +- .../GetTranscodeSessionsUnauthorized.cs | 2 +- .../Errors/GetTransientTokenBadRequest.cs | 2 +- .../Errors/GetTransientTokenUnauthorized.cs | 2 +- .../Errors/GetUpdateStatusBadRequest.cs | 2 +- .../Errors/GetUpdateStatusUnauthorized.cs | 2 +- .../Models/Errors/GetUserFriendsBadRequest.cs | 2 +- .../Errors/GetUserFriendsUnauthorized.cs | 2 +- .../Models/Errors/GetWatchListBadRequest.cs | 2 +- .../Models/Errors/GetWatchListUnauthorized.cs | 2 +- .../SDK/Models/Errors/LogLineBadRequest.cs | 2 +- .../SDK/Models/Errors/LogLineUnauthorized.cs | 2 +- .../Models/Errors/LogMultiLineBadRequest.cs | 2 +- .../Models/Errors/LogMultiLineUnauthorized.cs | 2 +- .../SDK/Models/Errors/MarkPlayedBadRequest.cs | 2 +- .../Models/Errors/MarkPlayedUnauthorized.cs | 2 +- .../Models/Errors/MarkUnplayedBadRequest.cs | 2 +- .../Models/Errors/MarkUnplayedUnauthorized.cs | 2 +- .../Models/Errors/PerformSearchBadRequest.cs | 2 +- .../Errors/PerformSearchUnauthorized.cs | 2 +- .../Errors/PerformVoiceSearchBadRequest.cs | 2 +- .../Errors/PerformVoiceSearchUnauthorized.cs | 2 +- .../Errors/PostUsersSignInDataBadRequest.cs | 2 +- .../Errors/PostUsersSignInDataUnauthorized.cs | 2 +- .../Models/Errors/StartAllTasksBadRequest.cs | 2 +- .../Errors/StartAllTasksUnauthorized.cs | 2 +- .../SDK/Models/Errors/StartTaskBadRequest.cs | 2 +- .../Models/Errors/StartTaskUnauthorized.cs | 2 +- .../StartUniversalTranscodeBadRequest.cs | 2 +- .../StartUniversalTranscodeUnauthorized.cs | 2 +- .../Models/Errors/StopAllTasksBadRequest.cs | 2 +- .../Models/Errors/StopAllTasksUnauthorized.cs | 2 +- .../SDK/Models/Errors/StopTaskBadRequest.cs | 2 +- .../SDK/Models/Errors/StopTaskUnauthorized.cs | 2 +- .../Errors/StopTranscodeSessionBadRequest.cs | 2 +- .../StopTranscodeSessionUnauthorized.cs | 2 +- .../Errors/UpdatePlayProgressBadRequest.cs | 2 +- .../Errors/UpdatePlayProgressUnauthorized.cs | 2 +- .../Models/Errors/UpdatePlaylistBadRequest.cs | 2 +- .../Errors/UpdatePlaylistUnauthorized.cs | 2 +- .../Models/Errors/UploadPlaylistBadRequest.cs | 2 +- .../Errors/UploadPlaylistUnauthorized.cs | 2 +- .../Requests/AddPlaylistContentsResponse.cs | 2 +- .../Models/Requests/ApplyUpdatesResponse.cs | 2 +- .../CancelServerActivitiesResponse.cs | 2 +- .../Requests/CheckForUpdatesResponse.cs | 2 +- .../Requests/ClearPlaylistContentsResponse.cs | 2 +- .../Models/Requests/CreatePlaylistResponse.cs | 2 +- .../Models/Requests/DeleteLibraryResponse.cs | 2 +- .../Models/Requests/DeletePlaylistResponse.cs | 2 +- .../Requests/EnablePaperTrailResponse.cs | 2 +- .../Requests/GetAllLibrariesResponse.cs | 2 +- .../Requests/GetAvailableClientsResponse.cs | 2 +- .../GetBandwidthStatisticsResponse.cs | 2 +- .../Models/Requests/GetBannerImageResponse.cs | 2 +- .../Models/Requests/GetButlerTasksResponse.cs | 2 +- .../Requests/GetCompanionsDataResponse.cs | 2 +- .../SDK/Models/Requests/GetDevicesResponse.cs | 2 +- .../Models/Requests/GetFileHashResponse.cs | 2 +- .../SDK/Models/Requests/GetGeoDataResponse.cs | 2 +- .../Models/Requests/GetGlobalHubsResponse.cs | 2 +- .../Models/Requests/GetHomeDataResponse.cs | 2 +- .../Requests/GetLibraryDetailsResponse.cs | 2 +- .../Models/Requests/GetLibraryHubsResponse.cs | 2 +- .../Requests/GetLibraryItemsMetadata.cs | 12 +- .../Requests/GetLibraryItemsQueryParamType.cs | 2 + .../Models/Requests/GetLibraryItemsRequest.cs | 22 +- .../Requests/GetLibraryItemsResponse.cs | 2 +- .../Requests/GetLibraryItemsShowOrdering.cs | 24 +- .../Requests/GetMediaProvidersResponse.cs | 2 +- .../GetMetaDataByRatingKeyMetadata.cs | 30 + .../GetMetaDataByRatingKeyResponse.cs | 2 +- .../Requests/GetMetadataChildrenResponse.cs | 2 +- .../Requests/GetMyPlexAccountResponse.cs | 2 +- .../SDK/Models/Requests/GetOnDeckMetadata.cs | 2 +- .../SDK/Models/Requests/GetOnDeckResponse.cs | 2 +- .../SDK/Models/Requests/GetPinRequest.cs | 2 +- .../SDK/Models/Requests/GetPinResponse.cs | 2 +- .../GetPlaylistContentsQueryParamType.cs | 2 + .../Requests/GetPlaylistContentsResponse.cs | 2 +- .../Models/Requests/GetPlaylistResponse.cs | 2 +- .../Models/Requests/GetPlaylistsResponse.cs | 2 +- .../GetRecentlyAddedLibraryMetadata.cs | 2 +- .../GetRecentlyAddedLibraryRequest.cs | 24 +- .../GetRecentlyAddedLibraryResponse.cs | 2 +- .../Requests/GetRecentlyAddedMetadata.cs | 12 +- .../Requests/GetRecentlyAddedRequest.cs | 24 +- .../Requests/GetRecentlyAddedResponse.cs | 2 +- .../GetRefreshLibraryMetadataResponse.cs | 2 +- .../Requests/GetResizedPhotoResponse.cs | 2 +- .../GetResourcesStatisticsResponse.cs | 2 +- .../Requests/GetSearchAllLibrariesMetadata.cs | 12 +- .../Requests/GetSearchAllLibrariesRequest.cs | 2 +- .../Requests/GetSearchAllLibrariesResponse.cs | 2 +- .../GetSearchAllLibrariesShowOrdering.cs | 24 +- .../GetSearchLibraryQueryParamType.cs | 2 + .../Requests/GetSearchLibraryResponse.cs | 2 +- .../Requests/GetSearchResultsMetadata.cs | 2 +- .../Requests/GetSearchResultsResponse.cs | 2 +- .../Requests/GetServerActivitiesResponse.cs | 2 +- .../Requests/GetServerCapabilitiesResponse.cs | 2 +- .../Requests/GetServerIdentityResponse.cs | 2 +- .../Models/Requests/GetServerListResponse.cs | 2 +- .../Requests/GetServerPreferencesResponse.cs | 2 +- .../Requests/GetServerResourcesRequest.cs | 12 +- .../Requests/GetServerResourcesResponse.cs | 2 +- .../Requests/GetSessionHistoryResponse.cs | 2 +- .../Models/Requests/GetSessionsResponse.cs | 2 +- .../GetSourceConnectionInformationResponse.cs | 2 +- .../Models/Requests/GetStatisticsResponse.cs | 2 +- .../Models/Requests/GetThumbImageResponse.cs | 2 +- .../Models/Requests/GetTimelineResponse.cs | 2 +- .../Models/Requests/GetTokenByPinIdRequest.cs | 2 +- .../Requests/GetTokenByPinIdResponse.cs | 2 +- .../Requests/GetTokenDetailsResponse.cs | 2 +- .../GetTokenDetailsUserPlexAccount.cs | 2 +- .../GetTopWatchedContentQueryParamType.cs | 2 + .../Requests/GetTopWatchedContentResponse.cs | 2 +- .../Requests/GetTranscodeSessionsResponse.cs | 2 +- .../Requests/GetTransientTokenResponse.cs | 2 +- .../Requests/GetUpdateStatusResponse.cs | 2 +- .../Models/Requests/GetUserFriendsResponse.cs | 2 +- .../Models/Requests/GetWatchListRequest.cs | 12 +- .../Models/Requests/GetWatchListResponse.cs | 2 +- .../SDK/Models/Requests/LogLineResponse.cs | 2 +- .../Models/Requests/LogMultiLineResponse.cs | 2 +- .../SDK/Models/Requests/MarkPlayedResponse.cs | 2 +- .../Models/Requests/MarkUnplayedResponse.cs | 2 +- .../Models/Requests/PerformSearchResponse.cs | 2 +- .../Requests/PerformVoiceSearchResponse.cs | 2 +- .../PlexAPI/SDK/Models/Requests/PlexDevice.cs | 2 +- .../Requests/PostUsersSignInDataRequest.cs | 2 +- .../Requests/PostUsersSignInDataResponse.cs | 2 +- .../PostUsersSignInDataUserPlexAccount.cs | 2 +- .../SDK/Models/Requests/QueryParamType.cs | 2 + .../SDK/Models/Requests/ShowOrdering.cs | 24 +- .../Models/Requests/StartAllTasksResponse.cs | 2 +- .../SDK/Models/Requests/StartTaskResponse.cs | 2 +- .../StartUniversalTranscodeResponse.cs | 2 +- .../Models/Requests/StopAllTasksResponse.cs | 2 +- .../SDK/Models/Requests/StopTaskResponse.cs | 2 +- .../Requests/StopTranscodeSessionResponse.cs | 2 +- LukeHagar/PlexAPI/SDK/Models/Requests/Tag.cs | 2 + LukeHagar/PlexAPI/SDK/Models/Requests/Type.cs | 2 + .../Requests/UpdatePlayProgressResponse.cs | 2 +- .../Models/Requests/UpdatePlaylistResponse.cs | 2 +- .../Models/Requests/UploadPlaylistResponse.cs | 2 +- LukeHagar/PlexAPI/SDK/Playlists.cs | 16 +- LukeHagar/PlexAPI/SDK/Plex.cs | 54 +- LukeHagar/PlexAPI/SDK/PlexAPI.cs | 22 +- LukeHagar/PlexAPI/SDK/Search.cs | 16 +- LukeHagar/PlexAPI/SDK/Server.cs | 16 +- LukeHagar/PlexAPI/SDK/Sessions.cs | 16 +- LukeHagar/PlexAPI/SDK/Statistics.cs | 16 +- LukeHagar/PlexAPI/SDK/Updater.cs | 16 +- .../SDK/Utils/RequestBodySerializer.cs | 5 +- LukeHagar/PlexAPI/SDK/Video.cs | 16 +- LukeHagar/PlexAPI/SDK/Watchlist.cs | 16 +- NUGET.md | 90 +- README.md | 64 +- RELEASES.md | 12 +- USAGE.md | 9 +- codeSamples.yaml | 859 ++++-------------- .../Requests/GetLibraryItemsMetadata.md | 2 +- .../Requests/GetLibraryItemsQueryParamType.md | 4 +- .../Models/Requests/GetLibraryItemsRequest.md | 2 +- .../Requests/GetLibraryItemsShowOrdering.md | 26 +- .../GetMetaDataByRatingKeyMetadata.md | 5 + docs/Models/Requests/GetPinRequest.md | 2 +- .../GetPlaylistContentsQueryParamType.md | 4 +- .../GetRecentlyAddedLibraryRequest.md | 2 +- .../Requests/GetRecentlyAddedMetadata.md | 2 +- .../Requests/GetRecentlyAddedRequest.md | 2 +- .../Requests/GetSearchAllLibrariesMetadata.md | 2 +- .../Requests/GetSearchAllLibrariesRequest.md | 2 +- .../GetSearchAllLibrariesShowOrdering.md | 26 +- .../GetSearchLibraryQueryParamType.md | 4 +- .../Requests/GetServerResourcesRequest.md | 4 +- .../Models/Requests/GetTokenByPinIdRequest.md | 2 +- .../GetTopWatchedContentQueryParamType.md | 4 +- docs/Models/Requests/GetWatchListRequest.md | 4 +- .../Requests/PostUsersSignInDataRequest.md | 2 +- docs/Models/Requests/QueryParamType.md | 4 +- docs/Models/Requests/ShowOrdering.md | 26 +- docs/Models/Requests/Tag.md | 3 +- docs/Models/Requests/Type.md | 4 +- docs/sdks/activities/README.md | 19 +- docs/sdks/authentication/README.md | 48 +- docs/sdks/butler/README.md | 53 +- docs/sdks/hubs/README.md | 41 +- docs/sdks/library/README.md | 163 +--- docs/sdks/log/README.md | 33 +- docs/sdks/media/README.md | 52 +- docs/sdks/playlists/README.md | 106 +-- docs/sdks/plex/README.md | 88 +- docs/sdks/plexapi/README.md | 3 + docs/sdks/search/README.md | 30 +- docs/sdks/server/README.md | 88 +- docs/sdks/sessions/README.md | 39 +- docs/sdks/statistics/README.md | 30 +- docs/sdks/updater/README.md | 37 +- docs/sdks/video/README.md | 24 +- docs/sdks/watchlist/README.md | 15 +- 320 files changed, 1022 insertions(+), 2124 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index a6504e0..3f57667 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5a8dbcbc-e0ee-41f0-9d84-b8b50567d1e9 management: - docChecksum: 2554ade61ed4d42b8e095168765d7dc0 + docChecksum: 48a69156b6fa2af10cd43e971790441b docVersion: 0.0.3 - speakeasyVersion: 1.438.3 - generationVersion: 2.457.9 - releaseVersion: 0.11.1 - configChecksum: 6d864de8832de8de89e3cb613a8b82ad + speakeasyVersion: 1.459.2 + generationVersion: 2.483.1 + releaseVersion: 0.12.0 + configChecksum: 801d773449a0279574e73a282b9b0f84 repoURL: https://github.com/LukeHagar/plexcsharp.git repoSubDirectory: . published: true @@ -14,7 +14,7 @@ features: csharp: additionalDependencies: 0.1.0 constsAndDefaults: 0.0.1 - core: 3.10.5 + core: 3.10.10 deprecations: 2.81.2 enums: 2.82.0 errors: 0.2.0 @@ -23,7 +23,6 @@ features: globalSecurityCallbacks: 0.1.0 globalSecurityFlattening: 0.1.0 globalServerURLs: 2.82.3 - globals: 2.82.1 intellisenseMarkdownSupport: 0.1.0 methodArguments: 0.1.0 methodServerURLs: 2.82.1 @@ -1685,7 +1684,8 @@ examples: responses: "401": application/json: {"errors": []} - "200": {} + "200": + application/json: {} "400": application/json: {"errors": []} getServerPreferences: @@ -1891,7 +1891,8 @@ examples: responses: "401": application/json: {"errors": []} - "200": {} + "200": + application/json: {} "400": application/json: {"errors": []} cancelServerActivities: @@ -2203,7 +2204,7 @@ examples: X-Plex-Container-Size: 50 responses: "200": - application/json: {"MediaContainer": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}], "size": 70, "totalSize": 170, "offset": 0, "content": "secondary", "allowSync": true, "nocache": true, "art": "/:/resources/movie-fanart.jpg", "identifier": "com.plexapp.plugins.library", "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "thumb": "/:/resources/movie.png", "title1": "Movies", "title2": "Recently Released", "viewGroup": "movie", "viewMode": 65592, "mixedParents": true, "Metadata": [{"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "dvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}, {"tag": "Adventure"}, {"tag": "Adventure"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}, {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "dvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [], "Country": [{"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}], "Meta": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [], "Sort": [], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}]}}} + application/json: {"MediaContainer": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}], "size": 70, "totalSize": 170, "offset": 0, "content": "secondary", "allowSync": true, "nocache": true, "art": "/:/resources/movie-fanart.jpg", "identifier": "com.plexapp.plugins.library", "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "thumb": "/:/resources/movie.png", "title1": "Movies", "title2": "Recently Released", "viewGroup": "movie", "viewMode": 65592, "mixedParents": true, "Metadata": [{"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "tvdbDvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}, {"tag": "Adventure"}, {"tag": "Adventure"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}, {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "tvdbDvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [], "Country": [{"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}], "Meta": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [], "Sort": [], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}]}}} "400": application/json: {"errors": [{"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}]} "401": @@ -2322,7 +2323,8 @@ examples: responses: "401": application/json: {"errors": []} - "200": {} + "200": + application/json: {} "400": application/json: {"errors": []} logLine: @@ -2724,7 +2726,7 @@ examples: X-Plex-Container-Size: 50 responses: "200": - application/json: {"MediaContainer": {"size": 50, "identifier": "com.plexapp.plugins.library", "Meta": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}, {"type": "tag", "Operator": []}, {"type": "tag", "Operator": []}]}, "Metadata": [{"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "dvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": []}]}], "Genre": [{"tag": "Adventure"}], "Country": [], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [], "Collection": [], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}]}} + application/json: {"MediaContainer": {"size": 50, "identifier": "com.plexapp.plugins.library", "Meta": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}, {"type": "tag", "Operator": []}, {"type": "tag", "Operator": []}]}, "Metadata": [{"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "tvdbDvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": []}]}], "Genre": [{"tag": "Adventure"}], "Country": [], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [], "Collection": [], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}]}} get-recently-added-library: speakeasy-default-get-recently-added-library: parameters: @@ -2755,8 +2757,9 @@ examples: X-Plex-Client-Identifier: "3381b62b-9ab7-4e37-827b-203e9809eb58" responses: "200": - application/json: {"MediaContainer": {"size": "9266.90", "SearchResult": [{"score": "2698.71", "Metadata": {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "dvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}, {"tag": "Adventure"}, {"tag": "Adventure"}], "Country": [{"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}], "Writer": [], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}}, {"score": "9681.40", "Metadata": {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "dvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [], "Genre": [], "Country": [], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}}, {"score": "1665.12", "Metadata": {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "dvd", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}, {"tag": "Adventure"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}}]}} + application/json: {"MediaContainer": {"size": "9266.90", "SearchResult": [{"score": "2698.71", "Metadata": {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "tvdbAbsolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}, {"tag": "Adventure"}, {"tag": "Adventure"}], "Country": [{"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}], "Writer": [], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}}, {"score": "9681.40", "Metadata": {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "tvdbAbsolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [], "Genre": [], "Country": [], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}}, {"score": "1665.12", "Metadata": {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "showOrdering": "tmdbAiring", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.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", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}, {"tag": "Adventure"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}}]}} "400": application/json: {"errors": []} "401": application/json: {"errors": [{"code": 1001, "message": "User could not be authenticated", "status": 401}]} +generatedTests: {} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index fdf43b9..346854d 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false csharp: - version: 0.11.1 + version: 0.12.0 additionalDependencies: [] author: LukeHagar clientServerStatusCodesAsErrors: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a39fcfe..5b686b5 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.438.3 +speakeasyVersion: 1.459.2 sources: my-source: sourceNamespace: my-source @@ -16,19 +16,19 @@ sources: - main plexapi: sourceNamespace: plexapi - sourceRevisionDigest: sha256:37c6bfb15f4154eb89b112465107f20757411f22bd1cc7d0a04335df7127fcb4 - sourceBlobDigest: sha256:290473ebc909cada80ff428c685b897f4621cf121397e1417355e06d334e7206 + sourceRevisionDigest: sha256:ccba0c42f1644923e2209e28da7a78195a843e48da1aeaaedbf8759f1a8a0fe0 + sourceBlobDigest: sha256:b362c110ef633288220a55ab50627374b996c64f2d9b8e020944e84ea2840332 tags: - latest - - main + - speakeasy-sdk-regen-1734740452 targets: plexcsharp: source: plexapi sourceNamespace: plexapi - sourceRevisionDigest: sha256:37c6bfb15f4154eb89b112465107f20757411f22bd1cc7d0a04335df7127fcb4 - sourceBlobDigest: sha256:290473ebc909cada80ff428c685b897f4621cf121397e1417355e06d334e7206 + sourceRevisionDigest: sha256:ccba0c42f1644923e2209e28da7a78195a843e48da1aeaaedbf8759f1a8a0fe0 + sourceBlobDigest: sha256:b362c110ef633288220a55ab50627374b996c64f2d9b8e020944e84ea2840332 codeSamplesNamespace: code-samples-csharp-plexcsharp - codeSamplesRevisionDigest: sha256:edc0ca575be34ae34b4a81817b5c5ed0dc783b63aab0763b04993d20abf47bbb + codeSamplesRevisionDigest: sha256:b6ac1d7d744acb66a5f9c6b4a8108e4035a7030a79d0d6949c7a9e1882108744 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/LukeHagar/PlexAPI/SDK/Activities.cs b/LukeHagar/PlexAPI/SDK/Activities.cs index b8b3398..3b63b59 100644 --- a/LukeHagar/PlexAPI/SDK/Activities.cs +++ b/LukeHagar/PlexAPI/SDK/Activities.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// Activities are awesome. They provide a way to monitor and control asynchronous operations on the server. In order to receive real-time updates for activities, a client would normally subscribe via either EventSource or Websocket endpoints.
@@ -74,10 +74,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Authentication.cs b/LukeHagar/PlexAPI/SDK/Authentication.cs index 62bedbb..45f0767 100644 --- a/LukeHagar/PlexAPI/SDK/Authentication.cs +++ b/LukeHagar/PlexAPI/SDK/Authentication.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls regarding authentication for Plex Media Server
@@ -69,7 +69,7 @@ namespace LukeHagar.PlexAPI.SDK /// Sign in user with username and password and return user data with Plex authentication token /// ///
- Task PostUsersSignInDataAsync(PostUsersSignInDataRequest? request = null, string? serverUrl = null); + Task PostUsersSignInDataAsync(PostUsersSignInDataRequest request, string? serverUrl = null); } /// @@ -95,10 +95,10 @@ namespace LukeHagar.PlexAPI.SDK }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -398,14 +398,8 @@ namespace LukeHagar.PlexAPI.SDK throw new Models.Errors.SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } - public async Task PostUsersSignInDataAsync(PostUsersSignInDataRequest? request = null, string? serverUrl = null) + public async Task PostUsersSignInDataAsync(PostUsersSignInDataRequest request, string? serverUrl = null) { - request.ClientID ??= SDKConfiguration.ClientID; - request.ClientName ??= SDKConfiguration.ClientName; - request.ClientVersion ??= SDKConfiguration.ClientVersion; - request.Platform ??= SDKConfiguration.Platform; - request.DeviceNickname ??= SDKConfiguration.DeviceNickname; - string baseUrl = Utilities.TemplateUrl(PostUsersSignInDataServerList[0], new Dictionary(){ }); if (serverUrl != null) @@ -465,7 +459,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new PostUsersSignInDataResponse() { StatusCode = responseStatusCode, @@ -482,7 +476,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -493,7 +487,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Butler.cs b/LukeHagar/PlexAPI/SDK/Butler.cs index 6ea3334..2b65770 100644 --- a/LukeHagar/PlexAPI/SDK/Butler.cs +++ b/LukeHagar/PlexAPI/SDK/Butler.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// Butler is the task manager of the Plex Media Server Ecosystem.
@@ -101,10 +101,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Hubs.cs b/LukeHagar/PlexAPI/SDK/Hubs.cs index 7a2f841..4ace20c 100644 --- a/LukeHagar/PlexAPI/SDK/Hubs.cs +++ b/LukeHagar/PlexAPI/SDK/Hubs.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// Hubs are a structured two-dimensional container for media, generally represented by multiple horizontal rows.
@@ -73,10 +73,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Library.cs b/LukeHagar/PlexAPI/SDK/Library.cs index 8d226a9..4cfcfd7 100644 --- a/LukeHagar/PlexAPI/SDK/Library.cs +++ b/LukeHagar/PlexAPI/SDK/Library.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls interacting with Plex Media Server Libraries
@@ -147,6 +147,7 @@ namespace LukeHagar.PlexAPI.SDK /// - `resolution`: Items categorized by resolution.
/// - `firstCharacter`: Items categorized by the first letter.
/// - `folder`: Items categorized by folder.
+ /// - `albums`: Items categorized by album.
/// /// ///
@@ -251,10 +252,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -1038,12 +1039,6 @@ namespace LukeHagar.PlexAPI.SDK public async Task GetSearchAllLibrariesAsync(GetSearchAllLibrariesRequest request) { - if (request == null) - { - request = new GetSearchAllLibrariesRequest(); - } - request.ClientID ??= SDKConfiguration.ClientID; - string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); var urlString = URLBuilder.Build(baseUrl, "/library/search", request); diff --git a/LukeHagar/PlexAPI/SDK/Log.cs b/LukeHagar/PlexAPI/SDK/Log.cs index 4981b82..6f08938 100644 --- a/LukeHagar/PlexAPI/SDK/Log.cs +++ b/LukeHagar/PlexAPI/SDK/Log.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// Submit logs to the Log Handler for Plex Media Server
@@ -94,10 +94,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj b/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj index 676cd59..8a7bb5f 100644 --- a/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj +++ b/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj @@ -3,7 +3,7 @@ true LukeHagar.PlexAPI.SDK - 0.11.1 + 0.12.0 net8.0 LukeHagar Copyright (c) LukeHagar 2024 diff --git a/LukeHagar/PlexAPI/SDK/Media.cs b/LukeHagar/PlexAPI/SDK/Media.cs index 45e254f..1ee1091 100644 --- a/LukeHagar/PlexAPI/SDK/Media.cs +++ b/LukeHagar/PlexAPI/SDK/Media.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls interacting with Plex Media Server Media
@@ -90,10 +90,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsBadRequest.cs index b027e15..bf9c2b8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsUnauthorized.cs index e906295..cef7fd1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesBadRequest.cs index ac4b92c..e4a28ff 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUnauthorized.cs index d144a1b..3908545 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesBadRequest.cs index 9bb084c..894a59d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesUnauthorized.cs index 17af327..81e509c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesBadRequest.cs index 87b36bb..43367c9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUnauthorized.cs index f1532bb..5835d2d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsBadRequest.cs index c247c47..96d1ee6 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsUnauthorized.cs index b5c5276..d3b3d68 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistBadRequest.cs index a700091..2463cdc 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistUnauthorized.cs index 7516983..99ac563 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryBadRequest.cs index 833ad32..8ed6c21 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryUnauthorized.cs index 48312be..dd0df27 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistBadRequest.cs index c95cadb..08cdf1e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistUnauthorized.cs index 9a0daba..7e3ccbe 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailBadRequest.cs index 2d8aee3..7fb5748 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailUnauthorized.cs index a39d657..5291767 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesBadRequest.cs index d793c9e..7d7167d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesUnauthorized.cs index d495ab5..dd8610a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsBadRequest.cs index de34ec6..82b10ae 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsUnauthorized.cs index ef4f76d..e04a736 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsBadRequest.cs index dabc8b8..1b439b1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsUnauthorized.cs index 557869b..14248a1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageBadRequest.cs index 3755855..adf3e6d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageUnauthorized.cs index 18770b6..9c76dd1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksBadRequest.cs index ffa6022..625af94 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksUnauthorized.cs index 8a375e1..1bcdfd7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataBadRequest.cs index 067cf86..d65bab1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataUnauthorized.cs index 67fc8db..99839ae 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesBadRequest.cs index 22d3a5a..d903889 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesUnauthorized.cs index 8421696..1738828 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashBadRequest.cs index 61f1271..06cbcbb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashUnauthorized.cs index 0efcc56..2a8b309 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataBadRequest.cs index fc20597..0d54d2c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataUnauthorized.cs index 0674e43..97f6f09 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsBadRequest.cs index f1df666..6d2cb4e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsUnauthorized.cs index 56d8d9d..0598275 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataBadRequest.cs index b32b946..bdb1a9e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataUnauthorized.cs index 79b0cb1..da59e3d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsBadRequest.cs index b4404d8..648e40f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsUnauthorized.cs index b571e06..498a3d3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsBadRequest.cs index 09ddbd2..c178aad 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsUnauthorized.cs index d1232c9..37890d0 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsBadRequest.cs index 2c22cef..a8c0bfe 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsUnauthorized.cs index 47fd10b..d930209 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersBadRequest.cs index 0745731..350d23b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersUnauthorized.cs index 0c35e9c..56199c8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyBadRequest.cs index ad125c9..bf94eb9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyUnauthorized.cs index 64b8a11..a430e27 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenBadRequest.cs index fec6c9a..eb55787 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenUnauthorized.cs index c395bbd..22a3072 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountBadRequest.cs index ea98c54..9017b73 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountUnauthorized.cs index b88a034..a29808b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckBadRequest.cs index 402b435..4c0b626 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckUnauthorized.cs index 935d2ac..57e12c9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.cs index 60835c2..94fdc03 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistBadRequest.cs index bb0dd59..be4f6d3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsBadRequest.cs index 46abe8e..74763fe 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsUnauthorized.cs index 5c20d73..0d198db 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistUnauthorized.cs index d2e0e66..e1fae4c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsBadRequest.cs index 6357457..8d98cf3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsUnauthorized.cs index 3a1bceb..71ff7e6 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryBadRequest.cs index 156b36e..74b9912 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryUnauthorized.cs index 2548342..76fbd33 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataBadRequest.cs index e754abd..234e3e8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataUnauthorized.cs index 68911f3..d84f5f6 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoBadRequest.cs index b6037bb..8d3ef03 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoUnauthorized.cs index ebce50f..6251c57 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsBadRequest.cs index 0db83f2..0103133 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsUnauthorized.cs index 97ee67e..4059c49 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchAllLibrariesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchAllLibrariesBadRequest.cs index f690bd0..9fda213 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchAllLibrariesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchAllLibrariesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchAllLibrariesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchAllLibrariesUnauthorized.cs index d2b5225..e970273 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchAllLibrariesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchAllLibrariesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryBadRequest.cs index 0e9be51..1df9352 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryUnauthorized.cs index 81b2e45..dda9491 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsBadRequest.cs index b86e4b3..b3660aa 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsUnauthorized.cs index 099b1cf..74fdccf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesBadRequest.cs index dddde0f..67ab9dc 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesUnauthorized.cs index be954d9..bbc546b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesBadRequest.cs index cd6930d..7eaa054 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesUnauthorized.cs index 07036cb..7fe6ddc 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityRequestTimeout.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityRequestTimeout.cs index 21e873b..80b33bc 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityRequestTimeout.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityRequestTimeout.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - using System.Net.Http; using System; + using System.Net.Http; /// /// Request Timeout diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListBadRequest.cs index 7b4487b..b7fff47 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListUnauthorized.cs index e9ddcc0..de9712e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesBadRequest.cs index be5a130..bc74e81 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesUnauthorized.cs index 170f16a..43ccd49 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesBadRequest.cs index a43a5d3..ae6d816 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesUnauthorized.cs index 684fdaa..496c2ab 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryBadRequest.cs index b51f63e..c17cea8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryUnauthorized.cs index d28805c..8bc9c30 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsBadRequest.cs index 0b09e7d..a6de189 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsUnauthorized.cs index a84dc7e..ff644a9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationBadRequest.cs index f723833..d48e9f9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationUnauthorized.cs index 2421926..cc51487 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsBadRequest.cs index 8397a2f..721604f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsUnauthorized.cs index 331fc69..9679209 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageBadRequest.cs index 2723c95..c844db4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageUnauthorized.cs index 1e4caa0..0e8d730 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineBadRequest.cs index d1fab8f..275bbbd 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineUnauthorized.cs index 1ae7fc4..4bd688a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.cs index 4948524..626f8d7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdResponseBody.cs index ddfdab5..c74538d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdResponseBody.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Not Found or Expired diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.cs index 72807ef..0ae82af 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.cs index 6df771d..d1522e4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentBadRequest.cs index 496fee5..522a6f7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentUnauthorized.cs index 0aad964..195feec 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsBadRequest.cs index efcc3a3..0ca116e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsUnauthorized.cs index 7cb85c4..f9fee9a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenBadRequest.cs index 171a27f..c4700a7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenUnauthorized.cs index 7e6a9a2..9f1ea99 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusBadRequest.cs index a7eaa11..c6db8e8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUnauthorized.cs index bba6804..473659a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsBadRequest.cs index be00d8c..90bef3b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsUnauthorized.cs index 06548b2..e81c717 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListBadRequest.cs index 213b9e9..d60c59e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListUnauthorized.cs index ddedf02..1c4ff27 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineBadRequest.cs index a520690..75be6da 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineUnauthorized.cs index 01abe63..48e75ae 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineBadRequest.cs index 8d83fa1..43ab5ae 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineUnauthorized.cs index 440772d..e92f478 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedBadRequest.cs index 2b4e7ec..d96ced8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedUnauthorized.cs index 5bf1370..7e38760 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedBadRequest.cs index ca1d666..715be6a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedUnauthorized.cs index 42017da..e248c2b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchBadRequest.cs index 2bb8356..0260219 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchUnauthorized.cs index 559b4fa..e6d7d90 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchBadRequest.cs index d85b373..ccb5294 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchUnauthorized.cs index 076272a..6bd0c32 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataBadRequest.cs index 424b87b..56de82d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataUnauthorized.cs index c96977c..2b08381 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksBadRequest.cs index a17f892..193f839 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksUnauthorized.cs index 4e1659c..3feed44 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskBadRequest.cs index 9db2b64..1a748a1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskUnauthorized.cs index 603a50f..af4524a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeBadRequest.cs index 80e8386..de05246 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeUnauthorized.cs index 33c4222..bd9597b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksBadRequest.cs index 3e5ac00..b033f2e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksUnauthorized.cs index 9af850a..f5aaee2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskBadRequest.cs index 8dee711..2f20e98 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskUnauthorized.cs index e41e317..4ff327c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionBadRequest.cs index ebfa770..6873015 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionUnauthorized.cs index 37db328..08b31e8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressBadRequest.cs index 03eac12..7048318 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressUnauthorized.cs index 314541d..a376e41 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistBadRequest.cs index ca05498..3458b36 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistUnauthorized.cs index 0c0421f..b6cf141 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistBadRequest.cs index 8cebecc..f828eaf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistBadRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistBadRequest.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistUnauthorized.cs index 7fd124e..6f77ea2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistUnauthorized.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistUnauthorized.cs @@ -12,9 +12,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; - using System; /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsResponse.cs index daa8aa5..49caa31 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class AddPlaylistContentsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/ApplyUpdatesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/ApplyUpdatesResponse.cs index 6dbc73a..1fda69d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/ApplyUpdatesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/ApplyUpdatesResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class ApplyUpdatesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/CancelServerActivitiesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/CancelServerActivitiesResponse.cs index fb4c2dc..8c3d143 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/CancelServerActivitiesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/CancelServerActivitiesResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class CancelServerActivitiesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/CheckForUpdatesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/CheckForUpdatesResponse.cs index 8f2b4a8..2155383 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/CheckForUpdatesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/CheckForUpdatesResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class CheckForUpdatesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/ClearPlaylistContentsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/ClearPlaylistContentsResponse.cs index 4f21a61..58c7319 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/ClearPlaylistContentsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/ClearPlaylistContentsResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class ClearPlaylistContentsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/CreatePlaylistResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/CreatePlaylistResponse.cs index 8c68139..b7d3951 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/CreatePlaylistResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/CreatePlaylistResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class CreatePlaylistResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/DeleteLibraryResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/DeleteLibraryResponse.cs index 1e08e5b..f672400 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/DeleteLibraryResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/DeleteLibraryResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class DeleteLibraryResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/DeletePlaylistResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/DeletePlaylistResponse.cs index d53d290..1c203b6 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/DeletePlaylistResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/DeletePlaylistResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class DeletePlaylistResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/EnablePaperTrailResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/EnablePaperTrailResponse.cs index ce4d69c..7ee28cb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/EnablePaperTrailResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/EnablePaperTrailResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class EnablePaperTrailResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesResponse.cs index 6f6f4f8..28137ca 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetAllLibrariesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAvailableClientsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAvailableClientsResponse.cs index d425c68..a6900ee 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAvailableClientsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAvailableClientsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetAvailableClientsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetBandwidthStatisticsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetBandwidthStatisticsResponse.cs index e511248..7e8c4b7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetBandwidthStatisticsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetBandwidthStatisticsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetBandwidthStatisticsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetBannerImageResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetBannerImageResponse.cs index a9df906..b35c8d8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetBannerImageResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetBannerImageResponse.cs @@ -10,9 +10,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; + using System; using System.Collections.Generic; using System.Net.Http; - using System; public class GetBannerImageResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetButlerTasksResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetButlerTasksResponse.cs index 627e1a4..060eb10 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetButlerTasksResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetButlerTasksResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetButlerTasksResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetCompanionsDataResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetCompanionsDataResponse.cs index 329977b..73866bf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetCompanionsDataResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetCompanionsDataResponse.cs @@ -11,9 +11,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; + using System; using System.Collections.Generic; using System.Net.Http; - using System; public class GetCompanionsDataResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetDevicesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetDevicesResponse.cs index b5bfae8..8c85da7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetDevicesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetDevicesResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetDevicesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetFileHashResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetFileHashResponse.cs index eef33d0..438b408 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetFileHashResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetFileHashResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetFileHashResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetGeoDataResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetGeoDataResponse.cs index 939a6b1..5e71e2e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetGeoDataResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetGeoDataResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetGeoDataResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetGlobalHubsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetGlobalHubsResponse.cs index a208e64..4d5d8e7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetGlobalHubsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetGlobalHubsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetGlobalHubsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetHomeDataResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetHomeDataResponse.cs index 3c992ce..5459719 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetHomeDataResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetHomeDataResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetHomeDataResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryDetailsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryDetailsResponse.cs index 98d94d7..cd9cccf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryDetailsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryDetailsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetLibraryDetailsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryHubsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryHubsResponse.cs index 3021c44..5bbf3e5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryHubsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryHubsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetLibraryHubsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsMetadata.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsMetadata.cs index 72234d5..45659c9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsMetadata.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsMetadata.cs @@ -91,14 +91,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public GetLibraryItemsFlattenSeasons? FlattenSeasons { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.GetLibraryItemsFlattenSeasons.False; /// - /// Setting that indicates the episode ordering for the show
+ /// Setting that indicates the episode ordering for the show
/// /// - /// None = Library default,
- /// tmdbAiring = The Movie Database (Aired),
- /// aired = TheTVDB (Aired),
- /// dvd = TheTVDB (DVD),
- /// absolute = TheTVDB (Absolute)).
+ /// None = Library default,
+ /// tmdbAiring = The Movie Database (Aired),
+ /// tvdbAiring = TheTVDB (Aired),
+ /// tvdbDvd = TheTVDB (DVD),
+ /// tvdbAbsolute = TheTVDB (Absolute)).
/// ///
///
diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsQueryParamType.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsQueryParamType.cs index 2e10347..f080eaf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsQueryParamType.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsQueryParamType.cs @@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Season = 3, Episode = 4, Audio = 8, + Album = 9, + Track = 10, } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsRequest.cs index bb0c2da..7f504b0 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsRequest.cs @@ -21,17 +21,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=tag")] public Tag Tag { get; set; } = default!; - /// - /// The unique key of the Plex library.
- /// - /// - /// Note: This is unique in the context of the Plex server.
- /// - ///
- ///
- [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sectionKey")] - public int SectionKey { get; set; } = default!; - /// /// Adds the Guids object to the response
/// @@ -57,6 +46,17 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests [SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")] public GetLibraryItemsQueryParamType? Type { get; set; } + /// + /// The unique key of the Plex library.
+ /// + /// + /// Note: This is unique in the context of the Plex server.
+ /// + ///
+ ///
+ [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sectionKey")] + public int SectionKey { get; set; } = default!; + /// /// Adds the Meta object to the response
/// diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsResponse.cs index c8a18d0..f1c898b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetLibraryItemsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsShowOrdering.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsShowOrdering.cs index d5bce30..9926760 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsShowOrdering.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsShowOrdering.cs @@ -14,14 +14,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using System; /// - /// Setting that indicates the episode ordering for the show
+ /// Setting that indicates the episode ordering for the show
/// /// - /// None = Library default,
- /// tmdbAiring = The Movie Database (Aired),
- /// aired = TheTVDB (Aired),
- /// dvd = TheTVDB (DVD),
- /// absolute = TheTVDB (Absolute)).
+ /// None = Library default,
+ /// tmdbAiring = The Movie Database (Aired),
+ /// tvdbAiring = TheTVDB (Aired),
+ /// tvdbDvd = TheTVDB (DVD),
+ /// tvdbAbsolute = TheTVDB (Absolute)).
/// ///
///
@@ -31,12 +31,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests None, [JsonProperty("tmdbAiring")] TmdbAiring, - [JsonProperty("aired")] - Aired, - [JsonProperty("dvd")] - Dvd, - [JsonProperty("absolute")] - Absolute, + [JsonProperty("tvdbAiring")] + TvdbAiring, + [JsonProperty("tvdbDvd")] + TvdbDvd, + [JsonProperty("tvdbAbsolute")] + TvdbAbsolute, } public static class GetLibraryItemsShowOrderingExtension diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMediaProvidersResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMediaProvidersResponse.cs index 5968fde..38f60ab 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMediaProvidersResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMediaProvidersResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetMediaProvidersResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyMetadata.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyMetadata.cs index cf64381..5789fa3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyMetadata.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyMetadata.cs @@ -45,6 +45,36 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests [JsonProperty("librarySectionKey")] public string? LibrarySectionKey { get; set; } + /// + /// The name of the album artist for the track when audio, and the name of the TV show for the episode when video. + /// + [JsonProperty("grandparentTitle")] + public string? GrandparentTitle { get; set; } + + /// + /// The name of the album for the track when audio, and the name of the season for the episode when TV show. + /// + [JsonProperty("parentTitle")] + public string? ParentTitle { get; set; } + + /// + /// The orginal untranslated name of the media item when non-english. + /// + [JsonProperty("originalTitle")] + public string? OriginalTitle { get; set; } + + /// + /// The index starting from 0 of this media item in the MetaData array. + /// + [JsonProperty("index")] + public long? Index { get; set; } + + /// + /// The parent index starting from 0 of this media item in the parent MetaData array. + /// + [JsonProperty("parentIndex")] + public long? ParentIndex { get; set; } + [JsonProperty("contentRating")] public string? ContentRating { get; set; } diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyResponse.cs index 407cae5..0851ffe 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetMetaDataByRatingKeyResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetadataChildrenResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetadataChildrenResponse.cs index b2afb77..83bbdb5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetadataChildrenResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetadataChildrenResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetMetadataChildrenResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMyPlexAccountResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMyPlexAccountResponse.cs index 366428a..219a6c7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMyPlexAccountResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMyPlexAccountResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetMyPlexAccountResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckMetadata.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckMetadata.cs index dfac7fc..f167d9d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckMetadata.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckMetadata.cs @@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - using System.Collections.Generic; using System; + using System.Collections.Generic; public class GetOnDeckMetadata { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckResponse.cs index ddce1d5..cba88a8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetOnDeckResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPinRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPinRequest.cs index e6713a8..3699187 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPinRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPinRequest.cs @@ -30,7 +30,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// An opaque identifier unique to the client (UUID, serial number, or other unique device ID) ///
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] - public string? ClientID { get; set; } + public string ClientID { get; set; } = default!; /// /// The name of the client application. (Plex Web, Plex Media Server, etc.) diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPinResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPinResponse.cs index dfeffdf..0c6c1aa 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPinResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPinResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetPinResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsQueryParamType.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsQueryParamType.cs index 79ecf0d..906a2ec 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsQueryParamType.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsQueryParamType.cs @@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Season = 3, Episode = 4, Audio = 8, + Album = 9, + Track = 10, } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsResponse.cs index 9f1a361..a94f435 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetPlaylistContentsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistResponse.cs index f671c3f..432fe5f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetPlaylistResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistsResponse.cs index 077f956..4bc3c91 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetPlaylistsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryMetadata.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryMetadata.cs index 3e1bc97..2e46d9f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryMetadata.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryMetadata.cs @@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - using System.Collections.Generic; using System; + using System.Collections.Generic; public class GetRecentlyAddedLibraryMetadata { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryRequest.cs index 1a001c3..c57046b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryRequest.cs @@ -16,6 +16,18 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public class GetRecentlyAddedLibraryRequest { + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=contentDirectoryID")] + public long? ContentDirectoryID { get; set; } + + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")] + public List? PinnedContentDirectoryID { get; set; } + + /// + /// The library section ID for filtering content. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")] + public long? SectionID { get; set; } + /// /// The type of media to retrieve.
/// @@ -31,18 +43,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests [SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")] public QueryParamType Type { get; set; } = default!; - [SpeakeasyMetadata("queryParam:style=form,explode=true,name=contentDirectoryID")] - public long? ContentDirectoryID { get; set; } - - [SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")] - public List? PinnedContentDirectoryID { get; set; } - - /// - /// The library section ID for filtering content. - /// - [SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")] - public long? SectionID { get; set; } - /// /// Adds the Meta object to the response
/// diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryResponse.cs index 9894406..d9890c4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedLibraryResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetRecentlyAddedLibraryResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedMetadata.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedMetadata.cs index 184017f..b1093ec 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedMetadata.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedMetadata.cs @@ -91,14 +91,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public FlattenSeasons? FlattenSeasons { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.FlattenSeasons.False; /// - /// Setting that indicates the episode ordering for the show
+ /// Setting that indicates the episode ordering for the show
/// /// - /// None = Library default,
- /// tmdbAiring = The Movie Database (Aired),
- /// aired = TheTVDB (Aired),
- /// dvd = TheTVDB (DVD),
- /// absolute = TheTVDB (Absolute)).
+ /// None = Library default,
+ /// tmdbAiring = The Movie Database (Aired),
+ /// tvdbAiring = TheTVDB (Aired),
+ /// tvdbDvd = TheTVDB (DVD),
+ /// tvdbAbsolute = TheTVDB (Absolute)).
/// ///
///
diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedRequest.cs index 0a785b5..e9286fe 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedRequest.cs @@ -21,6 +21,18 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests [SpeakeasyMetadata("queryParam:style=form,explode=true,name=contentDirectoryID")] public long ContentDirectoryID { get; set; } = default!; + /// + /// Comma-separated list of pinned content directory IDs. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")] + public string? PinnedContentDirectoryID { get; set; } + + /// + /// The library section ID for filtering content. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")] + public long? SectionID { get; set; } + /// /// The type of media to retrieve.
/// @@ -36,18 +48,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests [SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")] public Models.Requests.Type Type { get; set; } = default!; - /// - /// Comma-separated list of pinned content directory IDs. - /// - [SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")] - public string? PinnedContentDirectoryID { get; set; } - - /// - /// The library section ID for filtering content. - /// - [SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")] - public long? SectionID { get; set; } - /// /// Adds the Meta object to the response
/// diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedResponse.cs index 8f71334..7cd3936 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetRecentlyAddedResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRefreshLibraryMetadataResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRefreshLibraryMetadataResponse.cs index 9aab8dd..48ef6ed 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRefreshLibraryMetadataResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRefreshLibraryMetadataResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetRefreshLibraryMetadataResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetResizedPhotoResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetResizedPhotoResponse.cs index 36b22c5..72dfb5c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetResizedPhotoResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetResizedPhotoResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetResizedPhotoResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetResourcesStatisticsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetResourcesStatisticsResponse.cs index 342f752..62d0adf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetResourcesStatisticsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetResourcesStatisticsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetResourcesStatisticsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesMetadata.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesMetadata.cs index 5e4fde2..48ef470 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesMetadata.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesMetadata.cs @@ -91,14 +91,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public GetSearchAllLibrariesFlattenSeasons? FlattenSeasons { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.GetSearchAllLibrariesFlattenSeasons.False; /// - /// Setting that indicates the episode ordering for the show
+ /// Setting that indicates the episode ordering for the show
/// /// - /// None = Library default,
- /// tmdbAiring = The Movie Database (Aired),
- /// aired = TheTVDB (Aired),
- /// dvd = TheTVDB (DVD),
- /// absolute = TheTVDB (Absolute)).
+ /// None = Library default,
+ /// tmdbAiring = The Movie Database (Aired),
+ /// tvdbAiring = TheTVDB (Aired),
+ /// tvdbDvd = TheTVDB (DVD),
+ /// tvdbAbsolute = TheTVDB (Absolute)).
/// ///
///
diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesRequest.cs index c1f31e9..85258f3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesRequest.cs @@ -26,7 +26,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// An opaque identifier unique to the client (UUID, serial number, or other unique device ID) ///
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] - public string? ClientID { get; set; } + public string ClientID { get; set; } = default!; /// /// Limit the number of results returned. diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesResponse.cs index 04a5a1e..41352ce 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetSearchAllLibrariesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesShowOrdering.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesShowOrdering.cs index c65a6fc..bc22519 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesShowOrdering.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchAllLibrariesShowOrdering.cs @@ -14,14 +14,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using System; /// - /// Setting that indicates the episode ordering for the show
+ /// Setting that indicates the episode ordering for the show
/// /// - /// None = Library default,
- /// tmdbAiring = The Movie Database (Aired),
- /// aired = TheTVDB (Aired),
- /// dvd = TheTVDB (DVD),
- /// absolute = TheTVDB (Absolute)).
+ /// None = Library default,
+ /// tmdbAiring = The Movie Database (Aired),
+ /// tvdbAiring = TheTVDB (Aired),
+ /// tvdbDvd = TheTVDB (DVD),
+ /// tvdbAbsolute = TheTVDB (Absolute)).
/// ///
///
@@ -31,12 +31,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests None, [JsonProperty("tmdbAiring")] TmdbAiring, - [JsonProperty("aired")] - Aired, - [JsonProperty("dvd")] - Dvd, - [JsonProperty("absolute")] - Absolute, + [JsonProperty("tvdbAiring")] + TvdbAiring, + [JsonProperty("tvdbDvd")] + TvdbDvd, + [JsonProperty("tvdbAbsolute")] + TvdbAbsolute, } public static class GetSearchAllLibrariesShowOrderingExtension diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryQueryParamType.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryQueryParamType.cs index 1d22d7a..1840aab 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryQueryParamType.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryQueryParamType.cs @@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Season = 3, Episode = 4, Audio = 8, + Album = 9, + Track = 10, } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryResponse.cs index dc2ce37..a1b3e65 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetSearchLibraryResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsMetadata.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsMetadata.cs index c7a502b..e3909bf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsMetadata.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsMetadata.cs @@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - using System.Collections.Generic; using System; + using System.Collections.Generic; public class GetSearchResultsMetadata { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsResponse.cs index d36d026..bba80f3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetSearchResultsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerActivitiesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerActivitiesResponse.cs index f785d84..6fc2f55 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerActivitiesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerActivitiesResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetServerActivitiesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerCapabilitiesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerCapabilitiesResponse.cs index e42b6ea..3d4cce7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerCapabilitiesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerCapabilitiesResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetServerCapabilitiesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerIdentityResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerIdentityResponse.cs index 8b540b2..659aebf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerIdentityResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerIdentityResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetServerIdentityResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerListResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerListResponse.cs index 5bd569e..cd022f9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerListResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerListResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetServerListResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerPreferencesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerPreferencesResponse.cs index 4e93e01..29db15e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerPreferencesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerPreferencesResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetServerPreferencesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesRequest.cs index 1d94282..bfb64ba 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesRequest.cs @@ -15,6 +15,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public class GetServerResourcesRequest { + /// + /// An opaque identifier unique to the client (UUID, serial number, or other unique device ID) + /// + [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] + public string ClientID { get; set; } = default!; + /// /// Include Https entries in the results /// @@ -37,11 +43,5 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeIPv6")] public IncludeIPv6? IncludeIPv6 { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.Disable; - - /// - /// An opaque identifier unique to the client (UUID, serial number, or other unique device ID) - /// - [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] - public string? ClientID { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesResponse.cs index 74b729e..90ae5a5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesResponse.cs @@ -11,9 +11,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; + using System; using System.Collections.Generic; using System.Net.Http; - using System; public class GetServerResourcesResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionHistoryResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionHistoryResponse.cs index 707b829..31254c2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionHistoryResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionHistoryResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetSessionHistoryResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionsResponse.cs index 4d175c3..6e43e2c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetSessionsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSourceConnectionInformationResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSourceConnectionInformationResponse.cs index 402cc79..2fcfef7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSourceConnectionInformationResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSourceConnectionInformationResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetSourceConnectionInformationResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetStatisticsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetStatisticsResponse.cs index 02b724d..6df972d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetStatisticsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetStatisticsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetStatisticsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetThumbImageResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetThumbImageResponse.cs index 533cbb2..8e41668 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetThumbImageResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetThumbImageResponse.cs @@ -10,9 +10,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; + using System; using System.Collections.Generic; using System.Net.Http; - using System; public class GetThumbImageResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTimelineResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTimelineResponse.cs index 2f13005..45258ad 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTimelineResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTimelineResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetTimelineResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdRequest.cs index 38e4a7b..28d8728 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdRequest.cs @@ -24,7 +24,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// An opaque identifier unique to the client (UUID, serial number, or other unique device ID) ///
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] - public string? ClientID { get; set; } + public string ClientID { get; set; } = default!; /// /// The name of the client application. (Plex Web, Plex Media Server, etc.) diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdResponse.cs index 7fda8d3..8a3c6be 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetTokenByPinIdResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsResponse.cs index ce7a0d9..53d449d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetTokenDetailsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsUserPlexAccount.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsUserPlexAccount.cs index 9888d49..7262769 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsUserPlexAccount.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsUserPlexAccount.cs @@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - using System.Collections.Generic; using System; + using System.Collections.Generic; /// /// Logged in user details diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentQueryParamType.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentQueryParamType.cs index 5482efe..603e917 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentQueryParamType.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentQueryParamType.cs @@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Season = 3, Episode = 4, Audio = 8, + Album = 9, + Track = 10, } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentResponse.cs index f9606fb..a9f4943 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetTopWatchedContentResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTranscodeSessionsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTranscodeSessionsResponse.cs index f1e3864..a8b99ed 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTranscodeSessionsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTranscodeSessionsResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetTranscodeSessionsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTransientTokenResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTransientTokenResponse.cs index fadad94..2ead26d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTransientTokenResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTransientTokenResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetTransientTokenResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs index 30dd88e..43132ba 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetUpdateStatusResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserFriendsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserFriendsResponse.cs index d6692f1..ede44b7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserFriendsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserFriendsResponse.cs @@ -11,9 +11,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; + using System; using System.Collections.Generic; using System.Net.Http; - using System; public class GetUserFriendsResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListRequest.cs index fb90b42..4140ae3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListRequest.cs @@ -21,12 +21,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=filter")] public Filter Filter { get; set; } = default!; - /// - /// An authentication token, obtained from plex.tv - /// - [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Token")] - public string XPlexToken { get; set; } = default!; - /// /// In the format "field:dir". Available fields are "watchlistedAt" (Added At),
/// @@ -103,5 +97,11 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests ///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Container-Size")] public int? XPlexContainerSize { get; set; } = 50; + + /// + /// An authentication token, obtained from plex.tv + /// + [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Token")] + public string XPlexToken { get; set; } = default!; } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs index 923622a..38640c3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class GetWatchListResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/LogLineResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/LogLineResponse.cs index bb5f894..1214c8c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/LogLineResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/LogLineResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class LogLineResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/LogMultiLineResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/LogMultiLineResponse.cs index 42eff72..273bcfc 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/LogMultiLineResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/LogMultiLineResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class LogMultiLineResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/MarkPlayedResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/MarkPlayedResponse.cs index fa207db..d21e99f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/MarkPlayedResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/MarkPlayedResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class MarkPlayedResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/MarkUnplayedResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/MarkUnplayedResponse.cs index 5b21603..13a0aba 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/MarkUnplayedResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/MarkUnplayedResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class MarkUnplayedResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PerformSearchResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PerformSearchResponse.cs index ccba963..98f7e10 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PerformSearchResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PerformSearchResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class PerformSearchResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PerformVoiceSearchResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PerformVoiceSearchResponse.cs index 9e52cbb..d278e24 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PerformVoiceSearchResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PerformVoiceSearchResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class PerformVoiceSearchResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PlexDevice.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PlexDevice.cs index f0b8351..8dc85ed 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PlexDevice.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PlexDevice.cs @@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - using System.Collections.Generic; using System; + using System.Collections.Generic; public class PlexDevice { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataRequest.cs index 43f64d4..cd3402f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// An opaque identifier unique to the client (UUID, serial number, or other unique device ID) ///
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] - public string? ClientID { get; set; } + public string ClientID { get; set; } = default!; /// /// The name of the client application. (Plex Web, Plex Media Server, etc.) diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataResponse.cs index 8b0dc6e..44c676f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataResponse.cs @@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class PostUsersSignInDataResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataUserPlexAccount.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataUserPlexAccount.cs index f5329eb..786800f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataUserPlexAccount.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataUserPlexAccount.cs @@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - using System.Collections.Generic; using System; + using System.Collections.Generic; /// /// Returns the user account data with a valid auth token diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/QueryParamType.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/QueryParamType.cs index baf7627..2334b27 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/QueryParamType.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/QueryParamType.cs @@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Season = 3, Episode = 4, Audio = 8, + Album = 9, + Track = 10, } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/ShowOrdering.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/ShowOrdering.cs index 4863197..b25a783 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/ShowOrdering.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/ShowOrdering.cs @@ -14,14 +14,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using System; /// - /// Setting that indicates the episode ordering for the show
+ /// Setting that indicates the episode ordering for the show
/// /// - /// None = Library default,
- /// tmdbAiring = The Movie Database (Aired),
- /// aired = TheTVDB (Aired),
- /// dvd = TheTVDB (DVD),
- /// absolute = TheTVDB (Absolute)).
+ /// None = Library default,
+ /// tmdbAiring = The Movie Database (Aired),
+ /// tvdbAiring = TheTVDB (Aired),
+ /// tvdbDvd = TheTVDB (DVD),
+ /// tvdbAbsolute = TheTVDB (Absolute)).
/// ///
///
@@ -31,12 +31,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests None, [JsonProperty("tmdbAiring")] TmdbAiring, - [JsonProperty("aired")] - Aired, - [JsonProperty("dvd")] - Dvd, - [JsonProperty("absolute")] - Absolute, + [JsonProperty("tvdbAiring")] + TvdbAiring, + [JsonProperty("tvdbDvd")] + TvdbDvd, + [JsonProperty("tvdbAbsolute")] + TvdbAbsolute, } public static class ShowOrderingExtension diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/StartAllTasksResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/StartAllTasksResponse.cs index cae770c..e90ffee 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/StartAllTasksResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/StartAllTasksResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class StartAllTasksResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/StartTaskResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/StartTaskResponse.cs index 0870457..b31d5e0 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/StartTaskResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/StartTaskResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class StartTaskResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/StartUniversalTranscodeResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/StartUniversalTranscodeResponse.cs index 28f1f64..fa6ead8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/StartUniversalTranscodeResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/StartUniversalTranscodeResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class StartUniversalTranscodeResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/StopAllTasksResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/StopAllTasksResponse.cs index ac28577..14bd7af 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/StopAllTasksResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/StopAllTasksResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class StopAllTasksResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/StopTaskResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/StopTaskResponse.cs index e7c02c1..b1ba39d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/StopTaskResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/StopTaskResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class StopTaskResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/StopTranscodeSessionResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/StopTranscodeSessionResponse.cs index d0f33b1..1b87e08 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/StopTranscodeSessionResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/StopTranscodeSessionResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class StopTranscodeSessionResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/Tag.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/Tag.cs index 8737395..aa3da2f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/Tag.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/Tag.cs @@ -56,6 +56,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests FirstCharacter, [JsonProperty("folder")] Folder, + [JsonProperty("albums")] + Albums, } public static class TagExtension diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/Type.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/Type.cs index d317867..fab7140 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/Type.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/Type.cs @@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Season = 3, Episode = 4, Audio = 8, + Album = 9, + Track = 10, } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/UpdatePlayProgressResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/UpdatePlayProgressResponse.cs index 73485b4..a86cf03 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/UpdatePlayProgressResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/UpdatePlayProgressResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class UpdatePlayProgressResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/UpdatePlaylistResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/UpdatePlaylistResponse.cs index dcfd5e1..79395cf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/UpdatePlaylistResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/UpdatePlaylistResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class UpdatePlaylistResponse { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/UploadPlaylistResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/UploadPlaylistResponse.cs index eeb1216..f43c0e4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/UploadPlaylistResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/UploadPlaylistResponse.cs @@ -10,8 +10,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Utils; - using System.Net.Http; using System; + using System.Net.Http; public class UploadPlaylistResponse { diff --git a/LukeHagar/PlexAPI/SDK/Playlists.cs b/LukeHagar/PlexAPI/SDK/Playlists.cs index 8c19bc2..e57d2c4 100644 --- a/LukeHagar/PlexAPI/SDK/Playlists.cs +++ b/LukeHagar/PlexAPI/SDK/Playlists.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// Playlists are ordered collections of media. They can be dumb (just a list of media) or smart (based on a media query, such as "all albums from 2017").
@@ -146,10 +146,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Plex.cs b/LukeHagar/PlexAPI/SDK/Plex.cs index 77e50b6..7b15f63 100644 --- a/LukeHagar/PlexAPI/SDK/Plex.cs +++ b/LukeHagar/PlexAPI/SDK/Plex.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls that perform operations directly against https://Plex.tv
@@ -75,7 +75,7 @@ namespace LukeHagar.PlexAPI.SDK /// Get Plex server access tokens and server connections /// ///
- Task GetServerResourcesAsync(IncludeHttps? includeHttps = null, IncludeRelay? includeRelay = null, IncludeIPv6? includeIPv6 = null, string? clientID = null, string? serverUrl = null); + Task GetServerResourcesAsync(string clientID, IncludeHttps? includeHttps = null, IncludeRelay? includeRelay = null, IncludeIPv6? includeIPv6 = null, string? serverUrl = null); /// /// Get a Pin @@ -84,7 +84,7 @@ namespace LukeHagar.PlexAPI.SDK /// Retrieve a Pin ID from Plex.tv to use for authentication flows /// /// - Task GetPinAsync(GetPinRequest? request = null, string? serverUrl = null); + Task GetPinAsync(GetPinRequest request, string? serverUrl = null); /// /// Get Access Token by PinId @@ -143,10 +143,10 @@ namespace LukeHagar.PlexAPI.SDK }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -557,17 +557,15 @@ namespace LukeHagar.PlexAPI.SDK throw new Models.Errors.SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } - public async Task GetServerResourcesAsync(IncludeHttps? includeHttps = null, IncludeRelay? includeRelay = null, IncludeIPv6? includeIPv6 = null, string? clientID = null, string? serverUrl = null) + public async Task GetServerResourcesAsync(string clientID, IncludeHttps? includeHttps = null, IncludeRelay? includeRelay = null, IncludeIPv6? includeIPv6 = null, string? serverUrl = null) { var request = new GetServerResourcesRequest() { + ClientID = clientID, IncludeHttps = includeHttps, IncludeRelay = includeRelay, IncludeIPv6 = includeIPv6, - ClientID = clientID, }; - request.ClientID ??= SDKConfiguration.ClientID; - string baseUrl = Utilities.TemplateUrl(GetServerResourcesServerList[0], new Dictionary(){ }); if (serverUrl != null) @@ -625,7 +623,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize>(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize>(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetServerResourcesResponse() { StatusCode = responseStatusCode, @@ -642,7 +640,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -653,7 +651,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -668,14 +666,8 @@ namespace LukeHagar.PlexAPI.SDK throw new Models.Errors.SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } - public async Task GetPinAsync(GetPinRequest? request = null, string? serverUrl = null) + public async Task GetPinAsync(GetPinRequest request, string? serverUrl = null) { - request.ClientID ??= SDKConfiguration.ClientID; - request.ClientName ??= SDKConfiguration.ClientName; - request.ClientVersion ??= SDKConfiguration.ClientVersion; - request.Platform ??= SDKConfiguration.Platform; - request.DeviceNickname ??= SDKConfiguration.DeviceNickname; - string baseUrl = Utilities.TemplateUrl(GetPinServerList[0], new Dictionary(){ }); if (serverUrl != null) @@ -728,7 +720,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetPinResponse() { StatusCode = responseStatusCode, @@ -745,7 +737,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -762,16 +754,6 @@ namespace LukeHagar.PlexAPI.SDK public async Task GetTokenByPinIdAsync(GetTokenByPinIdRequest request, string? serverUrl = null) { - if (request == null) - { - request = new GetTokenByPinIdRequest(); - } - request.ClientID ??= SDKConfiguration.ClientID; - request.ClientName ??= SDKConfiguration.ClientName; - request.ClientVersion ??= SDKConfiguration.ClientVersion; - request.Platform ??= SDKConfiguration.Platform; - request.DeviceNickname ??= SDKConfiguration.DeviceNickname; - string baseUrl = Utilities.TemplateUrl(GetTokenByPinIdServerList[0], new Dictionary(){ }); if (serverUrl != null) diff --git a/LukeHagar/PlexAPI/SDK/PlexAPI.cs b/LukeHagar/PlexAPI/SDK/PlexAPI.cs index 696778c..69166c1 100644 --- a/LukeHagar/PlexAPI/SDK/PlexAPI.cs +++ b/LukeHagar/PlexAPI/SDK/PlexAPI.cs @@ -12,13 +12,13 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Hooks; using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; - using System; /// @@ -266,11 +266,6 @@ namespace LukeHagar.PlexAPI.SDK public string ServerUrl = ""; public int ServerIndex = 0; public List> ServerDefaults = new List>(); - public string? ClientID; - public string? ClientName; - public string? ClientVersion; - public string? Platform; - public string? DeviceNickname; public SDKHooks Hooks = new SDKHooks(); public RetryConfig? RetryConfig = null; @@ -331,10 +326,10 @@ namespace LukeHagar.PlexAPI.SDK public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private int _serverIndex = 0; private ISpeakeasyHttpClient _client; @@ -356,7 +351,7 @@ namespace LukeHagar.PlexAPI.SDK public ISessions Sessions { get; private set; } public IUpdater Updater { get; private set; } - public PlexAPI(string? accessToken = null, Func? accessTokenSource = null, string? clientID = null, string? clientName = null, string? clientVersion = null, string? platform = null, string? deviceNickname = null, int? serverIndex = null, ServerProtocol? protocol = null, string? ip = null, string? port = null, string? serverUrl = null, Dictionary? urlParams = null, ISpeakeasyHttpClient? client = null, RetryConfig? retryConfig = null) + public PlexAPI(string? accessToken = null, Func? accessTokenSource = null, int? serverIndex = null, ServerProtocol? protocol = null, string? ip = null, string? port = null, string? serverUrl = null, Dictionary? urlParams = null, ISpeakeasyHttpClient? client = null, RetryConfig? retryConfig = null) { if (serverIndex != null) { @@ -398,11 +393,6 @@ namespace LukeHagar.PlexAPI.SDK SDKConfiguration = new SDKConfig() { - ClientID = clientID, - ClientName = clientName, - ClientVersion = clientVersion, - Platform = platform, - DeviceNickname = deviceNickname, ServerDefaults = serverDefaults, ServerIndex = _serverIndex, ServerUrl = _serverUrl, diff --git a/LukeHagar/PlexAPI/SDK/Search.cs b/LukeHagar/PlexAPI/SDK/Search.cs index 72d9880..33c81bd 100644 --- a/LukeHagar/PlexAPI/SDK/Search.cs +++ b/LukeHagar/PlexAPI/SDK/Search.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls that perform search operations with Plex Media Server
@@ -87,10 +87,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Server.cs b/LukeHagar/PlexAPI/SDK/Server.cs index dd07932..e3c6db9 100644 --- a/LukeHagar/PlexAPI/SDK/Server.cs +++ b/LukeHagar/PlexAPI/SDK/Server.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// Operations against the Plex Media Server System.
@@ -126,10 +126,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Sessions.cs b/LukeHagar/PlexAPI/SDK/Sessions.cs index 4ad0e21..1d17093 100644 --- a/LukeHagar/PlexAPI/SDK/Sessions.cs +++ b/LukeHagar/PlexAPI/SDK/Sessions.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls that perform search operations with Plex Media Server Sessions
@@ -80,10 +80,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Statistics.cs b/LukeHagar/PlexAPI/SDK/Statistics.cs index 14023f6..78354f5 100644 --- a/LukeHagar/PlexAPI/SDK/Statistics.cs +++ b/LukeHagar/PlexAPI/SDK/Statistics.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls that perform operations with Plex Media Server Statistics
@@ -71,10 +71,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Updater.cs b/LukeHagar/PlexAPI/SDK/Updater.cs index 754c5ed..42f94d9 100644 --- a/LukeHagar/PlexAPI/SDK/Updater.cs +++ b/LukeHagar/PlexAPI/SDK/Updater.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// This describes the API for searching and applying updates to the Plex Media Server.
@@ -74,10 +74,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Utils/RequestBodySerializer.cs b/LukeHagar/PlexAPI/SDK/Utils/RequestBodySerializer.cs index 16c9bda..789cc1e 100644 --- a/LukeHagar/PlexAPI/SDK/Utils/RequestBodySerializer.cs +++ b/LukeHagar/PlexAPI/SDK/Utils/RequestBodySerializer.cs @@ -276,7 +276,7 @@ namespace LukeHagar.PlexAPI.SDK.Utils byte[]? content = null; string fileName = ""; - string fieldName = ""; + string fieldName = metadata.Name; foreach (var fileProp in fileProps) { @@ -297,12 +297,11 @@ namespace LukeHagar.PlexAPI.SDK.Utils } else { - fieldName = fileMetadata.Name ?? fileProp.Name; fileName = fileProp.GetValue(value)?.ToString() ?? ""; } } - if (fieldName == "" || fileName == "" || content == null) + if (fileName == "" || content == null) { throw new Exception("Invalid multipart/form-data file"); } diff --git a/LukeHagar/PlexAPI/SDK/Video.cs b/LukeHagar/PlexAPI/SDK/Video.cs index cb3fea9..8fea95c 100644 --- a/LukeHagar/PlexAPI/SDK/Video.cs +++ b/LukeHagar/PlexAPI/SDK/Video.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls that perform operations with Plex Media Server Videos
@@ -62,10 +62,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/LukeHagar/PlexAPI/SDK/Watchlist.cs b/LukeHagar/PlexAPI/SDK/Watchlist.cs index 4aa18f3..6c2b053 100644 --- a/LukeHagar/PlexAPI/SDK/Watchlist.cs +++ b/LukeHagar/PlexAPI/SDK/Watchlist.cs @@ -13,14 +13,14 @@ namespace LukeHagar.PlexAPI.SDK using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Errors; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Utils.Retries; using LukeHagar.PlexAPI.SDK.Utils; + using LukeHagar.PlexAPI.SDK.Utils.Retries; using Newtonsoft.Json; - using System.Collections.Generic; - using System.Net.Http.Headers; - using System.Net.Http; - using System.Threading.Tasks; using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; /// /// API Calls that perform operations with Plex Media Server Watchlists
@@ -59,10 +59,10 @@ namespace LukeHagar.PlexAPI.SDK }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.11.1"; - private const string _sdkGenVersion = "2.457.9"; + private const string _sdkVersion = "0.12.0"; + private const string _sdkGenVersion = "2.483.1"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.11.1 2.457.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.12.0 2.483.1 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/NUGET.md b/NUGET.md index af6ec2e..8652310 100644 --- a/NUGET.md +++ b/NUGET.md @@ -10,14 +10,7 @@ using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerCapabilitiesAsync(); @@ -25,6 +18,30 @@ var res = await sdk.Server.GetServerCapabilitiesAsync(); ``` + +## Authentication + +### Per-Client Security Schemes + +This SDK supports the following security scheme globally: + +| Name | Type | Scheme | +| ------------- | ------ | ------- | +| `AccessToken` | apiKey | API key | + +To authenticate with the API the `AccessToken` parameter must be set when initializing the SDK client instance. For example: +```csharp +using LukeHagar.PlexAPI.SDK; +using LukeHagar.PlexAPI.SDK.Models.Components; + +var sdk = new PlexAPI(accessToken: ""); + +var res = await sdk.Server.GetServerCapabilitiesAsync(); + +// handle response +``` + + ## Error Handling @@ -52,17 +69,9 @@ When custom error responses are specified for an operation, the SDK may also thr ```csharp using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -using System; using LukeHagar.PlexAPI.SDK.Models.Errors; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); try { @@ -110,12 +119,7 @@ using LukeHagar.PlexAPI.SDK.Models.Components; var sdk = new PlexAPI( serverUrl: "https://10.10.10.47:32400", - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" + accessToken: "" ); var res = await sdk.Server.GetServerCapabilitiesAsync(); @@ -130,14 +134,7 @@ The server URL can also be overridden on a per-operation basis, provided a serve using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetCompanionsDataAsync(serverUrl: "https://plex.tv/api/v2"); @@ -145,35 +142,4 @@ var res = await sdk.Plex.GetCompanionsDataAsync(serverUrl: "https://plex.tv/api/ ``` - -## Authentication - -### Per-Client Security Schemes - -This SDK supports the following security scheme globally: - -| Name | Type | Scheme | -| ------------- | ------ | ------- | -| `AccessToken` | apiKey | API key | - -To authenticate with the API the `AccessToken` parameter must be set when initializing the SDK client instance. For example: -```csharp -using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Components; - -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); - -var res = await sdk.Server.GetServerCapabilitiesAsync(); - -// handle response -``` - - \ No newline at end of file diff --git a/README.md b/README.md index d599f73..3512049 100644 --- a/README.md +++ b/README.md @@ -34,14 +34,7 @@ dotnet add reference LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerCapabilitiesAsync(); @@ -202,12 +195,7 @@ using LukeHagar.PlexAPI.SDK.Models.Components; var sdk = new PlexAPI( serverUrl: "https://10.10.10.47:32400", - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" + accessToken: "" ); var res = await sdk.Server.GetServerCapabilitiesAsync(); @@ -222,14 +210,7 @@ The server URL can also be overridden on a per-operation basis, provided a serve using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetCompanionsDataAsync(serverUrl: "https://plex.tv/api/v2"); @@ -253,14 +234,7 @@ To authenticate with the API the `AccessToken` parameter must be set when initia using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerCapabilitiesAsync(); @@ -295,17 +269,9 @@ When custom error responses are specified for an operation, the SDK may also thr ```csharp using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -using System; using LukeHagar.PlexAPI.SDK.Models.Errors; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); try { @@ -367,13 +333,21 @@ The following SDKs are generated from the OpenAPI Specification. They are automa ## Table of Contents + +* [Plex-API](#plex-api) + * [SDK Installation](#sdk-installation) + * [SDK Example Usage](#sdk-example-usage) + * [Available Resources and Operations](#available-resources-and-operations) + * [Server Selection](#server-selection) + * [Authentication](#authentication) + * [Error Handling](#error-handling) +* [Plex Media Server OpenAPI Specification](#plex-media-server-openapi-specification) + * [Documentation](#documentation) + * [SDKs](#sdks) +* [Development](#development) + * [Maturity](#maturity) + * [Contributions](#contributions) -* [SDK Installation](#sdk-installation) -* [SDK Example Usage](#sdk-example-usage) -* [Available Resources and Operations](#available-resources-and-operations) -* [Error Handling](#error-handling) -* [Server Selection](#server-selection) -* [Authentication](#authentication) diff --git a/RELEASES.md b/RELEASES.md index 1b40565..a7d8d7d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -394,4 +394,14 @@ Based on: ### Generated - [csharp v0.11.1] . ### Releases -- [NuGet v0.11.1] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.11.1 - . \ No newline at end of file +- [NuGet v0.11.1] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.11.1 - . + +## 2024-12-21 00:20:49 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.459.2 (2.483.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [csharp v0.12.0] . +### Releases +- [NuGet v0.12.0] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.12.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index cb75937..618e807 100644 --- a/USAGE.md +++ b/USAGE.md @@ -3,14 +3,7 @@ using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerCapabilitiesAsync(); diff --git a/codeSamples.yaml b/codeSamples.yaml index 576b7e5..6351c14 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -12,14 +12,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerCapabilitiesAsync(); @@ -33,14 +26,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerPreferencesAsync(); @@ -52,17 +38,9 @@ actions: label: updatePlayProgress source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Media.UpdatePlayProgressAsync( key: "", @@ -78,17 +56,9 @@ actions: label: markPlayed source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Media.MarkPlayedAsync(key: 59398D); @@ -100,22 +70,15 @@ actions: label: getTimeline source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetTimelineRequest req = new GetTimelineRequest() { RatingKey = 23409D, Key = "/library/metadata/23409", - State = LukeHagar.PlexAPI.SDK.Models.Requests.State.Playing, + State = State.Playing, HasMDE = 1D, Time = 2000D, Duration = 10000D, @@ -135,17 +98,9 @@ actions: label: markUnplayed source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Media.MarkUnplayedAsync(key: 59398D); @@ -159,14 +114,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Activities.GetServerActivitiesAsync(); @@ -178,17 +126,9 @@ actions: label: cancelServerActivities source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Activities.CancelServerActivitiesAsync(activityUUID: "25b71ed5-0f9d-461c-baa7-d404e9e10d3e"); @@ -202,14 +142,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Butler.StopAllTasksAsync(); @@ -223,14 +156,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Butler.GetButlerTasksAsync(); @@ -244,14 +170,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Butler.StartAllTasksAsync(); @@ -263,19 +182,12 @@ actions: label: stopTask source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); - var res = await sdk.Butler.StopTaskAsync(taskName: LukeHagar.PlexAPI.SDK.Models.Requests.PathParamTaskName.BackupDatabase); + var res = await sdk.Butler.StopTaskAsync(taskName: PathParamTaskName.BackupDatabase); // handle response - target: $["paths"]["/butler/{taskName}"]["post"] @@ -285,19 +197,12 @@ actions: label: startTask source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); - var res = await sdk.Butler.StartTaskAsync(taskName: LukeHagar.PlexAPI.SDK.Models.Requests.TaskName.CleanOldBundles); + var res = await sdk.Butler.StartTaskAsync(taskName: TaskName.CleanOldBundles); // handle response - target: $["paths"]["/clients"]["get"] @@ -309,14 +214,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetAvailableClientsAsync(); @@ -330,14 +228,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetCompanionsDataAsync(); @@ -351,14 +242,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetDevicesAsync(); @@ -372,14 +256,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetUserFriendsAsync(); @@ -391,15 +268,8 @@ actions: label: getGeoData source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(); var res = await sdk.Plex.GetGeoDataAsync(); @@ -413,14 +283,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetHomeDataAsync(); @@ -432,21 +295,14 @@ actions: label: getGlobalHubs source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Hubs.GetGlobalHubsAsync( count: 1262.49D, - onlyTransient: LukeHagar.PlexAPI.SDK.Models.Requests.OnlyTransient.One + onlyTransient: OnlyTransient.One ); // handle response @@ -457,23 +313,16 @@ actions: label: added source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetRecentlyAddedRequest req = new GetRecentlyAddedRequest() { ContentDirectoryID = 470161, SectionID = 2, Type = LukeHagar.PlexAPI.SDK.Models.Requests.Type.TvShow, - IncludeMeta = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeMeta.Enable, + IncludeMeta = IncludeMeta.Enable, XPlexContainerStart = 0, XPlexContainerSize = 50, }; @@ -488,17 +337,9 @@ actions: label: performSearch source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Search.PerformSearchAsync( query: "dylan", @@ -514,17 +355,9 @@ actions: label: performVoiceSearch source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Search.PerformVoiceSearchAsync( query: "dead+poop", @@ -540,22 +373,15 @@ actions: label: getLibraryHubs source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Hubs.GetLibraryHubsAsync( sectionId: 6728.76D, count: 639.24D, - onlyTransient: LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamOnlyTransient.One + onlyTransient: QueryParamOnlyTransient.One ); // handle response @@ -566,15 +392,8 @@ actions: label: identity source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(); var res = await sdk.Server.GetServerIdentityAsync(); @@ -586,20 +405,13 @@ actions: label: getTopWatchedContent source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetTopWatchedContentAsync( - type: LukeHagar.PlexAPI.SDK.Models.Requests.GetTopWatchedContentQueryParamType.TvShow, + type: GetTopWatchedContentQueryParamType.TvShow, includeGuids: 1 ); @@ -611,17 +423,9 @@ actions: label: getFileHash source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetFileHashAsync( url: "file://C:\Image.png&type=13", @@ -636,17 +440,9 @@ actions: label: key source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetMetaDataByRatingKeyAsync(ratingKey: 9518); @@ -658,17 +454,10 @@ actions: label: image source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetBannerImageRequest req = new GetBannerImageRequest() { RatingKey = 9518, @@ -689,17 +478,9 @@ actions: label: getMetadataChildren source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetMetadataChildrenAsync( ratingKey: 1539.15D, @@ -714,17 +495,10 @@ actions: label: image source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetThumbImageRequest req = new GetThumbImageRequest() { RatingKey = 9518, @@ -747,14 +521,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetOnDeckAsync(); @@ -766,18 +533,11 @@ actions: label: library source: |- using LukeHagar.PlexAPI.SDK; + using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Requests; using System.Collections.Generic; - using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetRecentlyAddedLibraryRequest req = new GetRecentlyAddedLibraryRequest() { ContentDirectoryID = 2, @@ -796,8 +556,8 @@ actions: 17, }, SectionID = 2, - Type = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamType.TvShow, - IncludeMeta = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeMeta.Enable, + Type = QueryParamType.TvShow, + IncludeMeta = QueryParamIncludeMeta.Enable, XPlexContainerStart = 0, XPlexContainerSize = 50, }; @@ -812,26 +572,20 @@ actions: label: libraries source: |- using LukeHagar.PlexAPI.SDK; + using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Requests; using System.Collections.Generic; - using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetSearchAllLibrariesRequest req = new GetSearchAllLibrariesRequest() { Query = "", + ClientID = "3381b62b-9ab7-4e37-827b-203e9809eb58", SearchTypes = new List() { - LukeHagar.PlexAPI.SDK.Models.Requests.SearchTypes.People, + SearchTypes.People, }, - IncludeCollections = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeCollections.Enable, - IncludeExternalMedia = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeExternalMedia.Enable, + IncludeCollections = QueryParamIncludeCollections.Enable, + IncludeExternalMedia = QueryParamIncludeExternalMedia.Enable, }; var res = await sdk.Library.GetSearchAllLibrariesAsync(req); @@ -846,14 +600,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetAllLibrariesAsync(); @@ -865,20 +612,13 @@ actions: label: list source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetWatchListRequest req = new GetWatchListRequest() { - Filter = LukeHagar.PlexAPI.SDK.Models.Requests.Filter.Available, + Filter = Filter.Available, XPlexContainerStart = 0, XPlexContainerSize = 50, XPlexToken = "CV5xoxjTpFKUzBTShsaf", @@ -894,17 +634,9 @@ actions: label: deleteLibrary source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.DeleteLibraryAsync(sectionKey: 9518); @@ -916,21 +648,14 @@ actions: label: details source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetLibraryDetailsAsync( sectionKey: 9518, - includeDetails: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeDetails.Zero + includeDetails: IncludeDetails.Zero ); // handle response @@ -941,21 +666,14 @@ actions: label: metadata source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetRefreshLibraryMetadataAsync( sectionKey: 9518, - force: LukeHagar.PlexAPI.SDK.Models.Requests.Force.One + force: Force.One ); // handle response @@ -966,21 +684,14 @@ actions: label: library source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetSearchLibraryAsync( sectionKey: 9518, - type: LukeHagar.PlexAPI.SDK.Models.Requests.GetSearchLibraryQueryParamType.TvShow + type: GetSearchLibraryQueryParamType.TvShow ); // handle response @@ -991,24 +702,17 @@ actions: label: items source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetLibraryItemsRequest req = new GetLibraryItemsRequest() { - Tag = LukeHagar.PlexAPI.SDK.Models.Requests.Tag.Edition, - IncludeGuids = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeGuids.Enable, - Type = LukeHagar.PlexAPI.SDK.Models.Requests.GetLibraryItemsQueryParamType.TvShow, + Tag = Tag.Edition, + IncludeGuids = IncludeGuids.Enable, + Type = GetLibraryItemsQueryParamType.TvShow, SectionKey = 9518, - IncludeMeta = LukeHagar.PlexAPI.SDK.Models.Requests.GetLibraryItemsQueryParamIncludeMeta.Enable, + IncludeMeta = GetLibraryItemsQueryParamIncludeMeta.Enable, XPlexContainerStart = 0, XPlexContainerSize = 50, }; @@ -1023,20 +727,13 @@ actions: label: logLine source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Log.LogLineAsync( - level: LukeHagar.PlexAPI.SDK.Models.Requests.Level.Three, + level: Level.Three, message: "Test log message", source: "Postman" ); @@ -1051,16 +748,9 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); - string req = "level=4&message=Test%20message%201&source=postman + string req = @"level=4&message=Test%20message%201&source=postman level=3&message=Test%20message%202&source=postman level=1&message=Test%20message%203&source=postman"; @@ -1076,14 +766,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Log.EnablePaperTrailAsync(); @@ -1095,17 +778,9 @@ actions: label: providers source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetMediaProvidersAsync(xPlexToken: "CV5xoxjTpFKUzBTShsaf"); @@ -1119,14 +794,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetMyPlexAccountAsync(); @@ -1138,25 +806,18 @@ actions: label: getResizedPhoto source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); GetResizedPhotoRequest req = new GetResizedPhotoRequest() { Width = 110D, Height = 165D, Opacity = 100, Blur = 20D, - MinSize = LukeHagar.PlexAPI.SDK.Models.Requests.MinSize.Zero, - Upscale = LukeHagar.PlexAPI.SDK.Models.Requests.Upscale.One, + MinSize = MinSize.Zero, + Upscale = Upscale.One, Url = "/library/metadata/49564/thumb/1654258204", }; @@ -1171,17 +832,16 @@ actions: source: |- using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(); - GetPinRequest req = new GetPinRequest() {}; + GetPinRequest req = new GetPinRequest() { + ClientID = "3381b62b-9ab7-4e37-827b-203e9809eb58", + ClientName = "Plex for Roku", + DeviceNickname = "Roku 3", + ClientVersion = "2.4.1", + Platform = "Roku", + }; var res = await sdk.Plex.GetPinAsync(req); @@ -1194,18 +854,16 @@ actions: source: |- using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(); GetTokenByPinIdRequest req = new GetTokenByPinIdRequest() { PinID = 408895, + ClientID = "3381b62b-9ab7-4e37-827b-203e9809eb58", + ClientName = "Plex for Roku", + DeviceNickname = "Roku 3", + ClientVersion = "2.4.1", + Platform = "Roku", }; var res = await sdk.Plex.GetTokenByPinIdAsync(req); @@ -1218,21 +876,14 @@ actions: label: getPlaylists source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.GetPlaylistsAsync( - playlistType: LukeHagar.PlexAPI.SDK.Models.Requests.PlaylistType.Audio, - smart: LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamSmart.Zero + playlistType: PlaylistType.Audio, + smart: QueryParamSmart.Zero ); // handle response @@ -1243,22 +894,15 @@ actions: label: createPlaylist source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); CreatePlaylistRequest req = new CreatePlaylistRequest() { Title = "", - Type = LukeHagar.PlexAPI.SDK.Models.Requests.CreatePlaylistQueryParamType.Photo, - Smart = LukeHagar.PlexAPI.SDK.Models.Requests.Smart.One, + Type = CreatePlaylistQueryParamType.Photo, + Smart = Smart.One, Uri = "https://hoarse-testing.info/", }; @@ -1272,21 +916,14 @@ actions: label: uploadPlaylist source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.UploadPlaylistAsync( path: "/home/barkley/playlist.m3u", - force: LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamForce.Zero, + force: QueryParamForce.Zero, sectionID: 1 ); @@ -1298,17 +935,9 @@ actions: label: deletePlaylist source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.DeletePlaylistAsync(playlistID: 216.22D); @@ -1320,17 +949,9 @@ actions: label: getPlaylist source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.GetPlaylistAsync(playlistID: 4109.48D); @@ -1342,17 +963,9 @@ actions: label: updatePlaylist source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.UpdatePlaylistAsync( playlistID: 3915.00D, @@ -1368,17 +981,9 @@ actions: label: clearPlaylistContents source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.ClearPlaylistContentsAsync(playlistID: 1893.18D); @@ -1390,21 +995,14 @@ actions: label: getPlaylistContents source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.GetPlaylistContentsAsync( playlistID: 5004.46D, - type: LukeHagar.PlexAPI.SDK.Models.Requests.GetPlaylistContentsQueryParamType.TvShow + type: GetPlaylistContentsQueryParamType.TvShow ); // handle response @@ -1415,17 +1013,9 @@ actions: label: addPlaylistContents source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.AddPlaylistContentsAsync( playlistID: 8502.00D, @@ -1441,23 +1031,16 @@ actions: label: resources source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetServerResourcesAsync( - includeHttps: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeHttps.Enable, - includeRelay: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeRelay.Enable, - includeIPv6: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.Enable, - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58" + clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", + includeHttps: IncludeHttps.Enable, + includeRelay: IncludeRelay.Enable, + includeIPv6: IncludeIPv6.Enable ); // handle response @@ -1468,17 +1051,9 @@ actions: label: getSearchResults source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Search.GetSearchResultsAsync(query: "110"); @@ -1490,17 +1065,9 @@ actions: label: getSourceConnectionInformation source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Authentication.GetSourceConnectionInformationAsync(source: "server://client-identifier"); @@ -1512,21 +1079,14 @@ actions: label: getTransientToken source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Authentication.GetTransientTokenAsync( - type: LukeHagar.PlexAPI.SDK.Models.Requests.GetTransientTokenQueryParamType.Delegation, - scope: LukeHagar.PlexAPI.SDK.Models.Requests.Scope.All + type: GetTransientTokenQueryParamType.Delegation, + scope: Scope.All ); // handle response @@ -1539,14 +1099,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerListAsync(); @@ -1558,17 +1111,9 @@ actions: label: getBandwidthStatistics source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Statistics.GetBandwidthStatisticsAsync(timespan: 4); @@ -1580,17 +1125,9 @@ actions: label: getStatistics source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Statistics.GetStatisticsAsync(timespan: 4); @@ -1602,17 +1139,9 @@ actions: label: getResourcesStatistics source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Statistics.GetResourcesStatisticsAsync(timespan: 4); @@ -1626,14 +1155,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Sessions.GetSessionsAsync(); @@ -1645,17 +1167,10 @@ actions: label: getSessionHistory source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Sessions.GetSessionHistoryAsync( sort: "", @@ -1674,14 +1189,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Sessions.GetTranscodeSessionsAsync(); @@ -1693,17 +1201,9 @@ actions: label: stopTranscodeSession source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Sessions.StopTranscodeSessionAsync(sessionKey: "zz7llzqlx8w9vnrsbnwhbmep"); @@ -1715,21 +1215,14 @@ actions: label: applyUpdates source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Updater.ApplyUpdatesAsync( - tonight: LukeHagar.PlexAPI.SDK.Models.Requests.Tonight.One, - skip: LukeHagar.PlexAPI.SDK.Models.Requests.Skip.One + tonight: Tonight.One, + skip: Skip.One ); // handle response @@ -1740,19 +1233,12 @@ actions: label: checkForUpdates source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); - var res = await sdk.Updater.CheckForUpdatesAsync(download: LukeHagar.PlexAPI.SDK.Models.Requests.Download.One); + var res = await sdk.Updater.CheckForUpdatesAsync(download: Download.One); // handle response - target: $["paths"]["/updater/status"]["get"] @@ -1764,14 +1250,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Updater.GetUpdateStatusAsync(); @@ -1785,14 +1264,7 @@ actions: using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Authentication.GetTokenDetailsAsync(); @@ -1805,17 +1277,15 @@ actions: source: |- using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Requests; - using LukeHagar.PlexAPI.SDK.Models.Components; - var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(); PostUsersSignInDataRequest req = new PostUsersSignInDataRequest() { + ClientID = "3381b62b-9ab7-4e37-827b-203e9809eb58", + ClientName = "Plex for Roku", + DeviceNickname = "Roku 3", + ClientVersion = "2.4.1", + Platform = "Roku", RequestBody = new PostUsersSignInDataRequestBody() { Login = "username@email.com", Password = "password123", @@ -1833,17 +1303,10 @@ actions: label: startUniversalTranscode source: |- using LukeHagar.PlexAPI.SDK; - using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; + using LukeHagar.PlexAPI.SDK.Models.Requests; - var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" - ); + var sdk = new PlexAPI(accessToken: ""); StartUniversalTranscodeRequest req = new StartUniversalTranscodeRequest() { HasMDE = 1D, diff --git a/docs/Models/Requests/GetLibraryItemsMetadata.md b/docs/Models/Requests/GetLibraryItemsMetadata.md index 67935c8..fe2c730 100644 --- a/docs/Models/Requests/GetLibraryItemsMetadata.md +++ b/docs/Models/Requests/GetLibraryItemsMetadata.md @@ -24,7 +24,7 @@ | `SeasonCount` | *int* | :heavy_minus_sign: | N/A | 2022 | | `Tagline` | *string* | :heavy_minus_sign: | N/A | Return to Pandora. | | `FlattenSeasons` | [GetLibraryItemsFlattenSeasons](../../Models/Requests/GetLibraryItemsFlattenSeasons.md) | :heavy_minus_sign: | N/A | 1 | -| `ShowOrdering` | [GetLibraryItemsShowOrdering](../../Models/Requests/GetLibraryItemsShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show
None = Library default,
tmdbAiring = The Movie Database (Aired),
aired = TheTVDB (Aired),
dvd = TheTVDB (DVD),
absolute = TheTVDB (Absolute)).
| dvd | +| `ShowOrdering` | [GetLibraryItemsShowOrdering](../../Models/Requests/GetLibraryItemsShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show
None = Library default,
tmdbAiring = The Movie Database (Aired),
tvdbAiring = TheTVDB (Aired),
tvdbDvd = TheTVDB (DVD),
tvdbAbsolute = TheTVDB (Absolute)).
| tvdbDvd | | `Thumb` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/thumb/1703239236 | | `Art` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/art/1703239236 | | `Banner` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/banner/1703239236 | diff --git a/docs/Models/Requests/GetLibraryItemsQueryParamType.md b/docs/Models/Requests/GetLibraryItemsQueryParamType.md index 3add83f..c0b1304 100644 --- a/docs/Models/Requests/GetLibraryItemsQueryParamType.md +++ b/docs/Models/Requests/GetLibraryItemsQueryParamType.md @@ -17,4 +17,6 @@ E.g. A movie library will not return anything with type 3 as there are no season | `TvShow` | 2 | | `Season` | 3 | | `Episode` | 4 | -| `Audio` | 8 | \ No newline at end of file +| `Audio` | 8 | +| `Album` | 9 | +| `Track` | 10 | \ No newline at end of file diff --git a/docs/Models/Requests/GetLibraryItemsRequest.md b/docs/Models/Requests/GetLibraryItemsRequest.md index ffcb1fb..3fa6ff4 100644 --- a/docs/Models/Requests/GetLibraryItemsRequest.md +++ b/docs/Models/Requests/GetLibraryItemsRequest.md @@ -6,9 +6,9 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Tag` | [Tag](../../Models/Requests/Tag.md) | :heavy_check_mark: | A key representing a specific tag within the section. | | -| `SectionKey` | *int* | :heavy_check_mark: | The unique key of the Plex library.
Note: This is unique in the context of the Plex server.
| 9518 | | `IncludeGuids` | [IncludeGuids](../../Models/Requests/IncludeGuids.md) | :heavy_minus_sign: | Adds the Guids object to the response
| 1 | | `Type` | [GetLibraryItemsQueryParamType](../../Models/Requests/GetLibraryItemsQueryParamType.md) | :heavy_minus_sign: | The type of media to retrieve.
1 = movie
2 = show
3 = season
4 = episode
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
| 2 | +| `SectionKey` | *int* | :heavy_check_mark: | The unique key of the Plex library.
Note: This is unique in the context of the Plex server.
| 9518 | | `IncludeMeta` | [GetLibraryItemsQueryParamIncludeMeta](../../Models/Requests/GetLibraryItemsQueryParamIncludeMeta.md) | :heavy_minus_sign: | Adds the Meta object to the response
| 1 | | `XPlexContainerStart` | *int* | :heavy_minus_sign: | The index of the first item to return. If not specified, the first item will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 0
| 0 | | `XPlexContainerSize` | *int* | :heavy_minus_sign: | The number of items to return. If not specified, all items will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 50
| 50 | \ No newline at end of file diff --git a/docs/Models/Requests/GetLibraryItemsShowOrdering.md b/docs/Models/Requests/GetLibraryItemsShowOrdering.md index 1d7aa8c..a82729c 100644 --- a/docs/Models/Requests/GetLibraryItemsShowOrdering.md +++ b/docs/Models/Requests/GetLibraryItemsShowOrdering.md @@ -1,20 +1,20 @@ # GetLibraryItemsShowOrdering -Setting that indicates the episode ordering for the show -None = Library default, -tmdbAiring = The Movie Database (Aired), -aired = TheTVDB (Aired), -dvd = TheTVDB (DVD), -absolute = TheTVDB (Absolute)). +Setting that indicates the episode ordering for the show +None = Library default, +tmdbAiring = The Movie Database (Aired), +tvdbAiring = TheTVDB (Aired), +tvdbDvd = TheTVDB (DVD), +tvdbAbsolute = TheTVDB (Absolute)). ## Values -| Name | Value | -| ------------ | ------------ | -| `None` | None | -| `TmdbAiring` | tmdbAiring | -| `Aired` | aired | -| `Dvd` | dvd | -| `Absolute` | absolute | \ No newline at end of file +| Name | Value | +| -------------- | -------------- | +| `None` | None | +| `TmdbAiring` | tmdbAiring | +| `TvdbAiring` | tvdbAiring | +| `TvdbDvd` | tvdbDvd | +| `TvdbAbsolute` | tvdbAbsolute | \ No newline at end of file diff --git a/docs/Models/Requests/GetMetaDataByRatingKeyMetadata.md b/docs/Models/Requests/GetMetaDataByRatingKeyMetadata.md index 4463003..f1cc6c1 100644 --- a/docs/Models/Requests/GetMetaDataByRatingKeyMetadata.md +++ b/docs/Models/Requests/GetMetaDataByRatingKeyMetadata.md @@ -14,6 +14,11 @@ | `LibrarySectionTitle` | *string* | :heavy_minus_sign: | N/A | Movies | | `LibrarySectionID` | *int* | :heavy_minus_sign: | N/A | 1 | | `LibrarySectionKey` | *string* | :heavy_minus_sign: | N/A | /library/sections/1 | +| `GrandparentTitle` | *string* | :heavy_minus_sign: | The name of the album artist for the track when audio, and the name of the TV show for the episode when video. | | +| `ParentTitle` | *string* | :heavy_minus_sign: | The name of the album for the track when audio, and the name of the season for the episode when TV show. | | +| `OriginalTitle` | *string* | :heavy_minus_sign: | The orginal untranslated name of the media item when non-english. | | +| `Index` | *long* | :heavy_minus_sign: | The index starting from 0 of this media item in the MetaData array. | | +| `ParentIndex` | *long* | :heavy_minus_sign: | The parent index starting from 0 of this media item in the parent MetaData array. | | | `ContentRating` | *string* | :heavy_minus_sign: | N/A | PG-13 | | `Summary` | *string* | :heavy_minus_sign: | N/A | Serenity continues the story of the TV series it was based upon ("Firefly"). River Tam had a secret - one in which she's not even aware - so dangerous, no one's safe, as an Alliance operative's sent to capture her, and all others are considered irrelevant to his job. | | `Rating` | *double* | :heavy_minus_sign: | N/A | 8.2 | diff --git a/docs/Models/Requests/GetPinRequest.md b/docs/Models/Requests/GetPinRequest.md index 29d0b5a..32fb94d 100644 --- a/docs/Models/Requests/GetPinRequest.md +++ b/docs/Models/Requests/GetPinRequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | `Strong` | *bool* | :heavy_minus_sign: | Determines the kind of code returned by the API call
Strong codes are used for Pin authentication flows
Non-Strong codes are used for `Plex.tv/link`
| | -| `ClientID` | *string* | :heavy_minus_sign: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | +| `ClientID` | *string* | :heavy_check_mark: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | | `ClientName` | *string* | :heavy_minus_sign: | The name of the client application. (Plex Web, Plex Media Server, etc.) | Plex for Roku | | `DeviceNickname` | *string* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `ClientVersion` | *string* | :heavy_minus_sign: | The version of the client application. | 2.4.1 | diff --git a/docs/Models/Requests/GetPlaylistContentsQueryParamType.md b/docs/Models/Requests/GetPlaylistContentsQueryParamType.md index 7defe60..b5b34ab 100644 --- a/docs/Models/Requests/GetPlaylistContentsQueryParamType.md +++ b/docs/Models/Requests/GetPlaylistContentsQueryParamType.md @@ -17,4 +17,6 @@ E.g. A movie library will not return anything with type 3 as there are no season | `TvShow` | 2 | | `Season` | 3 | | `Episode` | 4 | -| `Audio` | 8 | \ No newline at end of file +| `Audio` | 8 | +| `Album` | 9 | +| `Track` | 10 | \ No newline at end of file diff --git a/docs/Models/Requests/GetRecentlyAddedLibraryRequest.md b/docs/Models/Requests/GetRecentlyAddedLibraryRequest.md index 757d014..59ae03f 100644 --- a/docs/Models/Requests/GetRecentlyAddedLibraryRequest.md +++ b/docs/Models/Requests/GetRecentlyAddedLibraryRequest.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Type` | [QueryParamType](../../Models/Requests/QueryParamType.md) | :heavy_check_mark: | The type of media to retrieve.
1 = movie
2 = show
3 = season
4 = episode
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
| 2 | | `ContentDirectoryID` | *long* | :heavy_minus_sign: | N/A | 2 | | `PinnedContentDirectoryID` | List<*long*> | :heavy_minus_sign: | N/A | [
3,
5,
7,
13,
12,
1,
6,
14,
2,
10,
16,
17
] | | `SectionID` | *long* | :heavy_minus_sign: | The library section ID for filtering content. | 2 | +| `Type` | [QueryParamType](../../Models/Requests/QueryParamType.md) | :heavy_check_mark: | The type of media to retrieve.
1 = movie
2 = show
3 = season
4 = episode
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
| 2 | | `IncludeMeta` | [QueryParamIncludeMeta](../../Models/Requests/QueryParamIncludeMeta.md) | :heavy_minus_sign: | Adds the Meta object to the response
| 1 | | `XPlexContainerStart` | *int* | :heavy_minus_sign: | The index of the first item to return. If not specified, the first item will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 0
| 0 | | `XPlexContainerSize` | *int* | :heavy_minus_sign: | The number of items to return. If not specified, all items will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 50
| 50 | \ No newline at end of file diff --git a/docs/Models/Requests/GetRecentlyAddedMetadata.md b/docs/Models/Requests/GetRecentlyAddedMetadata.md index 3ab5c40..03a91e0 100644 --- a/docs/Models/Requests/GetRecentlyAddedMetadata.md +++ b/docs/Models/Requests/GetRecentlyAddedMetadata.md @@ -24,7 +24,7 @@ | `SeasonCount` | *int* | :heavy_minus_sign: | N/A | 2022 | | `Tagline` | *string* | :heavy_minus_sign: | N/A | Return to Pandora. | | `FlattenSeasons` | [FlattenSeasons](../../Models/Requests/FlattenSeasons.md) | :heavy_minus_sign: | N/A | 1 | -| `ShowOrdering` | [ShowOrdering](../../Models/Requests/ShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show
None = Library default,
tmdbAiring = The Movie Database (Aired),
aired = TheTVDB (Aired),
dvd = TheTVDB (DVD),
absolute = TheTVDB (Absolute)).
| dvd | +| `ShowOrdering` | [ShowOrdering](../../Models/Requests/ShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show
None = Library default,
tmdbAiring = The Movie Database (Aired),
tvdbAiring = TheTVDB (Aired),
tvdbDvd = TheTVDB (DVD),
tvdbAbsolute = TheTVDB (Absolute)).
| tvdbDvd | | `Thumb` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/thumb/1703239236 | | `Art` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/art/1703239236 | | `Banner` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/banner/1703239236 | diff --git a/docs/Models/Requests/GetRecentlyAddedRequest.md b/docs/Models/Requests/GetRecentlyAddedRequest.md index 2b55a42..4325511 100644 --- a/docs/Models/Requests/GetRecentlyAddedRequest.md +++ b/docs/Models/Requests/GetRecentlyAddedRequest.md @@ -6,9 +6,9 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `ContentDirectoryID` | *long* | :heavy_check_mark: | The content directory ID. | | -| `Type` | [Models.Requests.Type](../../Models/Requests/Type.md) | :heavy_check_mark: | The type of media to retrieve.
1 = movie
2 = show
3 = season
4 = episode
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
| 2 | | `PinnedContentDirectoryID` | *string* | :heavy_minus_sign: | Comma-separated list of pinned content directory IDs. | | | `SectionID` | *long* | :heavy_minus_sign: | The library section ID for filtering content. | 2 | +| `Type` | [Models.Requests.Type](../../Models/Requests/Type.md) | :heavy_check_mark: | The type of media to retrieve.
1 = movie
2 = show
3 = season
4 = episode
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
| 2 | | `IncludeMeta` | [IncludeMeta](../../Models/Requests/IncludeMeta.md) | :heavy_minus_sign: | Adds the Meta object to the response
| 1 | | `XPlexContainerStart` | *int* | :heavy_minus_sign: | The index of the first item to return. If not specified, the first item will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 0
| 0 | | `XPlexContainerSize` | *int* | :heavy_minus_sign: | The number of items to return. If not specified, all items will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 50
| 50 | \ No newline at end of file diff --git a/docs/Models/Requests/GetSearchAllLibrariesMetadata.md b/docs/Models/Requests/GetSearchAllLibrariesMetadata.md index 018b5f4..c03dd69 100644 --- a/docs/Models/Requests/GetSearchAllLibrariesMetadata.md +++ b/docs/Models/Requests/GetSearchAllLibrariesMetadata.md @@ -24,7 +24,7 @@ | `SeasonCount` | *int* | :heavy_minus_sign: | N/A | 2022 | | `Tagline` | *string* | :heavy_minus_sign: | N/A | Return to Pandora. | | `FlattenSeasons` | [GetSearchAllLibrariesFlattenSeasons](../../Models/Requests/GetSearchAllLibrariesFlattenSeasons.md) | :heavy_minus_sign: | N/A | 1 | -| `ShowOrdering` | [GetSearchAllLibrariesShowOrdering](../../Models/Requests/GetSearchAllLibrariesShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show
None = Library default,
tmdbAiring = The Movie Database (Aired),
aired = TheTVDB (Aired),
dvd = TheTVDB (DVD),
absolute = TheTVDB (Absolute)).
| dvd | +| `ShowOrdering` | [GetSearchAllLibrariesShowOrdering](../../Models/Requests/GetSearchAllLibrariesShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show
None = Library default,
tmdbAiring = The Movie Database (Aired),
tvdbAiring = TheTVDB (Aired),
tvdbDvd = TheTVDB (DVD),
tvdbAbsolute = TheTVDB (Absolute)).
| tvdbDvd | | `Thumb` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/thumb/1703239236 | | `Art` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/art/1703239236 | | `Banner` | *string* | :heavy_minus_sign: | N/A | /library/metadata/58683/banner/1703239236 | diff --git a/docs/Models/Requests/GetSearchAllLibrariesRequest.md b/docs/Models/Requests/GetSearchAllLibrariesRequest.md index c6390d0..2785619 100644 --- a/docs/Models/Requests/GetSearchAllLibrariesRequest.md +++ b/docs/Models/Requests/GetSearchAllLibrariesRequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | | `Query` | *string* | :heavy_check_mark: | The search query term. | | -| `ClientID` | *string* | :heavy_minus_sign: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | +| `ClientID` | *string* | :heavy_check_mark: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | | `Limit` | *long* | :heavy_minus_sign: | Limit the number of results returned. | | | `SearchTypes` | List<[SearchTypes](../../Models/Requests/SearchTypes.md)> | :heavy_minus_sign: | A comma-separated list of search types to include. Valid values are: movies, music, otherVideos, people, tv.
| movies,music,otherVideos,people,tv | | `IncludeCollections` | [QueryParamIncludeCollections](../../Models/Requests/QueryParamIncludeCollections.md) | :heavy_minus_sign: | Whether to include collections in the search results. | 1 | diff --git a/docs/Models/Requests/GetSearchAllLibrariesShowOrdering.md b/docs/Models/Requests/GetSearchAllLibrariesShowOrdering.md index 5876c45..fc54022 100644 --- a/docs/Models/Requests/GetSearchAllLibrariesShowOrdering.md +++ b/docs/Models/Requests/GetSearchAllLibrariesShowOrdering.md @@ -1,20 +1,20 @@ # GetSearchAllLibrariesShowOrdering -Setting that indicates the episode ordering for the show -None = Library default, -tmdbAiring = The Movie Database (Aired), -aired = TheTVDB (Aired), -dvd = TheTVDB (DVD), -absolute = TheTVDB (Absolute)). +Setting that indicates the episode ordering for the show +None = Library default, +tmdbAiring = The Movie Database (Aired), +tvdbAiring = TheTVDB (Aired), +tvdbDvd = TheTVDB (DVD), +tvdbAbsolute = TheTVDB (Absolute)). ## Values -| Name | Value | -| ------------ | ------------ | -| `None` | None | -| `TmdbAiring` | tmdbAiring | -| `Aired` | aired | -| `Dvd` | dvd | -| `Absolute` | absolute | \ No newline at end of file +| Name | Value | +| -------------- | -------------- | +| `None` | None | +| `TmdbAiring` | tmdbAiring | +| `TvdbAiring` | tvdbAiring | +| `TvdbDvd` | tvdbDvd | +| `TvdbAbsolute` | tvdbAbsolute | \ No newline at end of file diff --git a/docs/Models/Requests/GetSearchLibraryQueryParamType.md b/docs/Models/Requests/GetSearchLibraryQueryParamType.md index 7242bfd..9e3a482 100644 --- a/docs/Models/Requests/GetSearchLibraryQueryParamType.md +++ b/docs/Models/Requests/GetSearchLibraryQueryParamType.md @@ -17,4 +17,6 @@ E.g. A movie library will not return anything with type 3 as there are no season | `TvShow` | 2 | | `Season` | 3 | | `Episode` | 4 | -| `Audio` | 8 | \ No newline at end of file +| `Audio` | 8 | +| `Album` | 9 | +| `Track` | 10 | \ No newline at end of file diff --git a/docs/Models/Requests/GetServerResourcesRequest.md b/docs/Models/Requests/GetServerResourcesRequest.md index 1058fa7..8a25100 100644 --- a/docs/Models/Requests/GetServerResourcesRequest.md +++ b/docs/Models/Requests/GetServerResourcesRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `ClientID` | *string* | :heavy_check_mark: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | | `IncludeHttps` | [IncludeHttps](../../Models/Requests/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 | | `IncludeRelay` | [IncludeRelay](../../Models/Requests/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
| 1 | -| `IncludeIPv6` | [IncludeIPv6](../../Models/Requests/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 | -| `ClientID` | *string* | :heavy_minus_sign: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | \ No newline at end of file +| `IncludeIPv6` | [IncludeIPv6](../../Models/Requests/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 | \ No newline at end of file diff --git a/docs/Models/Requests/GetTokenByPinIdRequest.md b/docs/Models/Requests/GetTokenByPinIdRequest.md index 01ccd05..fbcc31a 100644 --- a/docs/Models/Requests/GetTokenByPinIdRequest.md +++ b/docs/Models/Requests/GetTokenByPinIdRequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | | `PinID` | *long* | :heavy_check_mark: | The PinID to retrieve an access token for | | -| `ClientID` | *string* | :heavy_minus_sign: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | +| `ClientID` | *string* | :heavy_check_mark: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | | `ClientName` | *string* | :heavy_minus_sign: | The name of the client application. (Plex Web, Plex Media Server, etc.) | Plex for Roku | | `DeviceNickname` | *string* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `ClientVersion` | *string* | :heavy_minus_sign: | The version of the client application. | 2.4.1 | diff --git a/docs/Models/Requests/GetTopWatchedContentQueryParamType.md b/docs/Models/Requests/GetTopWatchedContentQueryParamType.md index c178f9e..6736d2a 100644 --- a/docs/Models/Requests/GetTopWatchedContentQueryParamType.md +++ b/docs/Models/Requests/GetTopWatchedContentQueryParamType.md @@ -17,4 +17,6 @@ E.g. A movie library will not return anything with type 3 as there are no season | `TvShow` | 2 | | `Season` | 3 | | `Episode` | 4 | -| `Audio` | 8 | \ No newline at end of file +| `Audio` | 8 | +| `Album` | 9 | +| `Track` | 10 | \ No newline at end of file diff --git a/docs/Models/Requests/GetWatchListRequest.md b/docs/Models/Requests/GetWatchListRequest.md index 6ccec03..6a07173 100644 --- a/docs/Models/Requests/GetWatchListRequest.md +++ b/docs/Models/Requests/GetWatchListRequest.md @@ -6,11 +6,11 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Filter` | [Filter](../../Models/Requests/Filter.md) | :heavy_check_mark: | Filter | | -| `XPlexToken` | *string* | :heavy_check_mark: | An authentication token, obtained from plex.tv | CV5xoxjTpFKUzBTShsaf | | `Sort` | *string* | :heavy_minus_sign: | In the format "field:dir". Available fields are "watchlistedAt" (Added At),
"titleSort" (Title), "originallyAvailableAt" (Release Date), or "rating" (Critic Rating).
"dir" can be "asc" or "desc"
| | | `Libtype` | [Libtype](../../Models/Requests/Libtype.md) | :heavy_minus_sign: | The type of library to filter. Can be "movie" or "show", or all if not present.
| | | `Maxresults` | *int* | :heavy_minus_sign: | The number of items to return. If not specified, all items will be returned.
If the number of items exceeds the limit, the response will be paginated.
| | | `IncludeCollections` | [IncludeCollections](../../Models/Requests/IncludeCollections.md) | :heavy_minus_sign: | include collections in the results
| | | `IncludeExternalMedia` | [IncludeExternalMedia](../../Models/Requests/IncludeExternalMedia.md) | :heavy_minus_sign: | include external media in the results
| | | `XPlexContainerStart` | *int* | :heavy_minus_sign: | The index of the first item to return. If not specified, the first item will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 0
| 0 | -| `XPlexContainerSize` | *int* | :heavy_minus_sign: | The number of items to return. If not specified, all items will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 50
| 50 | \ No newline at end of file +| `XPlexContainerSize` | *int* | :heavy_minus_sign: | The number of items to return. If not specified, all items will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 50
| 50 | +| `XPlexToken` | *string* | :heavy_check_mark: | An authentication token, obtained from plex.tv | CV5xoxjTpFKUzBTShsaf | \ No newline at end of file diff --git a/docs/Models/Requests/PostUsersSignInDataRequest.md b/docs/Models/Requests/PostUsersSignInDataRequest.md index c227bd2..1971235 100644 --- a/docs/Models/Requests/PostUsersSignInDataRequest.md +++ b/docs/Models/Requests/PostUsersSignInDataRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `ClientID` | *string* | :heavy_minus_sign: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | +| `ClientID` | *string* | :heavy_check_mark: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | | `ClientName` | *string* | :heavy_minus_sign: | The name of the client application. (Plex Web, Plex Media Server, etc.) | Plex for Roku | | `DeviceNickname` | *string* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `ClientVersion` | *string* | :heavy_minus_sign: | The version of the client application. | 2.4.1 | diff --git a/docs/Models/Requests/QueryParamType.md b/docs/Models/Requests/QueryParamType.md index 326696d..13fedec 100644 --- a/docs/Models/Requests/QueryParamType.md +++ b/docs/Models/Requests/QueryParamType.md @@ -17,4 +17,6 @@ E.g. A movie library will not return anything with type 3 as there are no season | `TvShow` | 2 | | `Season` | 3 | | `Episode` | 4 | -| `Audio` | 8 | \ No newline at end of file +| `Audio` | 8 | +| `Album` | 9 | +| `Track` | 10 | \ No newline at end of file diff --git a/docs/Models/Requests/ShowOrdering.md b/docs/Models/Requests/ShowOrdering.md index b8a243b..f969631 100644 --- a/docs/Models/Requests/ShowOrdering.md +++ b/docs/Models/Requests/ShowOrdering.md @@ -1,20 +1,20 @@ # ShowOrdering -Setting that indicates the episode ordering for the show -None = Library default, -tmdbAiring = The Movie Database (Aired), -aired = TheTVDB (Aired), -dvd = TheTVDB (DVD), -absolute = TheTVDB (Absolute)). +Setting that indicates the episode ordering for the show +None = Library default, +tmdbAiring = The Movie Database (Aired), +tvdbAiring = TheTVDB (Aired), +tvdbDvd = TheTVDB (DVD), +tvdbAbsolute = TheTVDB (Absolute)). ## Values -| Name | Value | -| ------------ | ------------ | -| `None` | None | -| `TmdbAiring` | tmdbAiring | -| `Aired` | aired | -| `Dvd` | dvd | -| `Absolute` | absolute | \ No newline at end of file +| Name | Value | +| -------------- | -------------- | +| `None` | None | +| `TmdbAiring` | tmdbAiring | +| `TvdbAiring` | tvdbAiring | +| `TvdbDvd` | tvdbDvd | +| `TvdbAbsolute` | tvdbAbsolute | \ No newline at end of file diff --git a/docs/Models/Requests/Tag.md b/docs/Models/Requests/Tag.md index 99c8927..8524353 100644 --- a/docs/Models/Requests/Tag.md +++ b/docs/Models/Requests/Tag.md @@ -25,4 +25,5 @@ A key representing a specific tag within the section. | `Rating` | rating | | `Resolution` | resolution | | `FirstCharacter` | firstCharacter | -| `Folder` | folder | \ No newline at end of file +| `Folder` | folder | +| `Albums` | albums | \ No newline at end of file diff --git a/docs/Models/Requests/Type.md b/docs/Models/Requests/Type.md index 1ef815d..e0e804e 100644 --- a/docs/Models/Requests/Type.md +++ b/docs/Models/Requests/Type.md @@ -17,4 +17,6 @@ E.g. A movie library will not return anything with type 3 as there are no season | `TvShow` | 2 | | `Season` | 3 | | `Episode` | 4 | -| `Audio` | 8 | \ No newline at end of file +| `Audio` | 8 | +| `Album` | 9 | +| `Track` | 10 | \ No newline at end of file diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index a25f040..572bcc7 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -27,14 +27,7 @@ Get Server Activities using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Activities.GetServerActivitiesAsync(); @@ -61,17 +54,9 @@ Cancel Server Activities ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Activities.CancelServerActivitiesAsync(activityUUID: "25b71ed5-0f9d-461c-baa7-d404e9e10d3e"); diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index 846cd40..b3d07ad 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -22,21 +22,14 @@ This endpoint provides the caller with a temporary token with the same access le ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Authentication.GetTransientTokenAsync( - type: LukeHagar.PlexAPI.SDK.Models.Requests.GetTransientTokenQueryParamType.Delegation, - scope: LukeHagar.PlexAPI.SDK.Models.Requests.Scope.All + type: GetTransientTokenQueryParamType.Delegation, + scope: Scope.All ); // handle response @@ -71,17 +64,9 @@ Note: requires Plex Media Server >= 1.15.4. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Authentication.GetSourceConnectionInformationAsync(source: "server://client-identifier"); @@ -116,14 +101,7 @@ Get the User data from the provided X-Plex-Token using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Authentication.GetTokenDetailsAsync(); @@ -157,17 +135,15 @@ Sign in user with username and password and return user data with Plex authentic ```csharp using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Requests; -using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(); PostUsersSignInDataRequest req = new PostUsersSignInDataRequest() { + ClientID = "3381b62b-9ab7-4e37-827b-203e9809eb58", + ClientName = "Plex for Roku", + DeviceNickname = "Roku 3", + ClientVersion = "2.4.1", + Platform = "Roku", RequestBody = new PostUsersSignInDataRequestBody() { Login = "username@email.com", Password = "password123", diff --git a/docs/sdks/butler/README.md b/docs/sdks/butler/README.md index c40a475..48bc191 100644 --- a/docs/sdks/butler/README.md +++ b/docs/sdks/butler/README.md @@ -24,14 +24,7 @@ Returns a list of butler tasks using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Butler.GetButlerTasksAsync(); @@ -65,14 +58,7 @@ This endpoint will attempt to start all Butler tasks that are enabled in the set using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Butler.StartAllTasksAsync(); @@ -102,14 +88,7 @@ This endpoint will stop all currently running tasks and remove any scheduled tas using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Butler.StopAllTasksAsync(); @@ -141,19 +120,12 @@ This endpoint will attempt to start a single Butler task that is enabled in the ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); -var res = await sdk.Butler.StartTaskAsync(taskName: LukeHagar.PlexAPI.SDK.Models.Requests.TaskName.CleanOldBundles); +var res = await sdk.Butler.StartTaskAsync(taskName: TaskName.CleanOldBundles); // handle response ``` @@ -185,19 +157,12 @@ This endpoint will stop a currently running task by name, or remove it from the ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); -var res = await sdk.Butler.StopTaskAsync(taskName: LukeHagar.PlexAPI.SDK.Models.Requests.PathParamTaskName.BackupDatabase); +var res = await sdk.Butler.StopTaskAsync(taskName: PathParamTaskName.BackupDatabase); // handle response ``` diff --git a/docs/sdks/hubs/README.md b/docs/sdks/hubs/README.md index fb3d6ca..d3ae4e9 100644 --- a/docs/sdks/hubs/README.md +++ b/docs/sdks/hubs/README.md @@ -20,21 +20,14 @@ Get Global Hubs filtered by the parameters provided. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Hubs.GetGlobalHubsAsync( count: 1262.49D, - onlyTransient: LukeHagar.PlexAPI.SDK.Models.Requests.OnlyTransient.One + onlyTransient: OnlyTransient.One ); // handle response @@ -68,23 +61,16 @@ This endpoint will return the recently added content. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetRecentlyAddedRequest req = new GetRecentlyAddedRequest() { ContentDirectoryID = 470161, - Type = LukeHagar.PlexAPI.SDK.Models.Requests.Type.TvShow, SectionID = 2, - IncludeMeta = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeMeta.Enable, + Type = LukeHagar.PlexAPI.SDK.Models.Requests.Type.TvShow, + IncludeMeta = IncludeMeta.Enable, XPlexContainerStart = 0, XPlexContainerSize = 50, }; @@ -119,22 +105,15 @@ This endpoint will return a list of library specific hubs ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Hubs.GetLibraryHubsAsync( sectionId: 6728.76D, count: 639.24D, - onlyTransient: LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamOnlyTransient.One + onlyTransient: QueryParamOnlyTransient.One ); // handle response diff --git a/docs/sdks/library/README.md b/docs/sdks/library/README.md index bb2fd2a..76fc98f 100644 --- a/docs/sdks/library/README.md +++ b/docs/sdks/library/README.md @@ -30,17 +30,9 @@ This resource returns hash values for local files ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetFileHashAsync( url: "file://C:\Image.png&type=13", @@ -78,21 +70,13 @@ This endpoint will return the recently added content. ```csharp using LukeHagar.PlexAPI.SDK; +using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Requests; using System.Collections.Generic; -using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetRecentlyAddedLibraryRequest req = new GetRecentlyAddedLibraryRequest() { - Type = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamType.TvShow, ContentDirectoryID = 2, PinnedContentDirectoryID = new List() { 3, @@ -109,7 +93,8 @@ GetRecentlyAddedLibraryRequest req = new GetRecentlyAddedLibraryRequest() { 17, }, SectionID = 2, - IncludeMeta = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeMeta.Enable, + Type = QueryParamType.TvShow, + IncludeMeta = QueryParamIncludeMeta.Enable, XPlexContainerStart = 0, XPlexContainerSize = 50, }; @@ -153,14 +138,7 @@ This allows a client to provide a rich interface around the media (e.g. allow so using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetAllLibrariesAsync(); @@ -226,21 +204,14 @@ Each type in the library comes with a set of filters and sorts, aiding in buildi ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetLibraryDetailsAsync( sectionKey: 9518, - includeDetails: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeDetails.Zero + includeDetails: IncludeDetails.Zero ); // handle response @@ -273,17 +244,9 @@ Delete a library using a specific section id ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.DeleteLibraryAsync(sectionKey: 9518); @@ -330,30 +293,24 @@ Fetches details from a specific section of the library identified by a section k - `resolution`: Items categorized by resolution. - `firstCharacter`: Items categorized by the first letter. - `folder`: Items categorized by folder. +- `albums`: Items categorized by album. ### Example Usage ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetLibraryItemsRequest req = new GetLibraryItemsRequest() { - Tag = LukeHagar.PlexAPI.SDK.Models.Requests.Tag.Edition, + Tag = Tag.Edition, + IncludeGuids = IncludeGuids.Enable, + Type = GetLibraryItemsQueryParamType.TvShow, SectionKey = 9518, - IncludeGuids = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeGuids.Enable, - Type = LukeHagar.PlexAPI.SDK.Models.Requests.GetLibraryItemsQueryParamType.TvShow, - IncludeMeta = LukeHagar.PlexAPI.SDK.Models.Requests.GetLibraryItemsQueryParamIncludeMeta.Enable, + IncludeMeta = GetLibraryItemsQueryParamIncludeMeta.Enable, XPlexContainerStart = 0, XPlexContainerSize = 50, }; @@ -390,21 +347,14 @@ This endpoint Refreshes all the Metadata of the library. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetRefreshLibraryMetadataAsync( sectionKey: 9518, - force: LukeHagar.PlexAPI.SDK.Models.Requests.Force.One + force: Force.One ); // handle response @@ -455,21 +405,14 @@ Each type in the library comes with a set of filters and sorts, aiding in buildi ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetSearchLibraryAsync( sectionKey: 9518, - type: LukeHagar.PlexAPI.SDK.Models.Requests.GetSearchLibraryQueryParamType.TvShow + type: GetSearchLibraryQueryParamType.TvShow ); // handle response @@ -503,26 +446,20 @@ Search the provided query across all library sections, or a single section, and ```csharp using LukeHagar.PlexAPI.SDK; +using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Models.Requests; using System.Collections.Generic; -using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetSearchAllLibrariesRequest req = new GetSearchAllLibrariesRequest() { Query = "", + ClientID = "3381b62b-9ab7-4e37-827b-203e9809eb58", SearchTypes = new List() { - LukeHagar.PlexAPI.SDK.Models.Requests.SearchTypes.People, + SearchTypes.People, }, - IncludeCollections = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeCollections.Enable, - IncludeExternalMedia = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeExternalMedia.Enable, + IncludeCollections = QueryParamIncludeCollections.Enable, + IncludeExternalMedia = QueryParamIncludeExternalMedia.Enable, }; var res = await sdk.Library.GetSearchAllLibrariesAsync(req); @@ -557,17 +494,9 @@ This endpoint will return the metadata of a library item specified with the rati ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetMetaDataByRatingKeyAsync(ratingKey: 9518); @@ -601,17 +530,9 @@ This endpoint will return the children of of a library item specified with the r ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetMetadataChildrenAsync( ratingKey: 1539.15D, @@ -649,20 +570,13 @@ This endpoint will return the top watched content from libraries of a certain ty ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetTopWatchedContentAsync( - type: LukeHagar.PlexAPI.SDK.Models.Requests.GetTopWatchedContentQueryParamType.TvShow, + type: GetTopWatchedContentQueryParamType.TvShow, includeGuids: 1 ); @@ -699,14 +613,7 @@ This endpoint will return the on deck content. using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Library.GetOnDeckAsync(); diff --git a/docs/sdks/log/README.md b/docs/sdks/log/README.md index 40b3a30..9cc402e 100644 --- a/docs/sdks/log/README.md +++ b/docs/sdks/log/README.md @@ -21,20 +21,13 @@ This endpoint will write a single-line log message, including a level and source ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Log.LogLineAsync( - level: LukeHagar.PlexAPI.SDK.Models.Requests.Level.Three, + level: Level.Three, message: "Test log message", source: "Postman" ); @@ -93,16 +86,9 @@ Ensure each parameter is properly URL-encoded to avoid interpretation issues. using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); -string req = "level=4&message=Test%20message%201&source=postman +string req = @"level=4&message=Test%20message%201&source=postman level=3&message=Test%20message%202&source=postman level=1&message=Test%20message%203&source=postman"; @@ -140,14 +126,7 @@ This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Log.EnablePaperTrailAsync(); diff --git a/docs/sdks/media/README.md b/docs/sdks/media/README.md index 0dd4649..b8ffbf7 100644 --- a/docs/sdks/media/README.md +++ b/docs/sdks/media/README.md @@ -22,17 +22,9 @@ This will mark the provided media key as Played. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Media.MarkPlayedAsync(key: 59398D); @@ -65,17 +57,9 @@ This will mark the provided media key as Unplayed. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Media.MarkUnplayedAsync(key: 59398D); @@ -109,17 +93,9 @@ This API command can be used to update the play progress of a media item. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Media.UpdatePlayProgressAsync( key: "", @@ -158,17 +134,10 @@ Gets the banner image of the media item ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetBannerImageRequest req = new GetBannerImageRequest() { RatingKey = 9518, @@ -210,17 +179,10 @@ Gets the thumbnail image of the media item ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetThumbImageRequest req = new GetThumbImageRequest() { RatingKey = 9518, diff --git a/docs/sdks/playlists/README.md b/docs/sdks/playlists/README.md index b9e87fc..33a268c 100644 --- a/docs/sdks/playlists/README.md +++ b/docs/sdks/playlists/README.md @@ -32,22 +32,15 @@ Create a new playlist. By default the playlist is blank. To create a playlist al ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); CreatePlaylistRequest req = new CreatePlaylistRequest() { Title = "", - Type = LukeHagar.PlexAPI.SDK.Models.Requests.CreatePlaylistQueryParamType.Photo, - Smart = LukeHagar.PlexAPI.SDK.Models.Requests.Smart.One, + Type = CreatePlaylistQueryParamType.Photo, + Smart = Smart.One, Uri = "https://hoarse-testing.info/", }; @@ -82,21 +75,14 @@ Get All Playlists given the specified filters. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.GetPlaylistsAsync( - playlistType: LukeHagar.PlexAPI.SDK.Models.Requests.PlaylistType.Audio, - smart: LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamSmart.Zero + playlistType: PlaylistType.Audio, + smart: QueryParamSmart.Zero ); // handle response @@ -131,17 +117,9 @@ Smart playlist details contain the `content` attribute. This is the content URI ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.GetPlaylistAsync(playlistID: 4109.48D); @@ -175,17 +153,9 @@ This endpoint will delete a playlist ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.DeletePlaylistAsync(playlistID: 216.22D); @@ -219,17 +189,9 @@ From PMS version 1.9.1 clients can also edit playlist metadata using this endpoi ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.UpdatePlaylistAsync( playlistID: 3915.00D, @@ -272,21 +234,14 @@ Note that for dumb playlists, items have a `playlistItemID` attribute which is u ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.GetPlaylistContentsAsync( playlistID: 5004.46D, - type: LukeHagar.PlexAPI.SDK.Models.Requests.GetPlaylistContentsQueryParamType.TvShow + type: GetPlaylistContentsQueryParamType.TvShow ); // handle response @@ -320,17 +275,9 @@ Clears a playlist, only works with dumb playlists. Returns the playlist. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.ClearPlaylistContentsAsync(playlistID: 1893.18D); @@ -365,17 +312,9 @@ With a smart playlist, passing a new `uri` parameter replaces the rules for the ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.AddPlaylistContentsAsync( playlistID: 8502.00D, @@ -415,21 +354,14 @@ Imports m3u playlists by passing a path on the server to scan for m3u-formatted ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Playlists.UploadPlaylistAsync( path: "/home/barkley/playlist.m3u", - force: LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamForce.Zero, + force: QueryParamForce.Zero, sectionID: 1 ); diff --git a/docs/sdks/plex/README.md b/docs/sdks/plex/README.md index 7db497e..9ef15e8 100644 --- a/docs/sdks/plex/README.md +++ b/docs/sdks/plex/README.md @@ -26,14 +26,7 @@ Get Companions Data using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetCompanionsDataAsync(); @@ -68,14 +61,7 @@ Get friends of provided auth token. using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetUserFriendsAsync(); @@ -108,15 +94,8 @@ Returns the geolocation and locale data of the caller ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(); var res = await sdk.Plex.GetGeoDataAsync(); @@ -151,14 +130,7 @@ Retrieves the home data for the authenticated user, including details like home using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetHomeDataAsync(); @@ -185,23 +157,16 @@ Get Plex server access tokens and server connections ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Plex.GetServerResourcesAsync( - includeHttps: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeHttps.Enable, - includeRelay: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeRelay.Enable, - includeIPv6: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.Enable, - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58" + clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", + includeHttps: IncludeHttps.Enable, + includeRelay: IncludeRelay.Enable, + includeIPv6: IncludeIPv6.Enable ); // handle response @@ -211,10 +176,10 @@ var res = await sdk.Plex.GetServerResourcesAsync( | Parameter | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `ClientID` | *string* | :heavy_check_mark: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | | `IncludeHttps` | [IncludeHttps](../../Models/Requests/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 | | `IncludeRelay` | [IncludeRelay](../../Models/Requests/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
| 1 | | `IncludeIPv6` | [IncludeIPv6](../../Models/Requests/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 | -| `ClientID` | *string* | :heavy_minus_sign: | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 | | `serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 | ### Response @@ -238,17 +203,16 @@ Retrieve a Pin ID from Plex.tv to use for authentication flows ```csharp using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Requests; -using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(); -GetPinRequest req = new GetPinRequest() {}; +GetPinRequest req = new GetPinRequest() { + ClientID = "3381b62b-9ab7-4e37-827b-203e9809eb58", + ClientName = "Plex for Roku", + DeviceNickname = "Roku 3", + ClientVersion = "2.4.1", + Platform = "Roku", +}; var res = await sdk.Plex.GetPinAsync(req); @@ -282,18 +246,16 @@ Retrieve an Access Token from Plex.tv after the Pin has been authenticated ```csharp using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Requests; -using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(); GetTokenByPinIdRequest req = new GetTokenByPinIdRequest() { PinID = 408895, + ClientID = "3381b62b-9ab7-4e37-827b-203e9809eb58", + ClientName = "Plex for Roku", + DeviceNickname = "Roku 3", + ClientVersion = "2.4.1", + Platform = "Roku", }; var res = await sdk.Plex.GetTokenByPinIdAsync(req); diff --git a/docs/sdks/plexapi/README.md b/docs/sdks/plexapi/README.md index e91fa37..1e395e4 100644 --- a/docs/sdks/plexapi/README.md +++ b/docs/sdks/plexapi/README.md @@ -26,3 +26,6 @@ The following SDKs are generated from the OpenAPI Specification. They are automa | PHP | [GitHub](https://github.com/LukeHagar/plexphp) | [Releases](https://github.com/LukeHagar/plexphp/releases) | - | | Java | [GitHub](https://github.com/LukeHagar/plexjava) | [Releases](https://github.com/LukeHagar/plexjava/releases) | - | | C# | [GitHub](https://github.com/LukeHagar/plexcsharp) | [Releases](https://github.com/LukeHagar/plexcsharp/releases) | - + + +### Available Operations diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index 0ed5d27..a9375d4 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -32,17 +32,9 @@ This request is intended to be very fast, and called as the user types. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Search.PerformSearchAsync( query: "dylan", @@ -85,17 +77,9 @@ Results, as well as their containing per-type hubs, contain a `distance` attribu ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Search.PerformVoiceSearchAsync( query: "dead+poop", @@ -134,17 +118,9 @@ This will search the database for the string provided. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Search.GetSearchResultsAsync(query: "110"); diff --git a/docs/sdks/server/README.md b/docs/sdks/server/README.md index 2a02576..67b4cbe 100644 --- a/docs/sdks/server/README.md +++ b/docs/sdks/server/README.md @@ -28,14 +28,7 @@ Get Server Capabilities using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerCapabilitiesAsync(); @@ -64,14 +57,7 @@ Get Server Preferences using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerPreferencesAsync(); @@ -100,14 +86,7 @@ Get Available Clients using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetAvailableClientsAsync(); @@ -136,14 +115,7 @@ Get Devices using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetDevicesAsync(); @@ -170,15 +142,8 @@ This request is useful to determine if the server is online or offline ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(); var res = await sdk.Server.GetServerIdentityAsync(); @@ -206,14 +171,7 @@ Returns MyPlex Account Information using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetMyPlexAccountAsync(); @@ -241,25 +199,18 @@ Plex's Photo transcoder is used throughout the service to serve images at specif ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetResizedPhotoRequest req = new GetResizedPhotoRequest() { Width = 110D, Height = 165D, Opacity = 100, Blur = 20D, - MinSize = LukeHagar.PlexAPI.SDK.Models.Requests.MinSize.Zero, - Upscale = LukeHagar.PlexAPI.SDK.Models.Requests.Upscale.One, + MinSize = MinSize.Zero, + Upscale = Upscale.One, Url = "/library/metadata/49564/thumb/1654258204", }; @@ -294,17 +245,9 @@ Retrieves media providers and their features from the Plex server. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetMediaProvidersAsync(xPlexToken: "CV5xoxjTpFKUzBTShsaf"); @@ -339,14 +282,7 @@ Get Server List using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Server.GetServerListAsync(); diff --git a/docs/sdks/sessions/README.md b/docs/sdks/sessions/README.md index beaa7e2..ad633f8 100644 --- a/docs/sdks/sessions/README.md +++ b/docs/sdks/sessions/README.md @@ -23,14 +23,7 @@ This will retrieve the "Now Playing" Information of the PMS. using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Sessions.GetSessionsAsync(); @@ -57,17 +50,10 @@ This will Retrieve a listing of all history views. ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Sessions.GetSessionHistoryAsync( sort: "", @@ -110,14 +96,7 @@ Get Transcode Sessions using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Sessions.GetTranscodeSessionsAsync(); @@ -144,17 +123,9 @@ Stop a Transcode Session ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Sessions.StopTranscodeSessionAsync(sessionKey: "zz7llzqlx8w9vnrsbnwhbmep"); diff --git a/docs/sdks/statistics/README.md b/docs/sdks/statistics/README.md index 7eed76c..ab8e07f 100644 --- a/docs/sdks/statistics/README.md +++ b/docs/sdks/statistics/README.md @@ -20,17 +20,9 @@ This will return the media statistics for the server ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Statistics.GetStatisticsAsync(timespan: 4); @@ -63,17 +55,9 @@ This will return the resources for the server ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Statistics.GetResourcesStatisticsAsync(timespan: 4); @@ -106,17 +90,9 @@ This will return the bandwidth statistics for the server ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Statistics.GetBandwidthStatisticsAsync(timespan: 4); diff --git a/docs/sdks/updater/README.md b/docs/sdks/updater/README.md index c2ec5c1..fef3fca 100644 --- a/docs/sdks/updater/README.md +++ b/docs/sdks/updater/README.md @@ -23,14 +23,7 @@ Querying status of updates using LukeHagar.PlexAPI.SDK; using LukeHagar.PlexAPI.SDK.Models.Components; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Updater.GetUpdateStatusAsync(); @@ -57,19 +50,12 @@ Checking for updates ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); -var res = await sdk.Updater.CheckForUpdatesAsync(download: LukeHagar.PlexAPI.SDK.Models.Requests.Download.One); +var res = await sdk.Updater.CheckForUpdatesAsync(download: Download.One); // handle response ``` @@ -101,21 +87,14 @@ Note that these two parameters are effectively mutually exclusive. The `tonight` ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); var res = await sdk.Updater.ApplyUpdatesAsync( - tonight: LukeHagar.PlexAPI.SDK.Models.Requests.Tonight.One, - skip: LukeHagar.PlexAPI.SDK.Models.Requests.Skip.One + tonight: Tonight.One, + skip: Skip.One ); // handle response diff --git a/docs/sdks/video/README.md b/docs/sdks/video/README.md index 868eb71..882a786 100644 --- a/docs/sdks/video/README.md +++ b/docs/sdks/video/README.md @@ -19,22 +19,15 @@ Get the timeline for a media item ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetTimelineRequest req = new GetTimelineRequest() { RatingKey = 23409D, Key = "/library/metadata/23409", - State = LukeHagar.PlexAPI.SDK.Models.Requests.State.Playing, + State = State.Playing, HasMDE = 1D, Time = 2000D, Duration = 10000D, @@ -75,17 +68,10 @@ Begin a Universal Transcode Session ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); StartUniversalTranscodeRequest req = new StartUniversalTranscodeRequest() { HasMDE = 1D, diff --git a/docs/sdks/watchlist/README.md b/docs/sdks/watchlist/README.md index 6c1386e..8d90ded 100644 --- a/docs/sdks/watchlist/README.md +++ b/docs/sdks/watchlist/README.md @@ -18,23 +18,16 @@ Get User Watchlist ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; +using LukeHagar.PlexAPI.SDK.Models.Requests; -var sdk = new PlexAPI( - accessToken: "", - clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58", - clientName: "Plex for Roku", - clientVersion: "2.4.1", - platform: "Roku", - deviceNickname: "Roku 3" -); +var sdk = new PlexAPI(accessToken: ""); GetWatchListRequest req = new GetWatchListRequest() { - Filter = LukeHagar.PlexAPI.SDK.Models.Requests.Filter.Available, - XPlexToken = "CV5xoxjTpFKUzBTShsaf", + Filter = Filter.Available, XPlexContainerStart = 0, XPlexContainerSize = 50, + XPlexToken = "CV5xoxjTpFKUzBTShsaf", }; var res = await sdk.Watchlist.GetWatchListAsync(req);