plex_ruby_sdk 0.10.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5bad48f1f904e3a98d87694956684b027a45e4b4c515d6b172cfcb8c870f0d1
4
- data.tar.gz: d64332ba8c2ca8eeb440b85c647e0ea1dffb927cf72e884aa63f8bd53748d6c8
3
+ metadata.gz: 1ed4cde88cb2bbe8f15487f50442bb355a67f60acc78a64267cdd34f54dd3040
4
+ data.tar.gz: 140dcb2114e04e8a7986575243bd79e5f8bd526f1512b8b05f527aab988b1309
5
5
  SHA512:
6
- metadata.gz: 2d8d2cda546ae93a538f44a2ccfe86075cbb44d477d1b8b75cb593fea42c60a0a21527dc8ffdbeca79b68610fd866cc786b1f734ae0a9805d4637f255436b8a4
7
- data.tar.gz: 668965cafbfb35d3ecc856e8d749b9bf45f068161d9d45390e5ce93a72f651eb5eda89619883f80d439e15edd5ab8e1b9bf299bc6ba9b0201003a8165d63152c
6
+ metadata.gz: c825b0dbab1a903c783d927dbf2d9dc0385af5839194b6a88f173364013fb4d6df2c78ae20442b41adf9c9fde51e515a8d91a3b73f55064b591deff6d65b25f1
7
+ data.tar.gz: 73fc2a9c757427a11c342ef25e3e01514f3ac61212e5db4e8bf6d61496d56547a7e54d248b6c4185423efe8d8abf256734e47fb57596a89f69ee674a695a5772
@@ -420,14 +420,14 @@ module PlexRubySDK
420
420
  # get_library_details - Get Library Details
421
421
  # ## Library Details Endpoint
422
422
  #
423
- # This endpoint provides comprehensive details about the library, focusing on organizational aspects rather than the content itself.
423
+ # This endpoint provides comprehensive details about the library, focusing on organizational aspects rather than the content itself.
424
424
  #
425
425
  # The details include:
426
426
  #
427
427
  # ### Directories
428
428
  # Organized into three categories:
429
429
  #
430
- # - **Primary Directories**:
430
+ # - **Primary Directories**:
431
431
  # - Used in some clients for quick access to media subsets (e.g., "All", "On Deck").
432
432
  # - Most can be replicated via media queries.
433
433
  # - Customizable by users.
@@ -155,13 +155,13 @@ module PlexRubySDK
155
155
  sig { params(request: ::String, timeout_ms: T.nilable(Integer)).returns(Models::Operations::LogMultiLineResponse) }
156
156
  def log_multi_line(request, timeout_ms = nil)
157
157
  # log_multi_line - Logging a multi-line message
158
- # This endpoint allows for the batch addition of log entries to the main Plex Media Server log.
159
- # It accepts a text/plain request body, where each line represents a distinct log entry.
160
- # Each log entry consists of URL-encoded key-value pairs, specifying log attributes such as 'level', 'message', and 'source'.
158
+ # This endpoint allows for the batch addition of log entries to the main Plex Media Server log.
159
+ # It accepts a text/plain request body, where each line represents a distinct log entry.
160
+ # Each log entry consists of URL-encoded key-value pairs, specifying log attributes such as 'level', 'message', and 'source'.
161
161
  #
162
- # Log entries are separated by a newline character (`\n`).
163
- # Each entry's parameters should be URL-encoded to ensure accurate parsing and handling of special characters.
164
- # This method is efficient for logging multiple entries in a single API call, reducing the overhead of multiple individual requests.
162
+ # Log entries are separated by a newline character (`\n`).
163
+ # Each entry's parameters should be URL-encoded to ensure accurate parsing and handling of special characters.
164
+ # This method is efficient for logging multiple entries in a single API call, reducing the overhead of multiple individual requests.
165
165
  #
166
166
  # The 'level' parameter specifies the log entry's severity or importance, with the following integer values:
167
167
  # - `0`: Error - Critical issues that require immediate attention.
@@ -17,7 +17,7 @@ module PlexRubySDK
17
17
  # Note: This is unique in the context of the Plex server.
18
18
  #
19
19
  field :section_key, ::Integer, { 'path_param': { 'field_name': 'sectionKey', 'style': 'simple', 'explode': false } }
20
- # Whether or not to include details for a section (types, filters, and sorts).
20
+ # Whether or not to include details for a section (types, filters, and sorts).
21
21
  # Only exists for backwards compatibility, media providers other than the server libraries have it on always.
22
22
  #
23
23
  field :include_details, T.nilable(Models::Operations::IncludeDetails), { 'query_param': { 'field_name': 'includeDetails', 'style': 'form', 'explode': true } }
@@ -8,7 +8,7 @@ module PlexRubySDK
8
8
  module Models
9
9
  module Operations
10
10
 
11
- # IncludeDetails - Whether or not to include details for a section (types, filters, and sorts).
11
+ # IncludeDetails - Whether or not to include details for a section (types, filters, and sorts).
12
12
  # Only exists for backwards compatibility, media providers other than the server libraries have it on always.
13
13
  #
