@jellyfin/sdk 0.0.0-unstable.202601090504 → 0.0.0-unstable.202601202159

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.
Files changed (39) hide show
  1. package/lib/generated-client/api/audio-api.d.ts +8 -40
  2. package/lib/generated-client/api/audio-api.js +24 -52
  3. package/lib/generated-client/api/dynamic-hls-api.d.ts +18 -90
  4. package/lib/generated-client/api/dynamic-hls-api.js +54 -117
  5. package/lib/generated-client/api/image-api.d.ts +4 -4
  6. package/lib/generated-client/api/image-api.js +4 -4
  7. package/lib/generated-client/api/media-info-api.d.ts +4 -4
  8. package/lib/generated-client/api/media-info-api.js +4 -4
  9. package/lib/generated-client/api/playlists-api.d.ts +4 -4
  10. package/lib/generated-client/api/playlists-api.js +4 -4
  11. package/lib/generated-client/api/universal-audio-api.d.ts +4 -20
  12. package/lib/generated-client/api/universal-audio-api.js +10 -20
  13. package/lib/generated-client/api/videos-api.d.ts +8 -40
  14. package/lib/generated-client/api/videos-api.js +24 -52
  15. package/lib/generated-client/index.js +1 -0
  16. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
  17. package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +1 -1
  18. package/lib/generated-client/models/base-item-dto.d.ts +1 -1
  19. package/lib/generated-client/models/branding-options-dto.d.ts +1 -1
  20. package/lib/generated-client/models/device-profile.d.ts +1 -1
  21. package/lib/generated-client/models/encoding-options.d.ts +7 -0
  22. package/lib/generated-client/models/hls-audio-seek-strategy.d.ts +20 -0
  23. package/lib/generated-client/models/hls-audio-seek-strategy.js +23 -0
  24. package/lib/generated-client/models/index.d.ts +1 -0
  25. package/lib/generated-client/models/index.js +1 -0
  26. package/lib/generated-client/models/media-source-info.d.ts +1 -1
  27. package/lib/generated-client/models/media-stream-protocol.d.ts +1 -1
  28. package/lib/generated-client/models/media-stream-protocol.js +1 -1
  29. package/lib/generated-client/models/media-stream.d.ts +7 -1
  30. package/lib/generated-client/models/media-update-info-path-dto.d.ts +1 -1
  31. package/lib/generated-client/models/network-configuration.d.ts +1 -1
  32. package/lib/generated-client/models/package-info.d.ts +1 -1
  33. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
  34. package/lib/generated-client/models/server-configuration.d.ts +3 -3
  35. package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
  36. package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
  37. package/lib/generated-client/models/trickplay-options.d.ts +1 -1
  38. package/lib/generated-client/models/user-dto.d.ts +1 -1
  39. package/package.json +1 -1
@@ -91,6 +91,7 @@ export { GroupShuffleMode } from './models/group-shuffle-mode.js';
91
91
  export { GroupStateType } from './models/group-state-type.js';
92
92
  export { GroupUpdateType } from './models/group-update-type.js';
93
93
  export { HardwareAccelerationType } from './models/hardware-acceleration-type.js';
94
+ export { HlsAudioSeekStrategy } from './models/hls-audio-seek-strategy.js';
94
95
  export { ImageFormat } from './models/image-format.js';
95
96
  export { ImageOrientation } from './models/image-orientation.js';
96
97
  export { ImageResolution } from './models/image-resolution.js';
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { SessionMessageType } from './session-message-type';
12
12
  /**
13
- * Activity log entry start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms.
13
+ * Activity log entry start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms.
14
14
  * @export
15
15
  * @interface ActivityLogEntryStartMessage
16
16
  */
@@ -9,7 +9,7 @@
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
11
  /**
12
- * Gets or sets the blurhashes for the image tags. Maps image type to dictionary mapping image tag to blurhash value.
12
+ * Gets or sets the blurhashes for the image tags. Maps image type to dictionary mapping image tag to blurhash value.
13
13
  * @export
14
14
  * @interface BaseItemDtoImageBlurHashes
15
15
  */