14
14
  class IncludeDetails < T::Enum
@@ -8,11 +8,11 @@ module PlexRubySDK
8
8
  module Models
9
9
  module Operations
10
10
 
11
- # Level - An integer log level to write to the PMS log with.
12
- # 0: Error
13
- # 1: Warning
14
- # 2: Info
15
- # 3: Debug
11
+ # Level - An integer log level to write to the PMS log with.
12
+ # 0: Error
13
+ # 1: Warning
14
+ # 2: Info
15
+ # 3: Debug
16
16
  # 4: Verbose
17
17
  #
18
18
  class Level < T::Enum
@@ -13,11 +13,11 @@ module PlexRubySDK
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
15
15
 
16
- # An integer log level to write to the PMS log with.
17
- # 0: Error
18
- # 1: Warning
19
- # 2: Info
20
- # 3: Debug
16
+ # An integer log level to write to the PMS log with.
17
+ # 0: Error
18
+ # 1: Warning
19
+ # 2: Info
20
+ # 3: Debug
21
21
  # 4: Verbose
22
22
  #
23
23
  field :level, Models::Operations::Level, { 'query_param': { 'field_name': 'level', 'style': 'form', 'explode': true } }
@@ -8,9 +8,9 @@ module PlexRubySDK
8
8
  module Models
9
9
  module Operations
10
10
 
11
- # QueryParamForce - Force overwriting of duplicate playlists.
12
- # By default, a playlist file uploaded with the same path will overwrite the existing playlist.
13
- # The `force` argument is used to disable overwriting.
11
+ # QueryParamForce - Force overwriting of duplicate playlists.
12
+ # By default, a playlist file uploaded with the same path will overwrite the existing playlist.
13
+ # The `force` argument is used to disable overwriting.
14
14
  # If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
15
15
  #
16
16
  class QueryParamForce < T::Enum
@@ -13,17 +13,17 @@ module PlexRubySDK
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
15
15
 
16
- # Force overwriting of duplicate playlists.
17
- # By default, a playlist file uploaded with the same path will overwrite the existing playlist.
18
- # The `force` argument is used to disable overwriting.
16
+ # Force overwriting of duplicate playlists.
17
+ # By default, a playlist file uploaded with the same path will overwrite the existing playlist.
18
+ # The `force` argument is used to disable overwriting.
19
19
  # If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
20
20
  #
21
21
  field :force, Models::Operations::QueryParamForce, { 'query_param': { 'field_name': 'force', 'style': 'form', 'explode': true } }
22
- # absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.
23
- # If the `path` argument is a directory, that path will be scanned for playlist files to be processed.
24
- # Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.
25
- # The GUID of each playlist is based on the filename.
26
- # If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.
22
+ # absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.
23
+ # If the `path` argument is a directory, that path will be scanned for playlist files to be processed.
24
+ # Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.
25
+ # The GUID of each playlist is based on the filename.
26
+ # If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.
27
27
  # The GUID of each playlist is based on the filename.
28
28
  #
29
29
  field :path, ::String, { 'query_param': { 'field_name': 'path', 'style': 'form', 'explode': true } }
@@ -14,9 +14,9 @@ module PlexRubySDK
14
14
  extend T::Sig
15
15
  class Playlists
16
16
  extend T::Sig
17
- # 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").
17
+ # 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").
18
18
  # They can be organized in (optionally nesting) folders.
19
- # Retrieving a playlist, or its items, will trigger a refresh of its metadata.
19
+ # Retrieving a playlist, or its items, will trigger a refresh of its metadata.
20
20
  # This may cause the duration and number of items to change.
21
21
  #
22
22
 
@@ -14,7 +14,7 @@ module PlexRubySDK
14
14
  extend T::Sig
15
15
 
16
16
  SERVERS = [
17
- '{protocol}://{ip}:{port}', # 1 - The full address of your Plex Server
17
+ 'https://10.10.10.47:32400', # 1 - The full address of your Plex Server
18
18
  ].freeze
19
19
  # Contains the list of servers available to the SDK
20
20
 
@@ -66,9 +66,9 @@ module PlexRubySDK
66
66
  end
67
67
  @language = 'ruby'
68
68
  @openapi_doc_version = '0.0.3'
69
- @sdk_version = '0.10.0'
69
+ @sdk_version = '0.11.1'
70
70
  @gen_version = '2.570.4'
71
- @user_agent = 'speakeasy-sdk/ruby 0.10.0 2.570.4 0.0.3 plex_ruby_sdk'
71
+ @user_agent = 'speakeasy-sdk/ruby 0.11.1 2.570.4 0.0.3 plex_ruby_sdk'
72
72
  end
73
73
 
74
74
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plex_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LukeHagar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-15 00:00:00.000000000 Z
11
+ date: 2025-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -1148,7 +1148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1148
1148
  - !ruby/object:Gem::Version
1149
1149
  version: '0'
1150
1150
  requirements: []
1151
- rubygems_version: 3.3.26
1151
+ rubygems_version: 3.4.19
1152
1152
  signing_key:
1153
1153
  specification_version: 4
1154
1154
  summary: ''