@@ -33,7 +33,7 @@ import type { UserItemDataDto } from './user-item-data-dto';
33
33
  import type { Video3DFormat } from './video3-dformat';
34
34
  import type { VideoType } from './video-type';
35
35
  /**
36
- * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client.
36
+ * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client.
37
37
  * @export
38
38
  * @interface BaseItemDto
39
39
  */
@@ -9,7 +9,7 @@
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
11
  /**
12
- * The branding options DTO for API use. This DTO excludes SplashscreenLocation to prevent it from being updated via API.
12
+ * The branding options DTO for API use. This DTO excludes SplashscreenLocation to prevent it from being updated via API.
13
13
  * @export
14
14
  * @interface BrandingOptionsDto
15
15
  */
@@ -14,7 +14,7 @@ import type { DirectPlayProfile } from './direct-play-profile';
14
14
  import type { SubtitleProfile } from './subtitle-profile';
15
15
  import type { TranscodingProfile } from './transcoding-profile';
16
16
  /**
17
- * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn\'t.
17
+ * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn\'t.
18
18
  * @export
19
19
  * @interface DeviceProfile
20
20
  */
@@ -12,6 +12,7 @@ import type { DeinterlaceMethod } from './deinterlace-method';
12
12
  import type { DownMixStereoAlgorithms } from './down-mix-stereo-algorithms';
13
13
  import type { EncoderPreset } from './encoder-preset';
14
14
  import type { HardwareAccelerationType } from './hardware-acceleration-type';
15
+ import type { HlsAudioSeekStrategy } from './hls-audio-seek-strategy';
15
16
  import type { TonemappingAlgorithm } from './tonemapping-algorithm';
16
17
  import type { TonemappingMode } from './tonemapping-mode';
17
18
  import type { TonemappingRange } from './tonemapping-range';
@@ -309,4 +310,10 @@ export interface EncodingOptions {
309
310
  * @memberof EncodingOptions
310
311
  */
311
312
  'AllowOnDemandMetadataBasedKeyframeExtractionForExtensions'?: Array<string> | null;
313
+ /**
314
+ *
315
+ * @type {HlsAudioSeekStrategy}
316
+ * @memberof EncodingOptions
317
+ */
318
+ 'HlsAudioSeekStrategy'?: HlsAudioSeekStrategy;
312
319
  }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ /**
12
+ * An enum representing the options to seek the input audio stream when transcoding HLS segments.
13
+ * @export
14
+ * @enum {string}
15
+ */
16
+ export declare const HlsAudioSeekStrategy: {
17
+ readonly DisableAccurateSeek: "DisableAccurateSeek";
18
+ readonly TranscodeAudio: "TranscodeAudio";
19
+ };
20
+ export type HlsAudioSeekStrategy = typeof HlsAudioSeekStrategy[keyof typeof HlsAudioSeekStrategy];
@@ -0,0 +1,23 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5
+ * Do not edit the class manually.
6
+ *
7
+ * Jellyfin API
8
+ *
9
+ * This Source Code Form is subject to the terms of the Mozilla Public
10
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
11
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
+ */
13
+ /**
14
+ * An enum representing the options to seek the input audio stream when transcoding HLS segments.
15
+ * @export
16
+ * @enum {string}
17
+ */
18
+ const HlsAudioSeekStrategy = {
19
+ DisableAccurateSeek: 'DisableAccurateSeek',
20
+ TranscodeAudio: 'TranscodeAudio'
21
+ };
22
+
23
+ export { HlsAudioSeekStrategy };
@@ -102,6 +102,7 @@ export * from './group-update';
102
102
  export * from './group-update-type';
103
103
  export * from './guide-info';
104
104
  export * from './hardware-acceleration-type';
105
+ export * from './hls-audio-seek-strategy';
105
106
  export * from './iplugin';
106
107
  export * from './ignore-wait-request-dto';
107
108
  export * from './image-format';
@@ -29,6 +29,7 @@ export { GroupShuffleMode } from './group-shuffle-mode.js';
29
29
  export { GroupStateType } from './group-state-type.js';
30
30
  export { GroupUpdateType } from './group-update-type.js';
31
31
  export { HardwareAccelerationType } from './hardware-acceleration-type.js';
32
+ export { HlsAudioSeekStrategy } from './hls-audio-seek-strategy.js';
32
33
  export { ImageFormat } from './image-format.js';
33
34
  export { ImageOrientation } from './image-orientation.js';
34
35
  export { ImageResolution } from './image-resolution.js';
@@ -78,7 +78,7 @@ export interface MediaSourceInfo {
78
78
  */
79
79
  'Name'?: string | null;
80
80
  /**
81
- * Gets or sets a value indicating whether the media is remote. Differentiate internet url vs local network.
81
+ * Gets or sets a value indicating whether the media is remote. Differentiate internet url vs local network.
82
82
  * @type {boolean}
83
83
  * @memberof MediaSourceInfo
84
84
  */
@@ -9,7 +9,7 @@
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
11
  /**
12
- * Media streaming protocol. Lowercase for backwards compatibility.
12
+ * Media streaming protocol. Lowercase for backwards compatibility.
13
13
  * @export
14
14
  * @enum {string}
15
15
  */
@@ -11,7 +11,7 @@
11
11
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
12
  */
13
13
  /**
14
- * Media streaming protocol. Lowercase for backwards compatibility.
14
+ * Media streaming protocol. Lowercase for backwards compatibility.
15
15
  * @export
16
16
  * @enum {string}
17
17
  */
@@ -199,6 +199,12 @@ export interface MediaStream {
199
199
  * @memberof MediaStream
200
200
  */
201
201
  'LocalizedHearingImpaired'?: string | null;
202
+ /**
203
+ *
204
+ * @type {string}
205
+ * @memberof MediaStream
206
+ */
207
+ 'LocalizedLanguage'?: string | null;
202
208
  /**
203
209
  *
204
210
  * @type {string}
@@ -308,7 +314,7 @@ export interface MediaStream {
308
314
  */
309
315
  'RealFrameRate'?: number | null;
310
316
  /**
311
- * Gets the framerate used as reference. Prefer AverageFrameRate, if that is null or an unrealistic value then fallback to RealFrameRate.
317
+ * Gets the framerate used as reference. Prefer AverageFrameRate, if that is null or an unrealistic value then fallback to RealFrameRate.
312
318
  * @type {number}
313
319
  * @memberof MediaStream
314
320
  */
@@ -21,7 +21,7 @@ export interface MediaUpdateInfoPathDto {
21
21
  */
22
22
  'Path'?: string | null;
23
23
  /**
24
- * Gets or sets media update type. Created, Modified, Deleted.
24
+ * Gets or sets media update type. Created, Modified, Deleted.
25
25
  * @type {string}
26
26
  * @memberof MediaUpdateInfoPathDto
27
27
  */
@@ -136,7 +136,7 @@ export interface NetworkConfiguration {
136
136
  */
137
137
  'EnablePublishedServerUriByRequest'?: boolean;
138
138
  /**
139
- * Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets.
139
+ * Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets.
140
140
  * @type {Array<string>}
141
141
  * @memberof NetworkConfiguration
142
142
  */
@@ -46,7 +46,7 @@ export interface PackageInfo {
46
46
  */
47
47
  'category'?: string;
48
48
  /**
49
- * Gets or sets the guid of the assembly associated with this plugin. This is used to identify the proper item for automatic updates.
49
+ * Gets or sets the guid of the assembly associated with this plugin. This is used to identify the proper item for automatic updates.
50
50
  * @type {string}
51
51
  * @memberof PackageInfo
52
52
  */
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { SessionMessageType } from './session-message-type';
12
12
  /**
13
- * Scheduled tasks info start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms.
13
+ * Scheduled tasks info start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms.
14
14
  * @export
15
15
  * @interface ScheduledTasksInfoStartMessage
16
16
  */
@@ -47,7 +47,7 @@ export interface ServerConfiguration {
47
47
  */
48
48
  'PreviousVersion'?: string | null;
49
49
  /**
50
- * Gets or sets the stringified PreviousVersion to be stored/loaded, because System.Version itself isn\'t xml-serializable.
50
+ * Gets or sets the stringified PreviousVersion to be stored/loaded, because System.Version itself isn\'t xml-serializable.
51
51
  * @type {string}
52
52
  * @memberof ServerConfiguration
53
53
  */
@@ -155,13 +155,13 @@ export interface ServerConfiguration {
155
155
  */
156
156
  'MaxAudiobookResume'?: number;
157
157
  /**
158
- * Gets or sets the threshold in minutes after a inactive session gets closed automatically. If set to 0 the check for inactive sessions gets disabled.
158
+ * Gets or sets the threshold in minutes after a inactive session gets closed automatically. If set to 0 the check for inactive sessions gets disabled.
159
159
  * @type {number}
160
160
  * @memberof ServerConfiguration
161
161
  */
162
162
  'InactiveSessionThreshold'?: number;
163
163
  /**
164
- * Gets or sets the delay in seconds that we will wait after a file system change to try and discover what has been added/removed Some delay is necessary with some items because their creation is not atomic. It involves the creation of several different directories and files.
164
+ * Gets or sets the delay in seconds that we will wait after a file system change to try and discover what has been added/removed Some delay is necessary with some items because their creation is not atomic. It involves the creation of several different directories and files.
165
165
  * @type {number}
166
166
  * @memberof ServerConfiguration
167
167
  */
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { SessionMessageType } from './session-message-type';
12
12
  /**
13
- * Sessions start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms.
13
+ * Sessions start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms.
14
14
  * @export
15
15
  * @interface SessionsStartMessage
16
16
  */
@@ -14,7 +14,7 @@ import type { MediaStreamProtocol } from './media-stream-protocol';
14
14
  import type { ProfileCondition } from './profile-condition';
15
15
  import type { TranscodeSeekInfo } from './transcode-seek-info';
16
16
  /**
17
- * A class for transcoding profile information. Note for client developers: Conditions defined in MediaBrowser.Model.Dlna.CodecProfile has higher priority and can override values defined here.
17
+ * A class for transcoding profile information. Note for client developers: Conditions defined in MediaBrowser.Model.Dlna.CodecProfile has higher priority and can override values defined here.
18
18
  * @export
19
19
  * @interface TranscodingProfile
20
20
  */
@@ -107,8 +107,9 @@ export interface TranscodingProfile {
107
107
  * Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported.
108
108
  * @type {boolean}
109
109
  * @memberof TranscodingProfile
110
+ * @deprecated
110
111
  */
111
- 'BreakOnNonKeyFrames'?: boolean;
112
+ 'BreakOnNonKeyFrames'?: boolean | null;
112
113
  /**
113
114
  * Gets or sets the profile conditions.
114
115
  * @type {Array<ProfileCondition>}
@@ -29,7 +29,7 @@ export interface TrickplayOptions {
29
29
  */
30
30
  'EnableHwEncoding'?: boolean;
31
31
  /**
32
- * Gets or sets a value indicating whether to only extract key frames. Significantly faster, but is not compatible with all decoders and/or video files.
32
+ * Gets or sets a value indicating whether to only extract key frames. Significantly faster, but is not compatible with all decoders and/or video files.
33
33
  * @type {boolean}
34
34
  * @memberof TrickplayOptions
35
35
  */
@@ -29,7 +29,7 @@ export interface UserDto {
29
29
  */
30
30
  'ServerId'?: string | null;
31
31
  /**
32
- * Gets or sets the name of the server. This is not used by the server and is for client-side usage only.
32
+ * Gets or sets the name of the server. This is not used by the server and is for client-side usage only.
33
33
  * @type {string}
34
34
  * @memberof UserDto
35
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jellyfin/sdk",
3
- "version": "0.0.0-unstable.202601090504+commit.550d6dfd3dd0ed979850719466abdb492c199f23",
3
+ "version": "0.0.0-unstable.202601202159+commit.0513e31ff2ad4eccdc5bf999fd077872c16c0e49",
4
4
  "description": "A TypeScript SDK for Jellyfin.",
5
5
  "keywords": [
6
6
  "jellyfin"