diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a3a89d75d..470220ce4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,7 +11,7 @@ koin = "4.0.1" kotest = "5.9.1" kotlin = "2.1.0" kotlin-logging = "3.0.5" -kotlinpoet = "1.18.1" +kotlinpoet = "2.0.0" kotlinx-coroutines = "1.10.1" kotlinx-serialization = "1.7.3" ktor = "2.3.13" diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ActivityLogApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ActivityLogApi.kt index f69a3c3c2..a19340a10 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ActivityLogApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ActivityLogApi.kt @@ -23,8 +23,7 @@ public class ActivityLogApi( /** * Gets activity log entries. * - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param minDate Optional. The minimum date. Format = ISO. * @param hasUserId Optional. Filter log entries if it has user id, or not. @@ -43,8 +42,7 @@ public class ActivityLogApi( put("hasUserId", hasUserId) } val data = null - val response = api.`get`<ActivityLogEntryQueryResult>("/System/ActivityLog/Entries", - pathParameters, queryParameters, data) + val response = api.`get`<ActivityLogEntryQueryResult>("/System/ActivityLog/Entries", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ApiKeyApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ApiKeyApi.kt index dea1e5400..36d8ebc0e 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ApiKeyApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ApiKeyApi.kt @@ -42,8 +42,7 @@ public class ApiKeyApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<AuthenticationInfoQueryResult>("/Auth/Keys", pathParameters, - queryParameters, data) + val response = api.`get`<AuthenticationInfoQueryResult>("/Auth/Keys", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ArtistsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ArtistsApi.kt index 5a87a1cda..b8239eec2 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ArtistsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ArtistsApi.kt @@ -37,51 +37,33 @@ public class ArtistsApi( * Gets all album artists from a given item, folder, or the entire library. * * @param minCommunityRating Optional filter by minimum community rating. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param searchTerm Optional. Search term. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. * @param fields Optional. Specify additional fields of information to return in the output. - * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. - * This allows multiple, comma delimited. - * @param includeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. + * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param filters Optional. Specify additional filters to apply. * @param isFavorite Optional filter by items that are marked as favorite, or not. * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. - * @param genres Optional. If specified, results will be filtered based on genre. This allows - * multiple, pipe delimited. - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows - * multiple, pipe delimited. - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. - * This allows multiple, pipe delimited. - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, - * pipe delimited. - * @param years Optional. If specified, results will be filtered based on production year. This - * allows multiple, comma delimited. + * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. + * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. + * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. + * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. + * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. * @param enableUserData Optional, include user data. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. - * @param person Optional. If specified, results will be filtered to include only those containing - * the specified person. - * @param personIds Optional. If specified, results will be filtered to include only those - * containing the specified person ids. - * @param personTypes Optional. If specified, along with Person, results will be filtered to - * include only those containing the specified person and PersonType. Allows multiple, - * comma-delimited. - * @param studios Optional. If specified, results will be filtered based on studio. This allows - * multiple, pipe delimited. - * @param studioIds Optional. If specified, results will be filtered based on studio id. This - * allows multiple, pipe delimited. + * @param person Optional. If specified, results will be filtered to include only those containing the specified person. + * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person ids. + * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. + * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. * @param userId User id. - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater - * than a given input string. - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input - * string. - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input - * string. + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. * @param sortBy Optional. Specify one or more sort orders, comma delimited. * @param sortOrder Sort Order - Ascending,Descending. * @param enableImages Optional, include image information in output. @@ -157,8 +139,7 @@ public class ArtistsApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Artists/AlbumArtists", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Artists/AlbumArtists", pathParameters, queryParameters, data) return response } @@ -167,8 +148,7 @@ public class ArtistsApi( * * @param request The request parameters */ - public suspend fun getAlbumArtists(request: GetAlbumArtistsRequest = GetAlbumArtistsRequest()): - Response<BaseItemDtoQueryResult> = getAlbumArtists( + public suspend fun getAlbumArtists(request: GetAlbumArtistsRequest = GetAlbumArtistsRequest()): Response<BaseItemDtoQueryResult> = getAlbumArtists( minCommunityRating = request.minCommunityRating, startIndex = request.startIndex, limit = request.limit, @@ -225,51 +205,33 @@ public class ArtistsApi( * Gets all artists from a given item, folder, or the entire library. * * @param minCommunityRating Optional filter by minimum community rating. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param searchTerm Optional. Search term. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. * @param fields Optional. Specify additional fields of information to return in the output. - * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. - * This allows multiple, comma delimited. - * @param includeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. + * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param filters Optional. Specify additional filters to apply. * @param isFavorite Optional filter by items that are marked as favorite, or not. * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. - * @param genres Optional. If specified, results will be filtered based on genre. This allows - * multiple, pipe delimited. - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows - * multiple, pipe delimited. - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. - * This allows multiple, pipe delimited. - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, - * pipe delimited. - * @param years Optional. If specified, results will be filtered based on production year. This - * allows multiple, comma delimited. + * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. + * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. + * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. + * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. + * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. * @param enableUserData Optional, include user data. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. - * @param person Optional. If specified, results will be filtered to include only those containing - * the specified person. - * @param personIds Optional. If specified, results will be filtered to include only those - * containing the specified person ids. - * @param personTypes Optional. If specified, along with Person, results will be filtered to - * include only those containing the specified person and PersonType. Allows multiple, - * comma-delimited. - * @param studios Optional. If specified, results will be filtered based on studio. This allows - * multiple, pipe delimited. - * @param studioIds Optional. If specified, results will be filtered based on studio id. This - * allows multiple, pipe delimited. + * @param person Optional. If specified, results will be filtered to include only those containing the specified person. + * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person ids. + * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. + * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. * @param userId User id. - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater - * than a given input string. - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input - * string. - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input - * string. + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. * @param sortBy Optional. Specify one or more sort orders, comma delimited. * @param sortOrder Sort Order - Ascending,Descending. * @param enableImages Optional, include image information in output. @@ -345,8 +307,7 @@ public class ArtistsApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Artists", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDtoQueryResult>("/Artists", pathParameters, queryParameters, data) return response } @@ -355,8 +316,7 @@ public class ArtistsApi( * * @param request The request parameters */ - public suspend fun getArtists(request: GetArtistsRequest = GetArtistsRequest()): - Response<BaseItemDtoQueryResult> = getArtists( + public suspend fun getArtists(request: GetArtistsRequest = GetArtistsRequest()): Response<BaseItemDtoQueryResult> = getArtists( minCommunityRating = request.minCommunityRating, startIndex = request.startIndex, limit = request.limit, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/AudioApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/AudioApi.kt index b1a7ce039..fa44fed9c 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/AudioApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/AudioApi.kt @@ -37,8 +37,7 @@ public class AudioApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -46,38 +45,27 @@ public class AudioApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -88,14 +76,11 @@ public class AudioApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -210,8 +195,7 @@ public class AudioApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/stream", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/stream", pathParameters, queryParameters, data) return response } @@ -220,8 +204,7 @@ public class AudioApi( * * @param request The request parameters */ - public suspend fun getAudioStream(request: GetAudioStreamRequest): Response<ByteReadChannel> = - getAudioStream( + public suspend fun getAudioStream(request: GetAudioStreamRequest): Response<ByteReadChannel> = getAudioStream( itemId = request.itemId, container = request.container, static = request.static, @@ -278,8 +261,7 @@ public class AudioApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -287,38 +269,27 @@ public class AudioApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -329,14 +300,11 @@ public class AudioApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -458,8 +426,7 @@ public class AudioApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -467,38 +434,27 @@ public class AudioApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -509,14 +465,11 @@ public class AudioApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -630,8 +583,7 @@ public class AudioApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/stream.{container}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/stream.{container}", pathParameters, queryParameters, data) return response } @@ -640,8 +592,7 @@ public class AudioApi( * * @param request The request parameters */ - public suspend fun getAudioStreamByContainer(request: GetAudioStreamByContainerRequest): - Response<ByteReadChannel> = getAudioStreamByContainer( + public suspend fun getAudioStreamByContainer(request: GetAudioStreamByContainerRequest): Response<ByteReadChannel> = getAudioStreamByContainer( itemId = request.itemId, container = request.container, static = request.static, @@ -698,8 +649,7 @@ public class AudioApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -707,38 +657,27 @@ public class AudioApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -749,14 +688,11 @@ public class AudioApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -877,8 +813,7 @@ public class AudioApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -887,38 +822,27 @@ public class AudioApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -929,14 +853,11 @@ public class AudioApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -1053,8 +974,7 @@ public class AudioApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/stream.{container}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/stream.{container}", pathParameters, queryParameters, data) return response } @@ -1064,9 +984,7 @@ public class AudioApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend - fun getAudioStreamByContainerDeprecated(request: GetAudioStreamByContainerDeprecatedRequest): - Response<ByteReadChannel> = getAudioStreamByContainerDeprecated( + public suspend fun getAudioStreamByContainerDeprecated(request: GetAudioStreamByContainerDeprecatedRequest): Response<ByteReadChannel> = getAudioStreamByContainerDeprecated( itemId = request.itemId, container = request.container, static = request.static, @@ -1124,8 +1042,7 @@ public class AudioApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -1134,38 +1051,27 @@ public class AudioApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1176,14 +1082,11 @@ public class AudioApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -1307,8 +1210,7 @@ public class AudioApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -1317,38 +1219,27 @@ public class AudioApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1359,14 +1250,11 @@ public class AudioApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -1484,8 +1372,7 @@ public class AudioApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/stream", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/stream", pathParameters, queryParameters, data) return response } @@ -1495,8 +1382,7 @@ public class AudioApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getAudioStreamDeprecated(request: GetAudioStreamDeprecatedRequest): - Response<ByteReadChannel> = getAudioStreamDeprecated( + public suspend fun getAudioStreamDeprecated(request: GetAudioStreamDeprecatedRequest): Response<ByteReadChannel> = getAudioStreamDeprecated( itemId = request.itemId, container = request.container, static = request.static, @@ -1554,8 +1440,7 @@ public class AudioApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -1564,38 +1449,27 @@ public class AudioApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1606,14 +1480,11 @@ public class AudioApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/BrandingApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/BrandingApi.kt index 992137d80..2eac8eb82 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/BrandingApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/BrandingApi.kt @@ -45,8 +45,7 @@ public class BrandingApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<BrandingOptions>("/Branding/Configuration", pathParameters, - queryParameters, data) + val response = api.`get`<BrandingOptions>("/Branding/Configuration", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ChannelsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ChannelsApi.kt index b4461ad52..54318b9ba 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ChannelsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ChannelsApi.kt @@ -38,8 +38,7 @@ public class ChannelsApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<ChannelFeatures>>("/Channels/Features", pathParameters, - queryParameters, data) + val response = api.`get`<List<ChannelFeatures>>("/Channels/Features", pathParameters, queryParameters, data) return response } @@ -54,8 +53,7 @@ public class ChannelsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ChannelFeatures>("/Channels/{channelId}/Features", pathParameters, - queryParameters, data) + val response = api.`get`<ChannelFeatures>("/Channels/{channelId}/Features", pathParameters, queryParameters, data) return response } @@ -65,14 +63,11 @@ public class ChannelsApi( * @param channelId Channel Id. * @param folderId Optional. Folder Id. * @param userId Optional. User Id. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param sortOrder Optional. Sort Order - Ascending,Descending. * @param filters Optional. Specify additional filters to apply. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, - * AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, - * PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param fields Optional. Specify additional fields of information to return in the output. */ public suspend fun getChannelItems( @@ -100,8 +95,7 @@ public class ChannelsApi( put("fields", fields) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Channels/{channelId}/Items", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Channels/{channelId}/Items", pathParameters, queryParameters, data) return response } @@ -110,8 +104,7 @@ public class ChannelsApi( * * @param request The request parameters */ - public suspend fun getChannelItems(request: GetChannelItemsRequest): - Response<BaseItemDtoQueryResult> = getChannelItems( + public suspend fun getChannelItems(request: GetChannelItemsRequest): Response<BaseItemDtoQueryResult> = getChannelItems( channelId = request.channelId, folderId = request.folderId, userId = request.userId, @@ -127,8 +120,7 @@ public class ChannelsApi( * Gets available channels. * * @param userId User Id to filter by. Use System.Guid.Empty to not filter by user. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param supportsLatestItems Optional. Filter by channels that support getting latest items. * @param supportsMediaDeletion Optional. Filter by channels that support media deletion. @@ -152,8 +144,7 @@ public class ChannelsApi( put("isFavorite", isFavorite) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Channels", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDtoQueryResult>("/Channels", pathParameters, queryParameters, data) return response } @@ -162,8 +153,7 @@ public class ChannelsApi( * * @param request The request parameters */ - public suspend fun getChannels(request: GetChannelsRequest = GetChannelsRequest()): - Response<BaseItemDtoQueryResult> = getChannels( + public suspend fun getChannels(request: GetChannelsRequest = GetChannelsRequest()): Response<BaseItemDtoQueryResult> = getChannels( userId = request.userId, startIndex = request.startIndex, limit = request.limit, @@ -176,8 +166,7 @@ public class ChannelsApi( * Gets latest channel items. * * @param userId Optional. User Id. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param filters Optional. Specify additional filters to apply. * @param fields Optional. Specify additional fields of information to return in the output. @@ -201,8 +190,7 @@ public class ChannelsApi( put("channelIds", channelIds) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Channels/Items/Latest", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Channels/Items/Latest", pathParameters, queryParameters, data) return response } @@ -211,8 +199,7 @@ public class ChannelsApi( * * @param request The request parameters */ - public suspend fun getLatestChannelItems(request: GetLatestChannelItemsRequest = - GetLatestChannelItemsRequest()): Response<BaseItemDtoQueryResult> = getLatestChannelItems( + public suspend fun getLatestChannelItems(request: GetLatestChannelItemsRequest = GetLatestChannelItemsRequest()): Response<BaseItemDtoQueryResult> = getLatestChannelItems( userId = request.userId, startIndex = request.startIndex, limit = request.limit, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ClientLogApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ClientLogApi.kt index 8df94b137..c95a9107d 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ClientLogApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ClientLogApi.kt @@ -22,8 +22,7 @@ public class ClientLogApi( public suspend fun logFile(`data`: String): Response<ClientLogDocumentResponseDto> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<ClientLogDocumentResponseDto>("/ClientLog/Document", pathParameters, - queryParameters, data) + val response = api.post<ClientLogDocumentResponseDto>("/ClientLog/Document", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/CollectionApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/CollectionApi.kt index 76f773f02..ded19c65f 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/CollectionApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/CollectionApi.kt @@ -29,8 +29,7 @@ public class CollectionApi( * @param collectionId The collection id. * @param ids Item ids, comma delimited. */ - public suspend fun addToCollection(collectionId: UUID, ids: Collection<UUID> = emptyList()): - Response<Unit> { + public suspend fun addToCollection(collectionId: UUID, ids: Collection<UUID> = emptyList()): Response<Unit> { val pathParameters = buildMap<String, Any?>(1) { put("collectionId", collectionId) } @@ -38,8 +37,7 @@ public class CollectionApi( put("ids", ids) } val data = null - val response = api.post<Unit>("/Collections/{collectionId}/Items", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Collections/{collectionId}/Items", pathParameters, queryParameters, data) return response } @@ -65,8 +63,7 @@ public class CollectionApi( put("isLocked", isLocked) } val data = null - val response = api.post<CollectionCreationResult>("/Collections", pathParameters, queryParameters, - data) + val response = api.post<CollectionCreationResult>("/Collections", pathParameters, queryParameters, data) return response } @@ -76,8 +73,7 @@ public class CollectionApi( * @param collectionId The collection id. * @param ids Item ids, comma delimited. */ - public suspend fun removeFromCollection(collectionId: UUID, ids: Collection<UUID> = emptyList()): - Response<Unit> { + public suspend fun removeFromCollection(collectionId: UUID, ids: Collection<UUID> = emptyList()): Response<Unit> { val pathParameters = buildMap<String, Any?>(1) { put("collectionId", collectionId) } @@ -85,8 +81,7 @@ public class CollectionApi( put("ids", ids) } val data = null - val response = api.delete<Unit>("/Collections/{collectionId}/Items", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/Collections/{collectionId}/Items", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ConfigurationApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ConfigurationApi.kt index 04a37f0c6..5f5aa2572 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ConfigurationApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ConfigurationApi.kt @@ -29,8 +29,7 @@ public class ConfigurationApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ServerConfiguration>("/System/Configuration", pathParameters, - queryParameters, data) + val response = api.`get`<ServerConfiguration>("/System/Configuration", pathParameters, queryParameters, data) return response } @@ -41,8 +40,7 @@ public class ConfigurationApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<MetadataOptions>("/System/Configuration/MetadataOptions/Default", - pathParameters, queryParameters, data) + val response = api.`get`<MetadataOptions>("/System/Configuration/MetadataOptions/Default", pathParameters, queryParameters, data) return response } @@ -57,8 +55,7 @@ public class ConfigurationApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/System/Configuration/{key}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/System/Configuration/{key}", pathParameters, queryParameters, data) return response } @@ -95,8 +92,7 @@ public class ConfigurationApi( put("key", key) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/System/Configuration/{key}", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/System/Configuration/{key}", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DashboardApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DashboardApi.kt index a154ad6d6..85ecbd4f3 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DashboardApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DashboardApi.kt @@ -24,15 +24,13 @@ public class DashboardApi( * * @param enableInMainMenu Whether to enable in the main menu. */ - public suspend fun getConfigurationPages(enableInMainMenu: Boolean? = null): - Response<List<ConfigurationPageInfo>> { + public suspend fun getConfigurationPages(enableInMainMenu: Boolean? = null): Response<List<ConfigurationPageInfo>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(1) { put("enableInMainMenu", enableInMainMenu) } val data = null - val response = api.`get`<List<ConfigurationPageInfo>>("/web/ConfigurationPages", pathParameters, - queryParameters, data) + val response = api.`get`<List<ConfigurationPageInfo>>("/web/ConfigurationPages", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DevicesApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DevicesApi.kt index 75e45ace8..daf446ddb 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DevicesApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DevicesApi.kt @@ -64,8 +64,7 @@ public class DevicesApi( put("id", id) } val data = null - val response = api.`get`<DeviceOptionsDto>("/Devices/Options", pathParameters, queryParameters, - data) + val response = api.`get`<DeviceOptionsDto>("/Devices/Options", pathParameters, queryParameters, data) return response } @@ -80,8 +79,7 @@ public class DevicesApi( put("userId", userId) } val data = null - val response = api.`get`<DeviceInfoDtoQueryResult>("/Devices", pathParameters, queryParameters, - data) + val response = api.`get`<DeviceInfoDtoQueryResult>("/Devices", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DisplayPreferencesApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DisplayPreferencesApi.kt index 9f33c439f..3ea3e8de8 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DisplayPreferencesApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DisplayPreferencesApi.kt @@ -39,8 +39,7 @@ public class DisplayPreferencesApi( put("client", client) } val data = null - val response = api.`get`<DisplayPreferencesDto>("/DisplayPreferences/{displayPreferencesId}", - pathParameters, queryParameters, data) + val response = api.`get`<DisplayPreferencesDto>("/DisplayPreferences/{displayPreferencesId}", pathParameters, queryParameters, data) return response } @@ -64,8 +63,7 @@ public class DisplayPreferencesApi( put("userId", userId) put("client", client) } - val response = api.post<Unit>("/DisplayPreferences/{displayPreferencesId}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/DisplayPreferences/{displayPreferencesId}", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DynamicHlsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DynamicHlsApi.kt index 64f17ab48..14680d3dc 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DynamicHlsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/DynamicHlsApi.kt @@ -48,12 +48,10 @@ public class DynamicHlsApi( * @param itemId The item id. * @param playlistId The playlist id. * @param segmentId The segment id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. * @param runtimeTicks The position of the requested segment in ticks. * @param actualSegmentLengthTicks The length of the requested segment in ticks. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -61,38 +59,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -106,10 +94,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -233,9 +219,7 @@ public class DynamicHlsApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = - api.`get`<ByteReadChannel>("/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, queryParameters, data) return response } @@ -244,8 +228,7 @@ public class DynamicHlsApi( * * @param request The request parameters */ - public suspend fun getHlsAudioSegment(request: GetHlsAudioSegmentRequest): - Response<ByteReadChannel> = getHlsAudioSegment( + public suspend fun getHlsAudioSegment(request: GetHlsAudioSegmentRequest): Response<ByteReadChannel> = getHlsAudioSegment( itemId = request.itemId, playlistId = request.playlistId, segmentId = request.segmentId, @@ -308,12 +291,10 @@ public class DynamicHlsApi( * @param itemId The item id. * @param playlistId The playlist id. * @param segmentId The segment id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. * @param runtimeTicks The position of the requested segment in ticks. * @param actualSegmentLengthTicks The length of the requested segment in ticks. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -321,38 +302,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -366,10 +337,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -492,8 +461,7 @@ public class DynamicHlsApi( put("streamOptions", streamOptions) put("enableAudioVbrEncoding", enableAudioVbrEncoding) } - return api.createUrl("/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, - queryParameters) + return api.createUrl("/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, queryParameters) } /** @@ -502,12 +470,10 @@ public class DynamicHlsApi( * @param itemId The item id. * @param playlistId The playlist id. * @param segmentId The segment id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. * @param runtimeTicks The position of the requested segment in ticks. * @param actualSegmentLengthTicks The length of the requested segment in ticks. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -516,38 +482,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -561,10 +517,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -691,9 +645,7 @@ public class DynamicHlsApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = - api.`get`<ByteReadChannel>("/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, queryParameters, data) return response } @@ -703,8 +655,7 @@ public class DynamicHlsApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getHlsAudioSegmentDeprecated(request: GetHlsAudioSegmentDeprecatedRequest): - Response<ByteReadChannel> = getHlsAudioSegmentDeprecated( + public suspend fun getHlsAudioSegmentDeprecated(request: GetHlsAudioSegmentDeprecatedRequest): Response<ByteReadChannel> = getHlsAudioSegmentDeprecated( itemId = request.itemId, playlistId = request.playlistId, segmentId = request.segmentId, @@ -768,12 +719,10 @@ public class DynamicHlsApi( * @param itemId The item id. * @param playlistId The playlist id. * @param segmentId The segment id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. * @param runtimeTicks The position of the requested segment in ticks. * @param actualSegmentLengthTicks The length of the requested segment in ticks. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -782,38 +731,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -827,10 +766,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -956,8 +893,7 @@ public class DynamicHlsApi( put("streamOptions", streamOptions) put("enableAudioVbrEncoding", enableAudioVbrEncoding) } - return api.createUrl("/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, - queryParameters) + return api.createUrl("/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, queryParameters) } /** @@ -966,12 +902,10 @@ public class DynamicHlsApi( * @param itemId The item id. * @param playlistId The playlist id. * @param segmentId The segment id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. * @param runtimeTicks The position of the requested segment in ticks. * @param actualSegmentLengthTicks The length of the requested segment in ticks. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -979,39 +913,29 @@ public class DynamicHlsApi( * @param segmentLength The desired segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1025,10 +949,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -1157,9 +1079,7 @@ public class DynamicHlsApi( put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } val data = null - val response = - api.`get`<ByteReadChannel>("/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, queryParameters, data) return response } @@ -1168,8 +1088,7 @@ public class DynamicHlsApi( * * @param request The request parameters */ - public suspend fun getHlsVideoSegment(request: GetHlsVideoSegmentRequest): - Response<ByteReadChannel> = getHlsVideoSegment( + public suspend fun getHlsVideoSegment(request: GetHlsVideoSegmentRequest): Response<ByteReadChannel> = getHlsVideoSegment( itemId = request.itemId, playlistId = request.playlistId, segmentId = request.segmentId, @@ -1234,12 +1153,10 @@ public class DynamicHlsApi( * @param itemId The item id. * @param playlistId The playlist id. * @param segmentId The segment id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. * @param runtimeTicks The position of the requested segment in ticks. * @param actualSegmentLengthTicks The length of the requested segment in ticks. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -1247,39 +1164,29 @@ public class DynamicHlsApi( * @param segmentLength The desired segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1293,10 +1200,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -1424,8 +1329,7 @@ public class DynamicHlsApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } - return api.createUrl("/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, - queryParameters) + return api.createUrl("/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, queryParameters) } /** @@ -1434,12 +1338,10 @@ public class DynamicHlsApi( * @param itemId The item id. * @param playlistId The playlist id. * @param segmentId The segment id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. * @param runtimeTicks The position of the requested segment in ticks. * @param actualSegmentLengthTicks The length of the requested segment in ticks. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -1448,39 +1350,29 @@ public class DynamicHlsApi( * @param segmentLength The desired segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1494,10 +1386,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -1629,9 +1519,7 @@ public class DynamicHlsApi( put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } val data = null - val response = - api.`get`<ByteReadChannel>("/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, queryParameters, data) return response } @@ -1641,8 +1529,7 @@ public class DynamicHlsApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getHlsVideoSegmentDeprecated(request: GetHlsVideoSegmentDeprecatedRequest): - Response<ByteReadChannel> = getHlsVideoSegmentDeprecated( + public suspend fun getHlsVideoSegmentDeprecated(request: GetHlsVideoSegmentDeprecatedRequest): Response<ByteReadChannel> = getHlsVideoSegmentDeprecated( itemId = request.itemId, playlistId = request.playlistId, segmentId = request.segmentId, @@ -1708,12 +1595,10 @@ public class DynamicHlsApi( * @param itemId The item id. * @param playlistId The playlist id. * @param segmentId The segment id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. * @param runtimeTicks The position of the requested segment in ticks. * @param actualSegmentLengthTicks The length of the requested segment in ticks. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -1722,39 +1607,29 @@ public class DynamicHlsApi( * @param segmentLength The desired segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1768,10 +1643,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -1902,8 +1775,7 @@ public class DynamicHlsApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } - return api.createUrl("/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, - queryParameters) + return api.createUrl("/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}", pathParameters, queryParameters) } /** @@ -1911,8 +1783,7 @@ public class DynamicHlsApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -1920,37 +1791,27 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1964,10 +1825,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param maxWidth Optional. The max width. @@ -2094,8 +1953,7 @@ public class DynamicHlsApi( put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/live.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/live.m3u8", pathParameters, queryParameters, data) return response } @@ -2104,8 +1962,7 @@ public class DynamicHlsApi( * * @param request The request parameters */ - public suspend fun getLiveHlsStream(request: GetLiveHlsStreamRequest): Response<ByteReadChannel> = - getLiveHlsStream( + public suspend fun getLiveHlsStream(request: GetLiveHlsStreamRequest): Response<ByteReadChannel> = getLiveHlsStream( itemId = request.itemId, container = request.container, static = request.static, @@ -2166,8 +2023,7 @@ public class DynamicHlsApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -2175,37 +2031,27 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -2219,10 +2065,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param maxWidth Optional. The max width. @@ -2356,8 +2200,7 @@ public class DynamicHlsApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -2366,37 +2209,27 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -2410,10 +2243,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param maxWidth Optional. The max width. @@ -2543,8 +2374,7 @@ public class DynamicHlsApi( put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/live.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/live.m3u8", pathParameters, queryParameters, data) return response } @@ -2554,8 +2384,7 @@ public class DynamicHlsApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getLiveHlsStreamDeprecated(request: GetLiveHlsStreamDeprecatedRequest): - Response<ByteReadChannel> = getLiveHlsStreamDeprecated( + public suspend fun getLiveHlsStreamDeprecated(request: GetLiveHlsStreamDeprecatedRequest): Response<ByteReadChannel> = getLiveHlsStreamDeprecated( itemId = request.itemId, container = request.container, static = request.static, @@ -2617,8 +2446,7 @@ public class DynamicHlsApi( * * @param itemId The item id. * @param container The audio container. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -2627,37 +2455,27 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -2671,10 +2489,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param maxWidth Optional. The max width. @@ -2810,8 +2626,7 @@ public class DynamicHlsApi( * Gets an audio hls playlist stream. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -2819,38 +2634,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -2864,10 +2669,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. @@ -2984,8 +2787,7 @@ public class DynamicHlsApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/master.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/master.m3u8", pathParameters, queryParameters, data) return response } @@ -2994,8 +2796,7 @@ public class DynamicHlsApi( * * @param request The request parameters */ - public suspend fun getMasterHlsAudioPlaylist(request: GetMasterHlsAudioPlaylistRequest): - Response<ByteReadChannel> = getMasterHlsAudioPlaylist( + public suspend fun getMasterHlsAudioPlaylist(request: GetMasterHlsAudioPlaylistRequest): Response<ByteReadChannel> = getMasterHlsAudioPlaylist( itemId = request.itemId, static = request.static, params = request.params, @@ -3052,8 +2853,7 @@ public class DynamicHlsApi( * Gets an audio hls playlist stream. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -3061,38 +2861,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -3106,10 +2896,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. @@ -3232,8 +3020,7 @@ public class DynamicHlsApi( * Gets an audio hls playlist stream. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -3242,38 +3029,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -3287,10 +3064,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. @@ -3410,8 +3185,7 @@ public class DynamicHlsApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/master.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/master.m3u8", pathParameters, queryParameters, data) return response } @@ -3421,9 +3195,7 @@ public class DynamicHlsApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend - fun getMasterHlsAudioPlaylistDeprecated(request: GetMasterHlsAudioPlaylistDeprecatedRequest): - Response<ByteReadChannel> = getMasterHlsAudioPlaylistDeprecated( + public suspend fun getMasterHlsAudioPlaylistDeprecated(request: GetMasterHlsAudioPlaylistDeprecatedRequest): Response<ByteReadChannel> = getMasterHlsAudioPlaylistDeprecated( itemId = request.itemId, static = request.static, params = request.params, @@ -3481,8 +3253,7 @@ public class DynamicHlsApi( * Gets an audio hls playlist stream. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -3491,38 +3262,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -3536,10 +3297,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. @@ -3665,8 +3424,7 @@ public class DynamicHlsApi( * Gets a video hls playlist stream. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -3674,39 +3432,29 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -3720,10 +3468,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. @@ -3848,8 +3594,7 @@ public class DynamicHlsApi( put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/master.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/master.m3u8", pathParameters, queryParameters, data) return response } @@ -3858,8 +3603,7 @@ public class DynamicHlsApi( * * @param request The request parameters */ - public suspend fun getMasterHlsVideoPlaylist(request: GetMasterHlsVideoPlaylistRequest): - Response<ByteReadChannel> = getMasterHlsVideoPlaylist( + public suspend fun getMasterHlsVideoPlaylist(request: GetMasterHlsVideoPlaylistRequest): Response<ByteReadChannel> = getMasterHlsVideoPlaylist( itemId = request.itemId, static = request.static, params = request.params, @@ -3919,8 +3663,7 @@ public class DynamicHlsApi( * Gets a video hls playlist stream. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -3928,39 +3671,29 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -3974,10 +3707,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. @@ -4108,8 +3839,7 @@ public class DynamicHlsApi( * Gets a video hls playlist stream. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -4118,39 +3848,29 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -4164,10 +3884,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. @@ -4295,8 +4013,7 @@ public class DynamicHlsApi( put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/master.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/master.m3u8", pathParameters, queryParameters, data) return response } @@ -4306,9 +4023,7 @@ public class DynamicHlsApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend - fun getMasterHlsVideoPlaylistDeprecated(request: GetMasterHlsVideoPlaylistDeprecatedRequest): - Response<ByteReadChannel> = getMasterHlsVideoPlaylistDeprecated( + public suspend fun getMasterHlsVideoPlaylistDeprecated(request: GetMasterHlsVideoPlaylistDeprecatedRequest): Response<ByteReadChannel> = getMasterHlsVideoPlaylistDeprecated( itemId = request.itemId, static = request.static, params = request.params, @@ -4369,8 +4084,7 @@ public class DynamicHlsApi( * Gets a video hls playlist stream. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -4379,39 +4093,29 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -4425,10 +4129,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. @@ -4562,8 +4264,7 @@ public class DynamicHlsApi( * Gets an audio stream using HTTP live streaming. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -4571,38 +4272,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -4616,10 +4307,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -4733,8 +4422,7 @@ public class DynamicHlsApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/main.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/main.m3u8", pathParameters, queryParameters, data) return response } @@ -4743,8 +4431,7 @@ public class DynamicHlsApi( * * @param request The request parameters */ - public suspend fun getVariantHlsAudioPlaylist(request: GetVariantHlsAudioPlaylistRequest): - Response<ByteReadChannel> = getVariantHlsAudioPlaylist( + public suspend fun getVariantHlsAudioPlaylist(request: GetVariantHlsAudioPlaylistRequest): Response<ByteReadChannel> = getVariantHlsAudioPlaylist( itemId = request.itemId, static = request.static, params = request.params, @@ -4800,8 +4487,7 @@ public class DynamicHlsApi( * Gets an audio stream using HTTP live streaming. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -4809,38 +4495,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -4854,10 +4530,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -4977,8 +4651,7 @@ public class DynamicHlsApi( * Gets an audio stream using HTTP live streaming. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -4987,38 +4660,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -5032,10 +4695,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -5152,8 +4813,7 @@ public class DynamicHlsApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/main.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/main.m3u8", pathParameters, queryParameters, data) return response } @@ -5163,9 +4823,7 @@ public class DynamicHlsApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend - fun getVariantHlsAudioPlaylistDeprecated(request: GetVariantHlsAudioPlaylistDeprecatedRequest): - Response<ByteReadChannel> = getVariantHlsAudioPlaylistDeprecated( + public suspend fun getVariantHlsAudioPlaylistDeprecated(request: GetVariantHlsAudioPlaylistDeprecatedRequest): Response<ByteReadChannel> = getVariantHlsAudioPlaylistDeprecated( itemId = request.itemId, static = request.static, params = request.params, @@ -5222,8 +4880,7 @@ public class DynamicHlsApi( * Gets an audio stream using HTTP live streaming. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -5232,38 +4889,28 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -5277,10 +4924,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -5403,8 +5048,7 @@ public class DynamicHlsApi( * Gets a video stream using HTTP live streaming. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -5412,39 +5056,29 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -5458,10 +5092,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -5580,8 +5212,7 @@ public class DynamicHlsApi( put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/main.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/main.m3u8", pathParameters, queryParameters, data) return response } @@ -5590,8 +5221,7 @@ public class DynamicHlsApi( * * @param request The request parameters */ - public suspend fun getVariantHlsVideoPlaylist(request: GetVariantHlsVideoPlaylistRequest): - Response<ByteReadChannel> = getVariantHlsVideoPlaylist( + public suspend fun getVariantHlsVideoPlaylist(request: GetVariantHlsVideoPlaylistRequest): Response<ByteReadChannel> = getVariantHlsVideoPlaylist( itemId = request.itemId, static = request.static, params = request.params, @@ -5649,8 +5279,7 @@ public class DynamicHlsApi( * Gets a video stream using HTTP live streaming. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -5658,39 +5287,29 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -5704,10 +5323,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -5832,8 +5449,7 @@ public class DynamicHlsApi( * Gets a video stream using HTTP live streaming. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -5842,39 +5458,29 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -5888,10 +5494,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -6013,8 +5617,7 @@ public class DynamicHlsApi( put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/main.m3u8", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/main.m3u8", pathParameters, queryParameters, data) return response } @@ -6024,9 +5627,7 @@ public class DynamicHlsApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend - fun getVariantHlsVideoPlaylistDeprecated(request: GetVariantHlsVideoPlaylistDeprecatedRequest): - Response<ByteReadChannel> = getVariantHlsVideoPlaylistDeprecated( + public suspend fun getVariantHlsVideoPlaylistDeprecated(request: GetVariantHlsVideoPlaylistDeprecatedRequest): Response<ByteReadChannel> = getVariantHlsVideoPlaylistDeprecated( itemId = request.itemId, static = request.static, params = request.params, @@ -6085,8 +5686,7 @@ public class DynamicHlsApi( * Gets a video stream using HTTP live streaming. * * @param itemId The item id. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -6095,39 +5695,29 @@ public class DynamicHlsApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -6141,10 +5731,8 @@ public class DynamicHlsApi( * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/EnvironmentApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/EnvironmentApi.kt index 806497a47..8a6529e19 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/EnvironmentApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/EnvironmentApi.kt @@ -31,8 +31,7 @@ public class EnvironmentApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<DefaultDirectoryBrowserInfoDto>("/Environment/DefaultDirectoryBrowser", - pathParameters, queryParameters, data) + val response = api.`get`<DefaultDirectoryBrowserInfoDto>("/Environment/DefaultDirectoryBrowser", pathParameters, queryParameters, data) return response } @@ -41,8 +40,7 @@ public class EnvironmentApi( * * @param path The path. * @param includeFiles An optional filter to include or exclude files from the results. true/false. - * @param includeDirectories An optional filter to include or exclude folders from the results. - * true/false. + * @param includeDirectories An optional filter to include or exclude folders from the results. true/false. */ public suspend fun getDirectoryContents( path: String, @@ -56,8 +54,7 @@ public class EnvironmentApi( put("includeDirectories", includeDirectories) } val data = null - val response = api.`get`<List<FileSystemEntryInfo>>("/Environment/DirectoryContents", - pathParameters, queryParameters, data) + val response = api.`get`<List<FileSystemEntryInfo>>("/Environment/DirectoryContents", pathParameters, queryParameters, data) return response } @@ -68,8 +65,7 @@ public class EnvironmentApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<FileSystemEntryInfo>>("/Environment/Drives", pathParameters, - queryParameters, data) + val response = api.`get`<List<FileSystemEntryInfo>>("/Environment/Drives", pathParameters, queryParameters, data) return response } @@ -81,8 +77,7 @@ public class EnvironmentApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<FileSystemEntryInfo>>("/Environment/NetworkShares", pathParameters, - queryParameters, data) + val response = api.`get`<List<FileSystemEntryInfo>>("/Environment/NetworkShares", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/FilterApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/FilterApi.kt index d23bef2af..3b89d37ad 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/FilterApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/FilterApi.kt @@ -29,10 +29,8 @@ public class FilterApi( * Gets query filters. * * @param userId Optional. User id. - * @param parentId Optional. Specify this to localize the search to a specific item or folder. Omit - * to use the root. - * @param includeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. + * @param parentId Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. + * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param isAiring Optional. Is item airing. * @param isMovie Optional. Is item movie. * @param isSports Optional. Is item sports. @@ -76,8 +74,7 @@ public class FilterApi( * * @param request The request parameters */ - public suspend fun getQueryFilters(request: GetQueryFiltersRequest = GetQueryFiltersRequest()): - Response<QueryFilters> = getQueryFilters( + public suspend fun getQueryFilters(request: GetQueryFiltersRequest = GetQueryFiltersRequest()): Response<QueryFilters> = getQueryFilters( userId = request.userId, parentId = request.parentId, includeItemTypes = request.includeItemTypes, @@ -95,8 +92,7 @@ public class FilterApi( * * @param userId Optional. User id. * @param parentId Optional. Parent id. - * @param includeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. */ public suspend fun getQueryFiltersLegacy( @@ -113,8 +109,7 @@ public class FilterApi( put("mediaTypes", mediaTypes) } val data = null - val response = api.`get`<QueryFiltersLegacy>("/Items/Filters", pathParameters, queryParameters, - data) + val response = api.`get`<QueryFiltersLegacy>("/Items/Filters", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/GenresApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/GenresApi.kt index bfe4f1350..0ca5b8c8b 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/GenresApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/GenresApi.kt @@ -43,35 +43,27 @@ public class GenresApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDto>("/Genres/{genreName}", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDto>("/Genres/{genreName}", pathParameters, queryParameters, data) return response } /** * Gets all genres from a given item, folder, or the entire library. * - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param searchTerm The search term. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. * @param fields Optional. Specify additional fields of information to return in the output. - * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. - * This allows multiple, comma delimited. - * @param includeItemTypes Optional. If specified, results will be filtered in based on item type. - * This allows multiple, comma delimited. + * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited. * @param isFavorite Optional filter by items that are marked as favorite, or not. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. * @param userId User id. - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater - * than a given input string. - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input - * string. - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input - * string. + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. * @param sortBy Optional. Specify one or more sort orders, comma delimited. * @param sortOrder Sort Order - Ascending,Descending. * @param enableImages Optional, include image information in output. @@ -128,8 +120,7 @@ public class GenresApi( * * @param request The request parameters */ - public suspend fun getGenres(request: GetGenresRequest = GetGenresRequest()): - Response<BaseItemDtoQueryResult> = getGenres( + public suspend fun getGenres(request: GetGenresRequest = GetGenresRequest()): Response<BaseItemDtoQueryResult> = getGenres( startIndex = request.startIndex, limit = request.limit, searchTerm = request.searchTerm, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/HlsSegmentApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/HlsSegmentApi.kt index c4485cf59..7cb1b5388 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/HlsSegmentApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/HlsSegmentApi.kt @@ -25,16 +25,14 @@ public class HlsSegmentApi( * @param itemId The item id. * @param segmentId The segment id. */ - public suspend fun getHlsAudioSegmentLegacyAac(itemId: String, segmentId: String): - Response<ByteReadChannel> { + public suspend fun getHlsAudioSegmentLegacyAac(itemId: String, segmentId: String): Response<ByteReadChannel> { val pathParameters = buildMap<String, Any?>(2) { put("itemId", itemId) put("segmentId", segmentId) } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/hls/{segmentId}/stream.aac", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/hls/{segmentId}/stream.aac", pathParameters, queryParameters, data) return response } @@ -50,8 +48,7 @@ public class HlsSegmentApi( put("segmentId", segmentId) } val queryParameters = emptyMap<String, Any?>() - return api.createUrl("/Audio/{itemId}/hls/{segmentId}/stream.aac", pathParameters, - queryParameters) + return api.createUrl("/Audio/{itemId}/hls/{segmentId}/stream.aac", pathParameters, queryParameters) } /** @@ -60,16 +57,14 @@ public class HlsSegmentApi( * @param itemId The item id. * @param segmentId The segment id. */ - public suspend fun getHlsAudioSegmentLegacyMp3(itemId: String, segmentId: String): - Response<ByteReadChannel> { + public suspend fun getHlsAudioSegmentLegacyMp3(itemId: String, segmentId: String): Response<ByteReadChannel> { val pathParameters = buildMap<String, Any?>(2) { put("itemId", itemId) put("segmentId", segmentId) } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/hls/{segmentId}/stream.mp3", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/hls/{segmentId}/stream.mp3", pathParameters, queryParameters, data) return response } @@ -85,8 +80,7 @@ public class HlsSegmentApi( put("segmentId", segmentId) } val queryParameters = emptyMap<String, Any?>() - return api.createUrl("/Audio/{itemId}/hls/{segmentId}/stream.mp3", pathParameters, - queryParameters) + return api.createUrl("/Audio/{itemId}/hls/{segmentId}/stream.mp3", pathParameters, queryParameters) } /** @@ -95,16 +89,14 @@ public class HlsSegmentApi( * @param itemId The video id. * @param playlistId The playlist id. */ - public suspend fun getHlsPlaylistLegacy(itemId: String, playlistId: String): - Response<ByteReadChannel> { + public suspend fun getHlsPlaylistLegacy(itemId: String, playlistId: String): Response<ByteReadChannel> { val pathParameters = buildMap<String, Any?>(2) { put("itemId", itemId) put("playlistId", playlistId) } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/hls/{playlistId}/stream.m3u8", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/hls/{playlistId}/stream.m3u8", pathParameters, queryParameters, data) return response } @@ -120,8 +112,7 @@ public class HlsSegmentApi( put("playlistId", playlistId) } val queryParameters = emptyMap<String, Any?>() - return api.createUrl("/Videos/{itemId}/hls/{playlistId}/stream.m3u8", pathParameters, - queryParameters) + return api.createUrl("/Videos/{itemId}/hls/{playlistId}/stream.m3u8", pathParameters, queryParameters) } /** @@ -146,9 +137,7 @@ public class HlsSegmentApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = - api.`get`<ByteReadChannel>("/Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}", pathParameters, queryParameters, data) return response } @@ -173,15 +162,13 @@ public class HlsSegmentApi( put("segmentContainer", segmentContainer) } val queryParameters = emptyMap<String, Any?>() - return api.createUrl("/Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}", - pathParameters, queryParameters) + return api.createUrl("/Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}", pathParameters, queryParameters) } /** * Stops an active encoding. * - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param playSessionId The play session id. */ public suspend fun stopEncodingProcess(deviceId: String, playSessionId: String): Response<Unit> { diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ImageApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ImageApi.kt index b0577ba7b..caf8aede6 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ImageApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ImageApi.kt @@ -74,8 +74,7 @@ public class ImageApi( put("imageIndex", imageIndex) } val data = null - val response = api.delete<Unit>("/Items/{itemId}/Images/{imageType}", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/Items/{itemId}/Images/{imageType}", pathParameters, queryParameters, data) return response } @@ -98,8 +97,7 @@ public class ImageApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/Items/{itemId}/Images/{imageType}/{imageIndex}", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/Items/{itemId}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters, data) return response } @@ -124,8 +122,7 @@ public class ImageApi( * @param name Artist name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -133,8 +130,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -182,8 +178,7 @@ public class ImageApi( put("foregroundLayer", foregroundLayer) } val data = null - val response = api.`get`<ByteReadChannel>("/Artists/{name}/Images/{imageType}/{imageIndex}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Artists/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters, data) return response } @@ -192,8 +187,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getArtistImage(request: GetArtistImageRequest): Response<ByteReadChannel> = - getArtistImage( + public suspend fun getArtistImage(request: GetArtistImageRequest): Response<ByteReadChannel> = getArtistImage( name = request.name, imageType = request.imageType, imageIndex = request.imageIndex, @@ -219,8 +213,7 @@ public class ImageApi( * @param name Artist name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -228,8 +221,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -276,8 +268,7 @@ public class ImageApi( put("backgroundColor", backgroundColor) put("foregroundLayer", foregroundLayer) } - return api.createUrl("/Artists/{name}/Images/{imageType}/{imageIndex}", pathParameters, - queryParameters) + return api.createUrl("/Artists/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters) } /** @@ -285,8 +276,7 @@ public class ImageApi( * * @param name Genre name. * @param imageType Image type. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -294,8 +284,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -344,8 +333,7 @@ public class ImageApi( put("imageIndex", imageIndex) } val data = null - val response = api.`get`<ByteReadChannel>("/Genres/{name}/Images/{imageType}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Genres/{name}/Images/{imageType}", pathParameters, queryParameters, data) return response } @@ -354,8 +342,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getGenreImage(request: GetGenreImageRequest): Response<ByteReadChannel> = - getGenreImage( + public suspend fun getGenreImage(request: GetGenreImageRequest): Response<ByteReadChannel> = getGenreImage( name = request.name, imageType = request.imageType, tag = request.tag, @@ -380,8 +367,7 @@ public class ImageApi( * * @param name Genre name. * @param imageType Image type. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -389,8 +375,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -447,8 +432,7 @@ public class ImageApi( * @param name Genre name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -456,8 +440,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -505,8 +488,7 @@ public class ImageApi( put("foregroundLayer", foregroundLayer) } val data = null - val response = api.`get`<ByteReadChannel>("/Genres/{name}/Images/{imageType}/{imageIndex}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Genres/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters, data) return response } @@ -515,8 +497,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getGenreImageByIndex(request: GetGenreImageByIndexRequest): - Response<ByteReadChannel> = getGenreImageByIndex( + public suspend fun getGenreImageByIndex(request: GetGenreImageByIndexRequest): Response<ByteReadChannel> = getGenreImageByIndex( name = request.name, imageType = request.imageType, imageIndex = request.imageIndex, @@ -542,8 +523,7 @@ public class ImageApi( * @param name Genre name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -551,8 +531,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -599,8 +578,7 @@ public class ImageApi( put("backgroundColor", backgroundColor) put("foregroundLayer", foregroundLayer) } - return api.createUrl("/Genres/{name}/Images/{imageType}/{imageIndex}", pathParameters, - queryParameters) + return api.createUrl("/Genres/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters) } /** @@ -612,12 +590,10 @@ public class ImageApi( * @param maxHeight The maximum image height to return. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. * @param percentPlayed Optional. Percent to render for the percent played overlay. * @param unplayedCount Optional. Unplayed count overlay to render. @@ -667,8 +643,7 @@ public class ImageApi( put("imageIndex", imageIndex) } val data = null - val response = api.`get`<ByteReadChannel>("/Items/{itemId}/Images/{imageType}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Items/{itemId}/Images/{imageType}", pathParameters, queryParameters, data) return response } @@ -677,8 +652,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getItemImage(request: GetItemImageRequest): Response<ByteReadChannel> = - getItemImage( + public suspend fun getItemImage(request: GetItemImageRequest): Response<ByteReadChannel> = getItemImage( itemId = request.itemId, imageType = request.imageType, maxWidth = request.maxWidth, @@ -707,12 +681,10 @@ public class ImageApi( * @param maxHeight The maximum image height to return. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. * @param percentPlayed Optional. Percent to render for the percent played overlay. * @param unplayedCount Optional. Unplayed count overlay to render. @@ -771,16 +743,14 @@ public class ImageApi( * @param imageType Image type. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param percentPlayed Optional. Percent to render for the percent played overlay. * @param unplayedCount Optional. Unplayed count overlay to render. * @param imageIndex Image index. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -828,9 +798,7 @@ public class ImageApi( put("foregroundLayer", foregroundLayer) } val data = null - val response = - api.`get`<ByteReadChannel>("/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}", pathParameters, queryParameters, data) return response } @@ -839,8 +807,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getItemImage2(request: GetItemImage2Request): Response<ByteReadChannel> = - getItemImage2( + public suspend fun getItemImage2(request: GetItemImage2Request): Response<ByteReadChannel> = getItemImage2( itemId = request.itemId, imageType = request.imageType, maxWidth = request.maxWidth, @@ -867,16 +834,14 @@ public class ImageApi( * @param imageType Image type. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param percentPlayed Optional. Percent to render for the percent played overlay. * @param unplayedCount Optional. Unplayed count overlay to render. * @param imageIndex Image index. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -923,8 +888,7 @@ public class ImageApi( put("backgroundColor", backgroundColor) put("foregroundLayer", foregroundLayer) } - return api.createUrl("/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}", - pathParameters, queryParameters) + return api.createUrl("/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}", pathParameters, queryParameters) } /** @@ -937,12 +901,10 @@ public class ImageApi( * @param maxHeight The maximum image height to return. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. * @param percentPlayed Optional. Percent to render for the percent played overlay. * @param unplayedCount Optional. Unplayed count overlay to render. @@ -991,8 +953,7 @@ public class ImageApi( put("foregroundLayer", foregroundLayer) } val data = null - val response = api.`get`<ByteReadChannel>("/Items/{itemId}/Images/{imageType}/{imageIndex}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Items/{itemId}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters, data) return response } @@ -1001,8 +962,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getItemImageByIndex(request: GetItemImageByIndexRequest): - Response<ByteReadChannel> = getItemImageByIndex( + public suspend fun getItemImageByIndex(request: GetItemImageByIndexRequest): Response<ByteReadChannel> = getItemImageByIndex( itemId = request.itemId, imageType = request.imageType, imageIndex = request.imageIndex, @@ -1032,12 +992,10 @@ public class ImageApi( * @param maxHeight The maximum image height to return. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. * @param percentPlayed Optional. Percent to render for the percent played overlay. * @param unplayedCount Optional. Unplayed count overlay to render. @@ -1085,8 +1043,7 @@ public class ImageApi( put("backgroundColor", backgroundColor) put("foregroundLayer", foregroundLayer) } - return api.createUrl("/Items/{itemId}/Images/{imageType}/{imageIndex}", pathParameters, - queryParameters) + return api.createUrl("/Items/{itemId}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters) } /** @@ -1100,8 +1057,7 @@ public class ImageApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<ImageInfo>>("/Items/{itemId}/Images", pathParameters, - queryParameters, data) + val response = api.`get`<List<ImageInfo>>("/Items/{itemId}/Images", pathParameters, queryParameters, data) return response } @@ -1110,8 +1066,7 @@ public class ImageApi( * * @param name Music genre name. * @param imageType Image type. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1119,8 +1074,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1169,8 +1123,7 @@ public class ImageApi( put("imageIndex", imageIndex) } val data = null - val response = api.`get`<ByteReadChannel>("/MusicGenres/{name}/Images/{imageType}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/MusicGenres/{name}/Images/{imageType}", pathParameters, queryParameters, data) return response } @@ -1179,8 +1132,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getMusicGenreImage(request: GetMusicGenreImageRequest): - Response<ByteReadChannel> = getMusicGenreImage( + public suspend fun getMusicGenreImage(request: GetMusicGenreImageRequest): Response<ByteReadChannel> = getMusicGenreImage( name = request.name, imageType = request.imageType, tag = request.tag, @@ -1205,8 +1157,7 @@ public class ImageApi( * * @param name Music genre name. * @param imageType Image type. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1214,8 +1165,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1272,8 +1222,7 @@ public class ImageApi( * @param name Music genre name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1281,8 +1230,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1330,8 +1278,7 @@ public class ImageApi( put("foregroundLayer", foregroundLayer) } val data = null - val response = api.`get`<ByteReadChannel>("/MusicGenres/{name}/Images/{imageType}/{imageIndex}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/MusicGenres/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters, data) return response } @@ -1340,8 +1287,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getMusicGenreImageByIndex(request: GetMusicGenreImageByIndexRequest): - Response<ByteReadChannel> = getMusicGenreImageByIndex( + public suspend fun getMusicGenreImageByIndex(request: GetMusicGenreImageByIndexRequest): Response<ByteReadChannel> = getMusicGenreImageByIndex( name = request.name, imageType = request.imageType, imageIndex = request.imageIndex, @@ -1367,8 +1313,7 @@ public class ImageApi( * @param name Music genre name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1376,8 +1321,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1424,8 +1368,7 @@ public class ImageApi( put("backgroundColor", backgroundColor) put("foregroundLayer", foregroundLayer) } - return api.createUrl("/MusicGenres/{name}/Images/{imageType}/{imageIndex}", pathParameters, - queryParameters) + return api.createUrl("/MusicGenres/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters) } /** @@ -1433,8 +1376,7 @@ public class ImageApi( * * @param name Person name. * @param imageType Image type. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1442,8 +1384,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1492,8 +1433,7 @@ public class ImageApi( put("imageIndex", imageIndex) } val data = null - val response = api.`get`<ByteReadChannel>("/Persons/{name}/Images/{imageType}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Persons/{name}/Images/{imageType}", pathParameters, queryParameters, data) return response } @@ -1502,8 +1442,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getPersonImage(request: GetPersonImageRequest): Response<ByteReadChannel> = - getPersonImage( + public suspend fun getPersonImage(request: GetPersonImageRequest): Response<ByteReadChannel> = getPersonImage( name = request.name, imageType = request.imageType, tag = request.tag, @@ -1528,8 +1467,7 @@ public class ImageApi( * * @param name Person name. * @param imageType Image type. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1537,8 +1475,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1595,8 +1532,7 @@ public class ImageApi( * @param name Person name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1604,8 +1540,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1653,8 +1588,7 @@ public class ImageApi( put("foregroundLayer", foregroundLayer) } val data = null - val response = api.`get`<ByteReadChannel>("/Persons/{name}/Images/{imageType}/{imageIndex}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Persons/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters, data) return response } @@ -1663,8 +1597,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getPersonImageByIndex(request: GetPersonImageByIndexRequest): - Response<ByteReadChannel> = getPersonImageByIndex( + public suspend fun getPersonImageByIndex(request: GetPersonImageByIndexRequest): Response<ByteReadChannel> = getPersonImageByIndex( name = request.name, imageType = request.imageType, imageIndex = request.imageIndex, @@ -1690,8 +1623,7 @@ public class ImageApi( * @param name Person name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1699,8 +1631,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1747,8 +1678,7 @@ public class ImageApi( put("backgroundColor", backgroundColor) put("foregroundLayer", foregroundLayer) } - return api.createUrl("/Persons/{name}/Images/{imageType}/{imageIndex}", pathParameters, - queryParameters) + return api.createUrl("/Persons/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters) } /** @@ -1798,8 +1728,7 @@ public class ImageApi( put("quality", quality) } val data = null - val response = api.`get`<ByteReadChannel>("/Branding/Splashscreen", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Branding/Splashscreen", pathParameters, queryParameters, data) return response } @@ -1808,8 +1737,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getSplashscreen(request: GetSplashscreenRequest = GetSplashscreenRequest()): - Response<ByteReadChannel> = getSplashscreen( + public suspend fun getSplashscreen(request: GetSplashscreenRequest = GetSplashscreenRequest()): Response<ByteReadChannel> = getSplashscreen( tag = request.tag, format = request.format, maxWidth = request.maxWidth, @@ -1878,8 +1806,7 @@ public class ImageApi( * * @param name Studio name. * @param imageType Image type. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1887,8 +1814,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -1937,8 +1863,7 @@ public class ImageApi( put("imageIndex", imageIndex) } val data = null - val response = api.`get`<ByteReadChannel>("/Studios/{name}/Images/{imageType}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Studios/{name}/Images/{imageType}", pathParameters, queryParameters, data) return response } @@ -1947,8 +1872,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getStudioImage(request: GetStudioImageRequest): Response<ByteReadChannel> = - getStudioImage( + public suspend fun getStudioImage(request: GetStudioImageRequest): Response<ByteReadChannel> = getStudioImage( name = request.name, imageType = request.imageType, tag = request.tag, @@ -1973,8 +1897,7 @@ public class ImageApi( * * @param name Studio name. * @param imageType Image type. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -1982,8 +1905,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -2040,8 +1962,7 @@ public class ImageApi( * @param name Studio name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -2049,8 +1970,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -2098,8 +2018,7 @@ public class ImageApi( put("foregroundLayer", foregroundLayer) } val data = null - val response = api.`get`<ByteReadChannel>("/Studios/{name}/Images/{imageType}/{imageIndex}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Studios/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters, data) return response } @@ -2108,8 +2027,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getStudioImageByIndex(request: GetStudioImageByIndexRequest): - Response<ByteReadChannel> = getStudioImageByIndex( + public suspend fun getStudioImageByIndex(request: GetStudioImageByIndexRequest): Response<ByteReadChannel> = getStudioImageByIndex( name = request.name, imageType = request.imageType, imageIndex = request.imageIndex, @@ -2135,8 +2053,7 @@ public class ImageApi( * @param name Studio name. * @param imageType Image type. * @param imageIndex Image index. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -2144,8 +2061,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -2192,16 +2108,14 @@ public class ImageApi( put("backgroundColor", backgroundColor) put("foregroundLayer", foregroundLayer) } - return api.createUrl("/Studios/{name}/Images/{imageType}/{imageIndex}", pathParameters, - queryParameters) + return api.createUrl("/Studios/{name}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters) } /** * Get user profile image. * * @param userId User id. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -2209,8 +2123,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -2265,8 +2178,7 @@ public class ImageApi( * * @param request The request parameters */ - public suspend fun getUserImage(request: GetUserImageRequest = GetUserImageRequest()): - Response<ByteReadChannel> = getUserImage( + public suspend fun getUserImage(request: GetUserImageRequest = GetUserImageRequest()): Response<ByteReadChannel> = getUserImage( userId = request.userId, tag = request.tag, format = request.format, @@ -2289,8 +2201,7 @@ public class ImageApi( * Get user profile image. * * @param userId User id. - * @param tag Optional. Supply the cache tag from the item object to receive strong caching - * headers. + * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. * @param format Determines the output format of the image - original,gif,jpg,png. * @param maxWidth The maximum image width to return. * @param maxHeight The maximum image height to return. @@ -2298,8 +2209,7 @@ public class ImageApi( * @param unplayedCount Optional. Unplayed count overlay to render. * @param width The fixed image width to return. * @param height The fixed image height to return. - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most - * cases. + * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. * @param fillWidth Width of box to fill. * @param fillHeight Height of box to fill. * @param blur Optional. Blur image. @@ -2377,8 +2287,7 @@ public class ImageApi( put("imageType", imageType) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/Items/{itemId}/Images/{imageType}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Items/{itemId}/Images/{imageType}", pathParameters, queryParameters, data) return response } @@ -2401,8 +2310,7 @@ public class ImageApi( put("imageIndex", imageIndex) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/Items/{itemId}/Images/{imageType}/{imageIndex}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Items/{itemId}/Images/{imageType}/{imageIndex}", pathParameters, queryParameters, data) return response } @@ -2429,8 +2337,7 @@ public class ImageApi( put("newIndex", newIndex) } val data = null - val response = api.post<Unit>("/Items/{itemId}/Images/{imageType}/{imageIndex}/Index", - pathParameters, queryParameters, data) + val response = api.post<Unit>("/Items/{itemId}/Images/{imageType}/{imageIndex}/Index", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/InstantMixApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/InstantMixApi.kt index fed0fe7ac..74c48d79d 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/InstantMixApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/InstantMixApi.kt @@ -68,8 +68,7 @@ public class InstantMixApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Albums/{itemId}/InstantMix", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Albums/{itemId}/InstantMix", pathParameters, queryParameters, data) return response } @@ -78,8 +77,7 @@ public class InstantMixApi( * * @param request The request parameters */ - public suspend fun getInstantMixFromAlbum(request: GetInstantMixFromAlbumRequest): - Response<BaseItemDtoQueryResult> = getInstantMixFromAlbum( + public suspend fun getInstantMixFromAlbum(request: GetInstantMixFromAlbumRequest): Response<BaseItemDtoQueryResult> = getInstantMixFromAlbum( itemId = request.itemId, userId = request.userId, limit = request.limit, @@ -125,8 +123,7 @@ public class InstantMixApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Artists/{itemId}/InstantMix", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Artists/{itemId}/InstantMix", pathParameters, queryParameters, data) return response } @@ -135,8 +132,7 @@ public class InstantMixApi( * * @param request The request parameters */ - public suspend fun getInstantMixFromArtists(request: GetInstantMixFromArtistsRequest): - Response<BaseItemDtoQueryResult> = getInstantMixFromArtists( + public suspend fun getInstantMixFromArtists(request: GetInstantMixFromArtistsRequest): Response<BaseItemDtoQueryResult> = getInstantMixFromArtists( itemId = request.itemId, userId = request.userId, limit = request.limit, @@ -182,8 +178,7 @@ public class InstantMixApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Artists/InstantMix", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Artists/InstantMix", pathParameters, queryParameters, data) return response } @@ -193,8 +188,7 @@ public class InstantMixApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getInstantMixFromArtists2(request: GetInstantMixFromArtists2Request): - Response<BaseItemDtoQueryResult> = getInstantMixFromArtists2( + public suspend fun getInstantMixFromArtists2(request: GetInstantMixFromArtists2Request): Response<BaseItemDtoQueryResult> = getInstantMixFromArtists2( id = request.id, userId = request.userId, limit = request.limit, @@ -240,8 +234,7 @@ public class InstantMixApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Items/{itemId}/InstantMix", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Items/{itemId}/InstantMix", pathParameters, queryParameters, data) return response } @@ -250,8 +243,7 @@ public class InstantMixApi( * * @param request The request parameters */ - public suspend fun getInstantMixFromItem(request: GetInstantMixFromItemRequest): - Response<BaseItemDtoQueryResult> = getInstantMixFromItem( + public suspend fun getInstantMixFromItem(request: GetInstantMixFromItemRequest): Response<BaseItemDtoQueryResult> = getInstantMixFromItem( itemId = request.itemId, userId = request.userId, limit = request.limit, @@ -296,8 +288,7 @@ public class InstantMixApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/MusicGenres/InstantMix", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/MusicGenres/InstantMix", pathParameters, queryParameters, data) return response } @@ -306,9 +297,7 @@ public class InstantMixApi( * * @param request The request parameters */ - public suspend - fun getInstantMixFromMusicGenreById(request: GetInstantMixFromMusicGenreByIdRequest): - Response<BaseItemDtoQueryResult> = getInstantMixFromMusicGenreById( + public suspend fun getInstantMixFromMusicGenreById(request: GetInstantMixFromMusicGenreByIdRequest): Response<BaseItemDtoQueryResult> = getInstantMixFromMusicGenreById( id = request.id, userId = request.userId, limit = request.limit, @@ -354,8 +343,7 @@ public class InstantMixApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/MusicGenres/{name}/InstantMix", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/MusicGenres/{name}/InstantMix", pathParameters, queryParameters, data) return response } @@ -364,9 +352,7 @@ public class InstantMixApi( * * @param request The request parameters */ - public suspend - fun getInstantMixFromMusicGenreByName(request: GetInstantMixFromMusicGenreByNameRequest): - Response<BaseItemDtoQueryResult> = getInstantMixFromMusicGenreByName( + public suspend fun getInstantMixFromMusicGenreByName(request: GetInstantMixFromMusicGenreByNameRequest): Response<BaseItemDtoQueryResult> = getInstantMixFromMusicGenreByName( name = request.name, userId = request.userId, limit = request.limit, @@ -412,8 +398,7 @@ public class InstantMixApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Playlists/{itemId}/InstantMix", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Playlists/{itemId}/InstantMix", pathParameters, queryParameters, data) return response } @@ -422,8 +407,7 @@ public class InstantMixApi( * * @param request The request parameters */ - public suspend fun getInstantMixFromPlaylist(request: GetInstantMixFromPlaylistRequest): - Response<BaseItemDtoQueryResult> = getInstantMixFromPlaylist( + public suspend fun getInstantMixFromPlaylist(request: GetInstantMixFromPlaylistRequest): Response<BaseItemDtoQueryResult> = getInstantMixFromPlaylist( itemId = request.itemId, userId = request.userId, limit = request.limit, @@ -469,8 +453,7 @@ public class InstantMixApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Songs/{itemId}/InstantMix", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Songs/{itemId}/InstantMix", pathParameters, queryParameters, data) return response } @@ -479,8 +462,7 @@ public class InstantMixApi( * * @param request The request parameters */ - public suspend fun getInstantMixFromSong(request: GetInstantMixFromSongRequest): - Response<BaseItemDtoQueryResult> = getInstantMixFromSong( + public suspend fun getInstantMixFromSong(request: GetInstantMixFromSongRequest): Response<BaseItemDtoQueryResult> = getInstantMixFromSong( itemId = request.itemId, userId = request.userId, limit = request.limit, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemLookupApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemLookupApi.kt index 9e73f93dd..919a78c44 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemLookupApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemLookupApi.kt @@ -49,32 +49,27 @@ public class ItemLookupApi( val queryParameters = buildMap<String, Any?>(1) { put("replaceAllImages", replaceAllImages) } - val response = api.post<Unit>("/Items/RemoteSearch/Apply/{itemId}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Items/RemoteSearch/Apply/{itemId}", pathParameters, queryParameters, data) return response } /** * Get book remote search. */ - public suspend fun getBookRemoteSearchResults(`data`: BookInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getBookRemoteSearchResults(`data`: BookInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Book", pathParameters, - queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Book", pathParameters, queryParameters, data) return response } /** * Get box set remote search. */ - public suspend fun getBoxSetRemoteSearchResults(`data`: BoxSetInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getBoxSetRemoteSearchResults(`data`: BoxSetInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/BoxSet", pathParameters, - queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/BoxSet", pathParameters, queryParameters, data) return response } @@ -89,92 +84,77 @@ public class ItemLookupApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<ExternalIdInfo>>("/Items/{itemId}/ExternalIdInfos", pathParameters, - queryParameters, data) + val response = api.`get`<List<ExternalIdInfo>>("/Items/{itemId}/ExternalIdInfos", pathParameters, queryParameters, data) return response } /** * Get movie remote search. */ - public suspend fun getMovieRemoteSearchResults(`data`: MovieInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getMovieRemoteSearchResults(`data`: MovieInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Movie", pathParameters, - queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Movie", pathParameters, queryParameters, data) return response } /** * Get music album remote search. */ - public suspend fun getMusicAlbumRemoteSearchResults(`data`: AlbumInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getMusicAlbumRemoteSearchResults(`data`: AlbumInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/MusicAlbum", - pathParameters, queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/MusicAlbum", pathParameters, queryParameters, data) return response } /** * Get music artist remote search. */ - public suspend fun getMusicArtistRemoteSearchResults(`data`: ArtistInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getMusicArtistRemoteSearchResults(`data`: ArtistInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/MusicArtist", - pathParameters, queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/MusicArtist", pathParameters, queryParameters, data) return response } /** * Get music video remote search. */ - public suspend fun getMusicVideoRemoteSearchResults(`data`: MusicVideoInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getMusicVideoRemoteSearchResults(`data`: MusicVideoInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/MusicVideo", - pathParameters, queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/MusicVideo", pathParameters, queryParameters, data) return response } /** * Get person remote search. */ - public suspend fun getPersonRemoteSearchResults(`data`: PersonLookupInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getPersonRemoteSearchResults(`data`: PersonLookupInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Person", pathParameters, - queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Person", pathParameters, queryParameters, data) return response } /** * Get series remote search. */ - public suspend fun getSeriesRemoteSearchResults(`data`: SeriesInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getSeriesRemoteSearchResults(`data`: SeriesInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Series", pathParameters, - queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Series", pathParameters, queryParameters, data) return response } /** * Get trailer remote search. */ - public suspend fun getTrailerRemoteSearchResults(`data`: TrailerInfoRemoteSearchQuery): - Response<List<RemoteSearchResult>> { + public suspend fun getTrailerRemoteSearchResults(`data`: TrailerInfoRemoteSearchQuery): Response<List<RemoteSearchResult>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Trailer", pathParameters, - queryParameters, data) + val response = api.post<List<RemoteSearchResult>>("/Items/RemoteSearch/Trailer", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemRefreshApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemRefreshApi.kt index 3ed16cdae..8a6568955 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemRefreshApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemRefreshApi.kt @@ -26,12 +26,9 @@ public class ItemRefreshApi( * @param itemId Item id. * @param metadataRefreshMode (Optional) Specifies the metadata refresh mode. * @param imageRefreshMode (Optional) Specifies the image refresh mode. - * @param replaceAllMetadata (Optional) Determines if metadata should be replaced. Only applicable - * if mode is FullRefresh. - * @param replaceAllImages (Optional) Determines if images should be replaced. Only applicable if - * mode is FullRefresh. - * @param regenerateTrickplay (Optional) Determines if trickplay images should be replaced. Only - * applicable if mode is FullRefresh. + * @param replaceAllMetadata (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. + * @param replaceAllImages (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. + * @param regenerateTrickplay (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. */ public suspend fun refreshItem( itemId: UUID, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemUpdateApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemUpdateApi.kt index a754e1089..d5691bb43 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemUpdateApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemUpdateApi.kt @@ -32,8 +32,7 @@ public class ItemUpdateApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<MetadataEditorInfo>("/Items/{itemId}/MetadataEditor", pathParameters, - queryParameters, data) + val response = api.`get`<MetadataEditorInfo>("/Items/{itemId}/MetadataEditor", pathParameters, queryParameters, data) return response } @@ -57,8 +56,7 @@ public class ItemUpdateApi( * @param itemId The item id. * @param contentType The content type of the item. */ - public suspend fun updateItemContentType(itemId: UUID, contentType: String? = null): - Response<Unit> { + public suspend fun updateItemContentType(itemId: UUID, contentType: String? = null): Response<Unit> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -66,8 +64,7 @@ public class ItemUpdateApi( put("contentType", contentType) } val data = null - val response = api.post<Unit>("/Items/{itemId}/ContentType", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Items/{itemId}/ContentType", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemsApi.kt index e715424fb..5eeee0c39 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ItemsApi.kt @@ -53,16 +53,14 @@ public class ItemsApi( put("userId", userId) } val data = null - val response = api.`get`<UserItemDataDto>("/UserItems/{itemId}/UserData", pathParameters, - queryParameters, data) + val response = api.`get`<UserItemDataDto>("/UserItems/{itemId}/UserData", pathParameters, queryParameters, data) return response } /** * Gets items based on a query. * - * @param userId The user id supplied as query parameter; this is required when not using an API - * key. + * @param userId The user id supplied as query parameter; this is required when not using an API key. * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). * @param hasThemeSong Optional filter by items with theme songs. * @param hasThemeVideo Optional filter by items with theme videos. @@ -75,18 +73,15 @@ public class ItemsApi( * @param hasParentalRating Optional filter by items that have or do not have a parental rating. * @param isHd Optional filter by items that are HD or not. * @param is4k Optional filter by items that are 4K or not. - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. - * This allows multiple, comma delimited. - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the - * LocationType. This allows multiple, comma delimited. + * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. + * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. * @param isMissing Optional filter by items that are missing episodes or not. * @param isUnaired Optional filter by items that are unaired episodes or not. * @param minCommunityRating Optional filter by minimum community rating. * @param minCriticRating Optional filter by minimum critic rating. * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. - * Format = ISO. + * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. * @param hasOverview Optional filter by items that have an overview or not. * @param hasImdbId Optional filter by items that have an IMDb id or not. @@ -97,74 +92,42 @@ public class ItemsApi( * @param isNews Optional filter for live tv news. * @param isKids Optional filter for live tv kids. * @param isSports Optional filter for live tv sports. - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. - * This allows multiple, comma delimited. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. - * @param recursive When searching within folders, this determines whether or not the search will - * be recursive. true/false. + * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. * @param searchTerm Optional. Filter based on a search term. * @param sortOrder Sort Order - Ascending, Descending. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines. - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. - * This allows multiple, comma delimited. - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma - * delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, - * Dislikes. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. + * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param isFavorite Optional filter by items that are marked as favorite, or not. * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. - * @param imageTypes Optional. If specified, results will be filtered based on those containing - * image types. This allows multiple, comma delimited. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, - * AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, - * PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param isPlayed Optional filter by items that are played, or not. - * @param genres Optional. If specified, results will be filtered based on genre. This allows - * multiple, pipe delimited. - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. - * This allows multiple, pipe delimited. - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, - * pipe delimited. - * @param years Optional. If specified, results will be filtered based on production year. This - * allows multiple, comma delimited. + * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. + * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. + * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. + * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. * @param enableUserData Optional, include user data. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. - * @param person Optional. If specified, results will be filtered to include only those containing - * the specified person. - * @param personIds Optional. If specified, results will be filtered to include only those - * containing the specified person id. - * @param personTypes Optional. If specified, along with Person, results will be filtered to - * include only those containing the specified person and PersonType. Allows multiple, - * comma-delimited. - * @param studios Optional. If specified, results will be filtered based on studio. This allows - * multiple, pipe delimited. - * @param artists Optional. If specified, results will be filtered based on artists. This allows - * multiple, pipe delimited. - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. - * This allows multiple, pipe delimited. - * @param artistIds Optional. If specified, results will be filtered to include only those - * containing the specified artist id. - * @param albumArtistIds Optional. If specified, results will be filtered to include only those - * containing the specified album artist id. - * @param contributingArtistIds Optional. If specified, results will be filtered to include only - * those containing the specified contributing artist id. - * @param albums Optional. If specified, results will be filtered based on album. This allows - * multiple, pipe delimited. - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows - * multiple, pipe delimited. - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This - * allows multiple, comma delimited. - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, - * comma delimited. + * @param person Optional. If specified, results will be filtered to include only those containing the specified person. + * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. + * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. + * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. + * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. + * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. + * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. + * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. + * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. + * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. + * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. + * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). * @param isLocked Optional filter by items that are locked. * @param isPlaceHolder Optional filter by items that are placeholders. @@ -176,16 +139,11 @@ public class ItemsApi( * @param maxHeight Optional. Filter by the maximum height of the item. * @param is3d Optional filter by items that are 3D, or not. * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater - * than a given input string. - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input - * string. - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input - * string. - * @param studioIds Optional. If specified, results will be filtered based on studio id. This - * allows multiple, pipe delimited. - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows - * multiple, pipe delimited. + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. + * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. + * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. * @param enableTotalRecordCount Optional. Enable the total record count. * @param enableImages Optional, include image information in output. */ @@ -376,8 +334,7 @@ public class ItemsApi( * * @param request The request parameters */ - public suspend fun getItems(request: GetItemsRequest = GetItemsRequest()): - Response<BaseItemDtoQueryResult> = getItems( + public suspend fun getItems(request: GetItemsRequest = GetItemsRequest()): Response<BaseItemDtoQueryResult> = getItems( userId = request.userId, maxOfficialRating = request.maxOfficialRating, hasThemeSong = request.hasThemeSong, @@ -473,20 +430,14 @@ public class ItemsApi( * @param startIndex The start index. * @param limit The item limit. * @param searchTerm The search term. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. * @param enableUserData Optional. Include user data. * @param imageTypeLimit Optional. The max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. - * This allows multiple, comma delimited. + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. * @param enableTotalRecordCount Optional. Enable the total record count. * @param enableImages Optional. Include image information in output. * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. @@ -527,8 +478,7 @@ public class ItemsApi( put("excludeActiveSessions", excludeActiveSessions) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/UserItems/Resume", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/UserItems/Resume", pathParameters, queryParameters, data) return response } @@ -537,8 +487,7 @@ public class ItemsApi( * * @param request The request parameters */ - public suspend fun getResumeItems(request: GetResumeItemsRequest = GetResumeItemsRequest()): - Response<BaseItemDtoQueryResult> = getResumeItems( + public suspend fun getResumeItems(request: GetResumeItemsRequest = GetResumeItemsRequest()): Response<BaseItemDtoQueryResult> = getResumeItems( userId = request.userId, startIndex = request.startIndex, limit = request.limit, @@ -573,8 +522,7 @@ public class ItemsApi( val queryParameters = buildMap<String, Any?>(1) { put("userId", userId) } - val response = api.post<UserItemDataDto>("/UserItems/{itemId}/UserData", pathParameters, - queryParameters, data) + val response = api.post<UserItemDataDto>("/UserItems/{itemId}/UserData", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LibraryApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LibraryApi.kt index d6ba01c13..d93c2cace 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LibraryApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LibraryApi.kt @@ -91,8 +91,7 @@ public class LibraryApi( put("userId", userId) } val data = null - val response = api.`get`<List<BaseItemDto>>("/Items/{itemId}/Ancestors", pathParameters, - queryParameters, data) + val response = api.`get`<List<BaseItemDto>>("/Items/{itemId}/Ancestors", pathParameters, queryParameters, data) return response } @@ -106,8 +105,7 @@ public class LibraryApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Items/{itemId}/CriticReviews", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Items/{itemId}/CriticReviews", pathParameters, queryParameters, data) return response } @@ -122,8 +120,7 @@ public class LibraryApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/Items/{itemId}/Download", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Items/{itemId}/Download", pathParameters, queryParameters, data) return response } @@ -151,8 +148,7 @@ public class LibraryApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/Items/{itemId}/File", pathParameters, queryParameters, - data) + val response = api.`get`<ByteReadChannel>("/Items/{itemId}/File", pathParameters, queryParameters, data) return response } @@ -175,8 +171,7 @@ public class LibraryApi( * @param userId Optional. Get counts from a specific user's library. * @param isFavorite Optional. Get counts of favorite items. */ - public suspend fun getItemCounts(userId: UUID? = null, isFavorite: Boolean? = null): - Response<ItemCounts> { + public suspend fun getItemCounts(userId: UUID? = null, isFavorite: Boolean? = null): Response<ItemCounts> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(2) { put("userId", userId) @@ -193,16 +188,14 @@ public class LibraryApi( * @param libraryContentType Library content type. * @param isNewLibrary Whether this is a new library. */ - public suspend fun getLibraryOptionsInfo(libraryContentType: CollectionType? = null, - isNewLibrary: Boolean? = false): Response<LibraryOptionsResultDto> { + public suspend fun getLibraryOptionsInfo(libraryContentType: CollectionType? = null, isNewLibrary: Boolean? = false): Response<LibraryOptionsResultDto> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(2) { put("libraryContentType", libraryContentType) put("isNewLibrary", isNewLibrary) } val data = null - val response = api.`get`<LibraryOptionsResultDto>("/Libraries/AvailableOptions", pathParameters, - queryParameters, data) + val response = api.`get`<LibraryOptionsResultDto>("/Libraries/AvailableOptions", pathParameters, queryParameters, data) return response } @@ -217,8 +210,7 @@ public class LibraryApi( put("isHidden", isHidden) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Library/MediaFolders", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Library/MediaFolders", pathParameters, queryParameters, data) return response } @@ -229,8 +221,7 @@ public class LibraryApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<String>>("/Library/PhysicalPaths", pathParameters, queryParameters, - data) + val response = api.`get`<List<String>>("/Library/PhysicalPaths", pathParameters, queryParameters, data) return response } @@ -241,10 +232,7 @@ public class LibraryApi( * @param excludeArtistIds Exclude artist ids. * @param userId Optional. Filter by user id, and attach user data. * @param limit Optional. The maximum number of records to return. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ public suspend fun getSimilarAlbums( itemId: UUID, @@ -263,8 +251,7 @@ public class LibraryApi( put("fields", fields) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Albums/{itemId}/Similar", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Albums/{itemId}/Similar", pathParameters, queryParameters, data) return response } @@ -273,8 +260,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getSimilarAlbums(request: GetSimilarAlbumsRequest): - Response<BaseItemDtoQueryResult> = getSimilarAlbums( + public suspend fun getSimilarAlbums(request: GetSimilarAlbumsRequest): Response<BaseItemDtoQueryResult> = getSimilarAlbums( itemId = request.itemId, excludeArtistIds = request.excludeArtistIds, userId = request.userId, @@ -289,10 +275,7 @@ public class LibraryApi( * @param excludeArtistIds Exclude artist ids. * @param userId Optional. Filter by user id, and attach user data. * @param limit Optional. The maximum number of records to return. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ public suspend fun getSimilarArtists( itemId: UUID, @@ -311,8 +294,7 @@ public class LibraryApi( put("fields", fields) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Artists/{itemId}/Similar", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Artists/{itemId}/Similar", pathParameters, queryParameters, data) return response } @@ -321,8 +303,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getSimilarArtists(request: GetSimilarArtistsRequest): - Response<BaseItemDtoQueryResult> = getSimilarArtists( + public suspend fun getSimilarArtists(request: GetSimilarArtistsRequest): Response<BaseItemDtoQueryResult> = getSimilarArtists( itemId = request.itemId, excludeArtistIds = request.excludeArtistIds, userId = request.userId, @@ -337,10 +318,7 @@ public class LibraryApi( * @param excludeArtistIds Exclude artist ids. * @param userId Optional. Filter by user id, and attach user data. * @param limit Optional. The maximum number of records to return. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ public suspend fun getSimilarItems( itemId: UUID, @@ -359,8 +337,7 @@ public class LibraryApi( put("fields", fields) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Items/{itemId}/Similar", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Items/{itemId}/Similar", pathParameters, queryParameters, data) return response } @@ -369,8 +346,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getSimilarItems(request: GetSimilarItemsRequest): - Response<BaseItemDtoQueryResult> = getSimilarItems( + public suspend fun getSimilarItems(request: GetSimilarItemsRequest): Response<BaseItemDtoQueryResult> = getSimilarItems( itemId = request.itemId, excludeArtistIds = request.excludeArtistIds, userId = request.userId, @@ -385,10 +361,7 @@ public class LibraryApi( * @param excludeArtistIds Exclude artist ids. * @param userId Optional. Filter by user id, and attach user data. * @param limit Optional. The maximum number of records to return. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ public suspend fun getSimilarMovies( itemId: UUID, @@ -407,8 +380,7 @@ public class LibraryApi( put("fields", fields) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Movies/{itemId}/Similar", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Movies/{itemId}/Similar", pathParameters, queryParameters, data) return response } @@ -417,8 +389,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getSimilarMovies(request: GetSimilarMoviesRequest): - Response<BaseItemDtoQueryResult> = getSimilarMovies( + public suspend fun getSimilarMovies(request: GetSimilarMoviesRequest): Response<BaseItemDtoQueryResult> = getSimilarMovies( itemId = request.itemId, excludeArtistIds = request.excludeArtistIds, userId = request.userId, @@ -433,10 +404,7 @@ public class LibraryApi( * @param excludeArtistIds Exclude artist ids. * @param userId Optional. Filter by user id, and attach user data. * @param limit Optional. The maximum number of records to return. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ public suspend fun getSimilarShows( itemId: UUID, @@ -455,8 +423,7 @@ public class LibraryApi( put("fields", fields) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Shows/{itemId}/Similar", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Shows/{itemId}/Similar", pathParameters, queryParameters, data) return response } @@ -465,8 +432,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getSimilarShows(request: GetSimilarShowsRequest): - Response<BaseItemDtoQueryResult> = getSimilarShows( + public suspend fun getSimilarShows(request: GetSimilarShowsRequest): Response<BaseItemDtoQueryResult> = getSimilarShows( itemId = request.itemId, excludeArtistIds = request.excludeArtistIds, userId = request.userId, @@ -481,10 +447,7 @@ public class LibraryApi( * @param excludeArtistIds Exclude artist ids. * @param userId Optional. Filter by user id, and attach user data. * @param limit Optional. The maximum number of records to return. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ public suspend fun getSimilarTrailers( itemId: UUID, @@ -503,8 +466,7 @@ public class LibraryApi( put("fields", fields) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Trailers/{itemId}/Similar", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Trailers/{itemId}/Similar", pathParameters, queryParameters, data) return response } @@ -513,8 +475,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getSimilarTrailers(request: GetSimilarTrailersRequest): - Response<BaseItemDtoQueryResult> = getSimilarTrailers( + public suspend fun getSimilarTrailers(request: GetSimilarTrailersRequest): Response<BaseItemDtoQueryResult> = getSimilarTrailers( itemId = request.itemId, excludeArtistIds = request.excludeArtistIds, userId = request.userId, @@ -527,11 +488,8 @@ public class LibraryApi( * * @param itemId The item id. * @param userId Optional. Filter by user id, and attach user data. - * @param inheritFromParent Optional. Determines whether or not parent items should be searched for - * theme media. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, - * AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, - * PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param sortOrder Optional. Sort Order - Ascending, Descending. */ public suspend fun getThemeMedia( @@ -551,8 +509,7 @@ public class LibraryApi( put("sortOrder", sortOrder) } val data = null - val response = api.`get`<AllThemeMediaResult>("/Items/{itemId}/ThemeMedia", pathParameters, - queryParameters, data) + val response = api.`get`<AllThemeMediaResult>("/Items/{itemId}/ThemeMedia", pathParameters, queryParameters, data) return response } @@ -561,8 +518,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getThemeMedia(request: GetThemeMediaRequest): Response<AllThemeMediaResult> = - getThemeMedia( + public suspend fun getThemeMedia(request: GetThemeMediaRequest): Response<AllThemeMediaResult> = getThemeMedia( itemId = request.itemId, userId = request.userId, inheritFromParent = request.inheritFromParent, @@ -575,11 +531,8 @@ public class LibraryApi( * * @param itemId The item id. * @param userId Optional. Filter by user id, and attach user data. - * @param inheritFromParent Optional. Determines whether or not parent items should be searched for - * theme media. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, - * AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, - * PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param sortOrder Optional. Sort Order - Ascending, Descending. */ public suspend fun getThemeSongs( @@ -599,8 +552,7 @@ public class LibraryApi( put("sortOrder", sortOrder) } val data = null - val response = api.`get`<ThemeMediaResult>("/Items/{itemId}/ThemeSongs", pathParameters, - queryParameters, data) + val response = api.`get`<ThemeMediaResult>("/Items/{itemId}/ThemeSongs", pathParameters, queryParameters, data) return response } @@ -609,8 +561,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getThemeSongs(request: GetThemeSongsRequest): Response<ThemeMediaResult> = - getThemeSongs( + public suspend fun getThemeSongs(request: GetThemeSongsRequest): Response<ThemeMediaResult> = getThemeSongs( itemId = request.itemId, userId = request.userId, inheritFromParent = request.inheritFromParent, @@ -623,11 +574,8 @@ public class LibraryApi( * * @param itemId The item id. * @param userId Optional. Filter by user id, and attach user data. - * @param inheritFromParent Optional. Determines whether or not parent items should be searched for - * theme media. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, - * AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, - * PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param sortOrder Optional. Sort Order - Ascending, Descending. */ public suspend fun getThemeVideos( @@ -647,8 +595,7 @@ public class LibraryApi( put("sortOrder", sortOrder) } val data = null - val response = api.`get`<ThemeMediaResult>("/Items/{itemId}/ThemeVideos", pathParameters, - queryParameters, data) + val response = api.`get`<ThemeMediaResult>("/Items/{itemId}/ThemeVideos", pathParameters, queryParameters, data) return response } @@ -657,8 +604,7 @@ public class LibraryApi( * * @param request The request parameters */ - public suspend fun getThemeVideos(request: GetThemeVideosRequest): Response<ThemeMediaResult> = - getThemeVideos( + public suspend fun getThemeVideos(request: GetThemeVideosRequest): Response<ThemeMediaResult> = getThemeVideos( itemId = request.itemId, userId = request.userId, inheritFromParent = request.inheritFromParent, @@ -672,8 +618,7 @@ public class LibraryApi( * @param tmdbId The tmdbId. * @param imdbId The imdbId. */ - public suspend fun postAddedMovies(tmdbId: String? = null, imdbId: String? = null): - Response<Unit> { + public suspend fun postAddedMovies(tmdbId: String? = null, imdbId: String? = null): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(2) { put("tmdbId", tmdbId) @@ -715,8 +660,7 @@ public class LibraryApi( * @param tmdbId The tmdbId. * @param imdbId The imdbId. */ - public suspend fun postUpdatedMovies(tmdbId: String? = null, imdbId: String? = null): - Response<Unit> { + public suspend fun postUpdatedMovies(tmdbId: String? = null, imdbId: String? = null): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(2) { put("tmdbId", tmdbId) diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LibraryStructureApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LibraryStructureApi.kt index b11b5a5d6..85c48540c 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LibraryStructureApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LibraryStructureApi.kt @@ -34,14 +34,12 @@ public class LibraryStructureApi( * * @param refreshLibrary Whether to refresh the library. */ - public suspend fun addMediaPath(refreshLibrary: Boolean? = false, `data`: MediaPathDto): - Response<Unit> { + public suspend fun addMediaPath(refreshLibrary: Boolean? = false, `data`: MediaPathDto): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(1) { put("refreshLibrary", refreshLibrary) } - val response = api.post<Unit>("/Library/VirtualFolders/Paths", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Library/VirtualFolders/Paths", pathParameters, queryParameters, data) return response } @@ -78,8 +76,7 @@ public class LibraryStructureApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<VirtualFolderInfo>>("/Library/VirtualFolders", pathParameters, - queryParameters, data) + val response = api.`get`<List<VirtualFolderInfo>>("/Library/VirtualFolders", pathParameters, queryParameters, data) return response } @@ -102,8 +99,7 @@ public class LibraryStructureApi( put("refreshLibrary", refreshLibrary) } val data = null - val response = api.delete<Unit>("/Library/VirtualFolders/Paths", pathParameters, queryParameters, - data) + val response = api.delete<Unit>("/Library/VirtualFolders/Paths", pathParameters, queryParameters, data) return response } @@ -113,8 +109,7 @@ public class LibraryStructureApi( * @param name The name of the folder. * @param refreshLibrary Whether to refresh the library. */ - public suspend fun removeVirtualFolder(name: String? = null, refreshLibrary: Boolean? = false): - Response<Unit> { + public suspend fun removeVirtualFolder(name: String? = null, refreshLibrary: Boolean? = false): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(2) { put("name", name) @@ -144,8 +139,7 @@ public class LibraryStructureApi( put("refreshLibrary", refreshLibrary) } val data = null - val response = api.post<Unit>("/Library/VirtualFolders/Name", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Library/VirtualFolders/Name", pathParameters, queryParameters, data) return response } @@ -155,8 +149,7 @@ public class LibraryStructureApi( public suspend fun updateLibraryOptions(`data`: UpdateLibraryOptionsDto? = null): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/Library/VirtualFolders/LibraryOptions", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Library/VirtualFolders/LibraryOptions", pathParameters, queryParameters, data) return response } @@ -166,8 +159,7 @@ public class LibraryStructureApi( public suspend fun updateMediaPath(`data`: UpdateMediaPathRequestDto): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/Library/VirtualFolders/Paths/Update", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Library/VirtualFolders/Paths/Update", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LiveTvApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LiveTvApi.kt index eedf97331..6e1705e8b 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LiveTvApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LiveTvApi.kt @@ -73,8 +73,7 @@ public class LiveTvApi( put("validateListings", validateListings) put("validateLogin", validateLogin) } - val response = api.post<ListingsProviderInfo>("/LiveTv/ListingProviders", pathParameters, - queryParameters, data) + val response = api.post<ListingsProviderInfo>("/LiveTv/ListingProviders", pathParameters, queryParameters, data) return response } @@ -84,8 +83,7 @@ public class LiveTvApi( public suspend fun addTunerHost(`data`: TunerHostInfo? = null): Response<TunerHostInfo> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<TunerHostInfo>("/LiveTv/TunerHosts", pathParameters, queryParameters, - data) + val response = api.post<TunerHostInfo>("/LiveTv/TunerHosts", pathParameters, queryParameters, data) return response } @@ -100,8 +98,7 @@ public class LiveTvApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/LiveTv/SeriesTimers/{timerId}", pathParameters, queryParameters, - data) + val response = api.delete<Unit>("/LiveTv/SeriesTimers/{timerId}", pathParameters, queryParameters, data) return response } @@ -166,8 +163,7 @@ public class LiveTvApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/LiveTv/Recordings/{recordingId}", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/LiveTv/Recordings/{recordingId}", pathParameters, queryParameters, data) return response } @@ -191,15 +187,13 @@ public class LiveTvApi( * * @param newDevicesOnly Only discover new tuners. */ - public suspend fun discoverTuners(newDevicesOnly: Boolean? = false): - Response<List<TunerHostInfo>> { + public suspend fun discoverTuners(newDevicesOnly: Boolean? = false): Response<List<TunerHostInfo>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(1) { put("newDevicesOnly", newDevicesOnly) } val data = null - val response = api.`get`<List<TunerHostInfo>>("/LiveTv/Tuners/Discover", pathParameters, - queryParameters, data) + val response = api.`get`<List<TunerHostInfo>>("/LiveTv/Tuners/Discover", pathParameters, queryParameters, data) return response } @@ -208,15 +202,13 @@ public class LiveTvApi( * * @param newDevicesOnly Only discover new tuners. */ - public suspend fun discvoverTuners(newDevicesOnly: Boolean? = false): - Response<List<TunerHostInfo>> { + public suspend fun discvoverTuners(newDevicesOnly: Boolean? = false): Response<List<TunerHostInfo>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(1) { put("newDevicesOnly", newDevicesOnly) } val data = null - val response = api.`get`<List<TunerHostInfo>>("/LiveTv/Tuners/Discvover", pathParameters, - queryParameters, data) + val response = api.`get`<List<TunerHostInfo>>("/LiveTv/Tuners/Discvover", pathParameters, queryParameters, data) return response } @@ -234,8 +226,7 @@ public class LiveTvApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDto>("/LiveTv/Channels/{channelId}", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDto>("/LiveTv/Channels/{channelId}", pathParameters, queryParameters, data) return response } @@ -244,15 +235,13 @@ public class LiveTvApi( * * @param providerId Provider id. */ - public suspend fun getChannelMappingOptions(providerId: String? = null): - Response<ChannelMappingOptionsDto> { + public suspend fun getChannelMappingOptions(providerId: String? = null): Response<ChannelMappingOptionsDto> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(1) { put("providerId", providerId) } val data = null - val response = api.`get`<ChannelMappingOptionsDto>("/LiveTv/ChannelMappingOptions", - pathParameters, queryParameters, data) + val response = api.`get`<ChannelMappingOptionsDto>("/LiveTv/ChannelMappingOptions", pathParameters, queryParameters, data) return response } @@ -263,8 +252,7 @@ public class LiveTvApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ListingsProviderInfo>("/LiveTv/ListingProviders/Default", pathParameters, - queryParameters, data) + val response = api.`get`<ListingsProviderInfo>("/LiveTv/ListingProviders/Default", pathParameters, queryParameters, data) return response } @@ -279,8 +267,7 @@ public class LiveTvApi( put("programId", programId) } val data = null - val response = api.`get`<SeriesTimerInfoDto>("/LiveTv/Timers/Defaults", pathParameters, - queryParameters, data) + val response = api.`get`<SeriesTimerInfoDto>("/LiveTv/Timers/Defaults", pathParameters, queryParameters, data) return response } @@ -317,8 +304,7 @@ public class LiveTvApi( put("country", country) } val data = null - val response = api.`get`<List<NameIdPair>>("/LiveTv/ListingProviders/Lineups", pathParameters, - queryParameters, data) + val response = api.`get`<List<NameIdPair>>("/LiveTv/ListingProviders/Lineups", pathParameters, queryParameters, data) return response } @@ -333,8 +319,7 @@ public class LiveTvApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/LiveTv/LiveRecordings/{recordingId}/stream", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/LiveTv/LiveRecordings/{recordingId}/stream", pathParameters, queryParameters, data) return response } @@ -348,8 +333,7 @@ public class LiveTvApi( put("recordingId", recordingId) } val queryParameters = emptyMap<String, Any?>() - return api.createUrl("/LiveTv/LiveRecordings/{recordingId}/stream", pathParameters, - queryParameters) + return api.createUrl("/LiveTv/LiveRecordings/{recordingId}/stream", pathParameters, queryParameters) } /** @@ -358,16 +342,14 @@ public class LiveTvApi( * @param streamId Stream id. * @param container Container type. */ - public suspend fun getLiveStreamFile(streamId: String, container: String): - Response<ByteReadChannel> { + public suspend fun getLiveStreamFile(streamId: String, container: String): Response<ByteReadChannel> { val pathParameters = buildMap<String, Any?>(2) { put("streamId", streamId) put("container", container) } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/LiveTv/LiveStreamFiles/{streamId}/stream.{container}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/LiveTv/LiveStreamFiles/{streamId}/stream.{container}", pathParameters, queryParameters, data) return response } @@ -383,8 +365,7 @@ public class LiveTvApi( put("container", container) } val queryParameters = emptyMap<String, Any?>() - return api.createUrl("/LiveTv/LiveStreamFiles/{streamId}/stream.{container}", pathParameters, - queryParameters) + return api.createUrl("/LiveTv/LiveStreamFiles/{streamId}/stream.{container}", pathParameters, queryParameters) } /** @@ -392,8 +373,7 @@ public class LiveTvApi( * * @param type Optional. Filter by channel type. * @param userId Optional. Filter by user and attach user data. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param isMovie Optional. Filter for movies. * @param isSeries Optional. Filter for series. * @param isNews Optional. Filter for news. @@ -410,8 +390,7 @@ public class LiveTvApi( * @param enableUserData Optional. Include user data. * @param sortBy Optional. Key to sort by. * @param sortOrder Optional. Sort order. - * @param enableFavoriteSorting Optional. Incorporate favorite and like status into channel - * sorting. + * @param enableFavoriteSorting Optional. Incorporate favorite and like status into channel sorting. * @param addCurrentProgram Optional. Adds current program info to each channel. */ public suspend fun getLiveTvChannels( @@ -462,8 +441,7 @@ public class LiveTvApi( put("addCurrentProgram", addCurrentProgram) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Channels", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Channels", pathParameters, queryParameters, data) return response } @@ -472,8 +450,7 @@ public class LiveTvApi( * * @param request The request parameters */ - public suspend fun getLiveTvChannels(request: GetLiveTvChannelsRequest = - GetLiveTvChannelsRequest()): Response<BaseItemDtoQueryResult> = getLiveTvChannels( + public suspend fun getLiveTvChannels(request: GetLiveTvChannelsRequest = GetLiveTvChannelsRequest()): Response<BaseItemDtoQueryResult> = getLiveTvChannels( type = request.type, userId = request.userId, startIndex = request.startIndex, @@ -524,11 +501,9 @@ public class LiveTvApi( * @param isNews Optional. Filter for news. * @param isKids Optional. Filter for kids. * @param isSports Optional. Filter for sports. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Name, - * StartDate. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. * @param sortOrder Sort Order - Ascending,Descending. * @param genres The genres to return guide information for. * @param genreIds The genre ids to return guide information for. @@ -601,8 +576,7 @@ public class LiveTvApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Programs", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Programs", pathParameters, queryParameters, data) return response } @@ -611,8 +585,7 @@ public class LiveTvApi( * * @param request The request parameters */ - public suspend fun getLiveTvPrograms(request: GetLiveTvProgramsRequest = - GetLiveTvProgramsRequest()): Response<BaseItemDtoQueryResult> = getLiveTvPrograms( + public suspend fun getLiveTvPrograms(request: GetLiveTvProgramsRequest = GetLiveTvProgramsRequest()): Response<BaseItemDtoQueryResult> = getLiveTvPrograms( channelIds = request.channelIds, userId = request.userId, minStartDate = request.minStartDate, @@ -656,8 +629,7 @@ public class LiveTvApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDto>("/LiveTv/Programs/{programId}", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDto>("/LiveTv/Programs/{programId}", pathParameters, queryParameters, data) return response } @@ -667,8 +639,7 @@ public class LiveTvApi( public suspend fun getPrograms(`data`: GetProgramsDto? = null): Response<BaseItemDtoQueryResult> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<BaseItemDtoQueryResult>("/LiveTv/Programs", pathParameters, - queryParameters, data) + val response = api.post<BaseItemDtoQueryResult>("/LiveTv/Programs", pathParameters, queryParameters, data) return response } @@ -730,8 +701,7 @@ public class LiveTvApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Programs/Recommended", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Programs/Recommended", pathParameters, queryParameters, data) return response } @@ -740,8 +710,7 @@ public class LiveTvApi( * * @param request The request parameters */ - public suspend fun getRecommendedPrograms(request: GetRecommendedProgramsRequest = - GetRecommendedProgramsRequest()): Response<BaseItemDtoQueryResult> = getRecommendedPrograms( + public suspend fun getRecommendedPrograms(request: GetRecommendedProgramsRequest = GetRecommendedProgramsRequest()): Response<BaseItemDtoQueryResult> = getRecommendedPrograms( userId = request.userId, limit = request.limit, isAiring = request.isAiring, @@ -774,8 +743,7 @@ public class LiveTvApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDto>("/LiveTv/Recordings/{recordingId}", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDto>("/LiveTv/Recordings/{recordingId}", pathParameters, queryParameters, data) return response } @@ -790,8 +758,7 @@ public class LiveTvApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Recordings/Folders", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Recordings/Folders", pathParameters, queryParameters, data) return response } @@ -807,8 +774,7 @@ public class LiveTvApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<Unit>("/LiveTv/Recordings/Groups/{groupId}", pathParameters, - queryParameters, data) + val response = api.`get`<Unit>("/LiveTv/Recordings/Groups/{groupId}", pathParameters, queryParameters, data) return response } @@ -824,8 +790,7 @@ public class LiveTvApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Recordings/Groups", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Recordings/Groups", pathParameters, queryParameters, data) return response } @@ -834,8 +799,7 @@ public class LiveTvApi( * * @param channelId Optional. Filter by channel id. * @param userId Optional. Filter by user and attach user data. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param status Optional. Filter by recording status. * @param isInProgress Optional. Filter by recordings that are in progress, or not. @@ -897,8 +861,7 @@ public class LiveTvApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Recordings", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Recordings", pathParameters, queryParameters, data) return response } @@ -907,8 +870,7 @@ public class LiveTvApi( * * @param request The request parameters */ - public suspend fun getRecordings(request: GetRecordingsRequest = GetRecordingsRequest()): - Response<BaseItemDtoQueryResult> = getRecordings( + public suspend fun getRecordings(request: GetRecordingsRequest = GetRecordingsRequest()): Response<BaseItemDtoQueryResult> = getRecordings( channelId = request.channelId, userId = request.userId, startIndex = request.startIndex, @@ -936,8 +898,7 @@ public class LiveTvApi( * @param channelId Optional. Filter by channel id. * @param userId Optional. Filter by user and attach user data. * @param groupId Optional. Filter by recording group. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param status Optional. Filter by recording status. * @param isInProgress Optional. Filter by recordings that are in progress, or not. @@ -984,8 +945,7 @@ public class LiveTvApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Recordings/Series", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/LiveTv/Recordings/Series", pathParameters, queryParameters, data) return response } @@ -995,8 +955,7 @@ public class LiveTvApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getRecordingsSeries(request: GetRecordingsSeriesRequest = - GetRecordingsSeriesRequest()): Response<BaseItemDtoQueryResult> = getRecordingsSeries( + public suspend fun getRecordingsSeries(request: GetRecordingsSeriesRequest = GetRecordingsSeriesRequest()): Response<BaseItemDtoQueryResult> = getRecordingsSeries( channelId = request.channelId, userId = request.userId, groupId = request.groupId, @@ -1020,8 +979,7 @@ public class LiveTvApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/LiveTv/ListingProviders/SchedulesDirect/Countries", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/LiveTv/ListingProviders/SchedulesDirect/Countries", pathParameters, queryParameters, data) return response } @@ -1031,8 +989,7 @@ public class LiveTvApi( public fun getSchedulesDirectCountriesUrl(): String { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - return api.createUrl("/LiveTv/ListingProviders/SchedulesDirect/Countries", pathParameters, - queryParameters) + return api.createUrl("/LiveTv/ListingProviders/SchedulesDirect/Countries", pathParameters, queryParameters) } /** @@ -1046,8 +1003,7 @@ public class LiveTvApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<SeriesTimerInfoDto>("/LiveTv/SeriesTimers/{timerId}", pathParameters, - queryParameters, data) + val response = api.`get`<SeriesTimerInfoDto>("/LiveTv/SeriesTimers/{timerId}", pathParameters, queryParameters, data) return response } @@ -1057,16 +1013,14 @@ public class LiveTvApi( * @param sortBy Optional. Sort by SortName or Priority. * @param sortOrder Optional. Sort in Ascending or Descending order. */ - public suspend fun getSeriesTimers(sortBy: String? = null, sortOrder: SortOrder? = null): - Response<SeriesTimerInfoDtoQueryResult> { + public suspend fun getSeriesTimers(sortBy: String? = null, sortOrder: SortOrder? = null): Response<SeriesTimerInfoDtoQueryResult> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(2) { put("sortBy", sortBy) put("sortOrder", sortOrder) } val data = null - val response = api.`get`<SeriesTimerInfoDtoQueryResult>("/LiveTv/SeriesTimers", pathParameters, - queryParameters, data) + val response = api.`get`<SeriesTimerInfoDtoQueryResult>("/LiveTv/SeriesTimers", pathParameters, queryParameters, data) return response } @@ -1081,8 +1035,7 @@ public class LiveTvApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<TimerInfoDto>("/LiveTv/Timers/{timerId}", pathParameters, - queryParameters, data) + val response = api.`get`<TimerInfoDto>("/LiveTv/Timers/{timerId}", pathParameters, queryParameters, data) return response } @@ -1108,8 +1061,7 @@ public class LiveTvApi( put("isScheduled", isScheduled) } val data = null - val response = api.`get`<TimerInfoDtoQueryResult>("/LiveTv/Timers", pathParameters, - queryParameters, data) + val response = api.`get`<TimerInfoDtoQueryResult>("/LiveTv/Timers", pathParameters, queryParameters, data) return response } @@ -1120,8 +1072,7 @@ public class LiveTvApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<NameIdPair>>("/LiveTv/TunerHosts/Types", pathParameters, - queryParameters, data) + val response = api.`get`<List<NameIdPair>>("/LiveTv/TunerHosts/Types", pathParameters, queryParameters, data) return response } @@ -1136,8 +1087,7 @@ public class LiveTvApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/LiveTv/Tuners/{tunerId}/Reset", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/LiveTv/Tuners/{tunerId}/Reset", pathParameters, queryParameters, data) return response } @@ -1147,8 +1097,7 @@ public class LiveTvApi( public suspend fun setChannelMapping(`data`: SetChannelMappingDto): Response<TunerChannelMapping> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<TunerChannelMapping>("/LiveTv/ChannelMappings", pathParameters, - queryParameters, data) + val response = api.post<TunerChannelMapping>("/LiveTv/ChannelMappings", pathParameters, queryParameters, data) return response } @@ -1157,14 +1106,12 @@ public class LiveTvApi( * * @param timerId Timer id. */ - public suspend fun updateSeriesTimer(timerId: String, `data`: SeriesTimerInfoDto? = null): - Response<Unit> { + public suspend fun updateSeriesTimer(timerId: String, `data`: SeriesTimerInfoDto? = null): Response<Unit> { val pathParameters = buildMap<String, Any?>(1) { put("timerId", timerId) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/LiveTv/SeriesTimers/{timerId}", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/LiveTv/SeriesTimers/{timerId}", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LocalizationApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LocalizationApi.kt index ba748f7c4..f33349b22 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LocalizationApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LocalizationApi.kt @@ -27,8 +27,7 @@ public class LocalizationApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<CountryInfo>>("/Localization/Countries", pathParameters, - queryParameters, data) + val response = api.`get`<List<CountryInfo>>("/Localization/Countries", pathParameters, queryParameters, data) return response } @@ -39,8 +38,7 @@ public class LocalizationApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<CultureDto>>("/Localization/Cultures", pathParameters, - queryParameters, data) + val response = api.`get`<List<CultureDto>>("/Localization/Cultures", pathParameters, queryParameters, data) return response } @@ -51,8 +49,7 @@ public class LocalizationApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<LocalizationOption>>("/Localization/Options", pathParameters, - queryParameters, data) + val response = api.`get`<List<LocalizationOption>>("/Localization/Options", pathParameters, queryParameters, data) return response } @@ -63,8 +60,7 @@ public class LocalizationApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<ParentalRating>>("/Localization/ParentalRatings", pathParameters, - queryParameters, data) + val response = api.`get`<List<ParentalRating>>("/Localization/ParentalRatings", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LyricsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LyricsApi.kt index efb2d9335..52ed3820b 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LyricsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/LyricsApi.kt @@ -51,8 +51,7 @@ public class LyricsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<LyricDto>("/Audio/{itemId}/RemoteSearch/Lyrics/{lyricId}", pathParameters, - queryParameters, data) + val response = api.post<LyricDto>("/Audio/{itemId}/RemoteSearch/Lyrics/{lyricId}", pathParameters, queryParameters, data) return response } @@ -67,8 +66,7 @@ public class LyricsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<LyricDto>("/Audio/{itemId}/Lyrics", pathParameters, queryParameters, - data) + val response = api.`get`<LyricDto>("/Audio/{itemId}/Lyrics", pathParameters, queryParameters, data) return response } @@ -83,8 +81,7 @@ public class LyricsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<LyricDto>("/Providers/Lyrics/{lyricId}", pathParameters, queryParameters, - data) + val response = api.`get`<LyricDto>("/Providers/Lyrics/{lyricId}", pathParameters, queryParameters, data) return response } @@ -99,8 +96,7 @@ public class LyricsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<RemoteLyricInfoDto>>("/Audio/{itemId}/RemoteSearch/Lyrics", - pathParameters, queryParameters, data) + val response = api.`get`<List<RemoteLyricInfoDto>>("/Audio/{itemId}/RemoteSearch/Lyrics", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MediaInfoApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MediaInfoApi.kt index 2314a4fdc..4b4ed0695 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MediaInfoApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MediaInfoApi.kt @@ -58,8 +58,7 @@ public class MediaInfoApi( put("size", size) } val data = null - val response = api.`get`<ByteReadChannel>("/Playback/BitrateTest", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Playback/BitrateTest", pathParameters, queryParameters, data) return response } @@ -83,8 +82,7 @@ public class MediaInfoApi( * @param itemId The item id. * @param userId The user id. */ - public suspend fun getPlaybackInfo(itemId: UUID, userId: UUID? = null): - Response<PlaybackInfoResponse> { + public suspend fun getPlaybackInfo(itemId: UUID, userId: UUID? = null): Response<PlaybackInfoResponse> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -92,32 +90,27 @@ public class MediaInfoApi( put("userId", userId) } val data = null - val response = api.`get`<PlaybackInfoResponse>("/Items/{itemId}/PlaybackInfo", pathParameters, - queryParameters, data) + val response = api.`get`<PlaybackInfoResponse>("/Items/{itemId}/PlaybackInfo", pathParameters, queryParameters, data) return response } /** - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher - * precedence. + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. * Query parameters are obsolete. * * @param itemId The item id. */ - public suspend fun getPostedPlaybackInfo(itemId: UUID, `data`: PlaybackInfoDto? = null): - Response<PlaybackInfoResponse> { + public suspend fun getPostedPlaybackInfo(itemId: UUID, `data`: PlaybackInfoDto? = null): Response<PlaybackInfoResponse> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<PlaybackInfoResponse>("/Items/{itemId}/PlaybackInfo", pathParameters, - queryParameters, data) + val response = api.post<PlaybackInfoResponse>("/Items/{itemId}/PlaybackInfo", pathParameters, queryParameters, data) return response } /** - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher - * precedence. + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. * Query parameters are obsolete. * * @param itemId The item id. @@ -174,22 +167,18 @@ public class MediaInfoApi( put("allowVideoStreamCopy", allowVideoStreamCopy) put("allowAudioStreamCopy", allowAudioStreamCopy) } - val response = api.post<PlaybackInfoResponse>("/Items/{itemId}/PlaybackInfo", pathParameters, - queryParameters, data) + val response = api.post<PlaybackInfoResponse>("/Items/{itemId}/PlaybackInfo", pathParameters, queryParameters, data) return response } /** - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher - * precedence. + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. * Query parameters are obsolete. * * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getPostedPlaybackInfoDeprecated(request: GetPostedPlaybackInfoDeprecatedRequest, - `data`: PlaybackInfoDto? = null): Response<PlaybackInfoResponse> = - getPostedPlaybackInfoDeprecated( + public suspend fun getPostedPlaybackInfoDeprecated(request: GetPostedPlaybackInfoDeprecatedRequest, `data`: PlaybackInfoDto? = null): Response<PlaybackInfoResponse> = getPostedPlaybackInfoDeprecated( itemId = request.itemId, userId = request.userId, maxStreamingBitrate = request.maxStreamingBitrate, @@ -254,8 +243,7 @@ public class MediaInfoApi( put("enableDirectStream", enableDirectStream) put("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding) } - val response = api.post<LiveStreamResponse>("/LiveStreams/Open", pathParameters, queryParameters, - data) + val response = api.post<LiveStreamResponse>("/LiveStreams/Open", pathParameters, queryParameters, data) return response } @@ -264,8 +252,7 @@ public class MediaInfoApi( * * @param request The request parameters */ - public suspend fun openLiveStream(request: OpenLiveStreamRequest = OpenLiveStreamRequest(), - `data`: OpenLiveStreamDto? = null): Response<LiveStreamResponse> = openLiveStream( + public suspend fun openLiveStream(request: OpenLiveStreamRequest = OpenLiveStreamRequest(), `data`: OpenLiveStreamDto? = null): Response<LiveStreamResponse> = openLiveStream( openToken = request.openToken, userId = request.userId, playSessionId = request.playSessionId, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MediaSegmentsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MediaSegmentsApi.kt index fc12e79d4..8518f9259 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MediaSegmentsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MediaSegmentsApi.kt @@ -26,8 +26,7 @@ public class MediaSegmentsApi( * @param itemId The ItemId. * @param includeSegmentTypes Optional filter of requested segment types. */ - public suspend fun getItemSegments(itemId: UUID, includeSegmentTypes: Collection<MediaSegmentType>? - = emptyList()): Response<MediaSegmentDtoQueryResult> { + public suspend fun getItemSegments(itemId: UUID, includeSegmentTypes: Collection<MediaSegmentType>? = emptyList()): Response<MediaSegmentDtoQueryResult> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -35,8 +34,7 @@ public class MediaSegmentsApi( put("includeSegmentTypes", includeSegmentTypes) } val data = null - val response = api.`get`<MediaSegmentDtoQueryResult>("/MediaSegments/{itemId}", pathParameters, - queryParameters, data) + val response = api.`get`<MediaSegmentDtoQueryResult>("/MediaSegments/{itemId}", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MoviesApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MoviesApi.kt index e7a78b64f..fed98d226 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MoviesApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MoviesApi.kt @@ -28,8 +28,7 @@ public class MoviesApi( * Gets movie recommendations. * * @param userId Optional. Filter by user id, and attach user data. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. * @param fields Optional. The fields to return. * @param categoryLimit The max number of categories to return. * @param itemLimit The max number of items to return per category. @@ -50,8 +49,7 @@ public class MoviesApi( put("itemLimit", itemLimit) } val data = null - val response = api.`get`<List<RecommendationDto>>("/Movies/Recommendations", pathParameters, - queryParameters, data) + val response = api.`get`<List<RecommendationDto>>("/Movies/Recommendations", pathParameters, queryParameters, data) return response } @@ -60,8 +58,7 @@ public class MoviesApi( * * @param request The request parameters */ - public suspend fun getMovieRecommendations(request: GetMovieRecommendationsRequest = - GetMovieRecommendationsRequest()): Response<List<RecommendationDto>> = getMovieRecommendations( + public suspend fun getMovieRecommendations(request: GetMovieRecommendationsRequest = GetMovieRecommendationsRequest()): Response<List<RecommendationDto>> = getMovieRecommendations( userId = request.userId, parentId = request.parentId, fields = request.fields, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MusicGenresApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MusicGenresApi.kt index 0df7a6d1a..90e264d55 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MusicGenresApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/MusicGenresApi.kt @@ -44,35 +44,27 @@ public class MusicGenresApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDto>("/MusicGenres/{genreName}", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDto>("/MusicGenres/{genreName}", pathParameters, queryParameters, data) return response } /** * Gets all music genres from a given item, folder, or the entire library. * - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param searchTerm The search term. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. * @param fields Optional. Specify additional fields of information to return in the output. - * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. - * This allows multiple, comma delimited. - * @param includeItemTypes Optional. If specified, results will be filtered in based on item type. - * This allows multiple, comma delimited. + * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited. * @param isFavorite Optional filter by items that are marked as favorite, or not. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. * @param userId User id. - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater - * than a given input string. - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input - * string. - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input - * string. + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. * @param sortBy Optional. Specify one or more sort orders, comma delimited. * @param sortOrder Sort Order - Ascending,Descending. * @param enableImages Optional, include image information in output. @@ -121,8 +113,7 @@ public class MusicGenresApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/MusicGenres", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDtoQueryResult>("/MusicGenres", pathParameters, queryParameters, data) return response } @@ -132,8 +123,7 @@ public class MusicGenresApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getMusicGenres(request: GetMusicGenresRequest = GetMusicGenresRequest()): - Response<BaseItemDtoQueryResult> = getMusicGenres( + public suspend fun getMusicGenres(request: GetMusicGenresRequest = GetMusicGenresRequest()): Response<BaseItemDtoQueryResult> = getMusicGenres( startIndex = request.startIndex, limit = request.limit, searchTerm = request.searchTerm, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PackageApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PackageApi.kt index 7bddb1e4a..71d4f54a3 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PackageApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PackageApi.kt @@ -34,8 +34,7 @@ public class PackageApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/Packages/Installing/{packageId}", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/Packages/Installing/{packageId}", pathParameters, queryParameters, data) return response } @@ -45,8 +44,7 @@ public class PackageApi( * @param name The name of the package. * @param assemblyGuid The GUID of the associated assembly. */ - public suspend fun getPackageInfo(name: String, assemblyGuid: UUID? = null): - Response<PackageInfo> { + public suspend fun getPackageInfo(name: String, assemblyGuid: UUID? = null): Response<PackageInfo> { val pathParameters = buildMap<String, Any?>(1) { put("name", name) } @@ -76,8 +74,7 @@ public class PackageApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<RepositoryInfo>>("/Repositories", pathParameters, queryParameters, - data) + val response = api.`get`<List<RepositoryInfo>>("/Repositories", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PersonsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PersonsApi.kt index a50dec34f..311fadd09 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PersonsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PersonsApi.kt @@ -52,17 +52,13 @@ public class PersonsApi( * @param searchTerm The search term. * @param fields Optional. Specify additional fields of information to return in the output. * @param filters Optional. Specify additional filters to apply. - * @param isFavorite Optional filter by items that are marked as favorite, or not. userId is - * required. + * @param isFavorite Optional filter by items that are marked as favorite, or not. userId is required. * @param enableUserData Optional, include user data. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. - * @param excludePersonTypes Optional. If specified results will be filtered to exclude those - * containing the specified PersonType. Allows multiple, comma-delimited. - * @param personTypes Optional. If specified results will be filtered to include only those - * containing the specified PersonType. Allows multiple, comma-delimited. - * @param appearsInItemId Optional. If specified, person results will be filtered on items related - * to said persons. + * @param excludePersonTypes Optional. If specified results will be filtered to exclude those containing the specified PersonType. Allows multiple, comma-delimited. + * @param personTypes Optional. If specified results will be filtered to include only those containing the specified PersonType. Allows multiple, comma-delimited. + * @param appearsInItemId Optional. If specified, person results will be filtered on items related to said persons. * @param userId User id. * @param enableImages Optional, include image information in output. */ @@ -98,8 +94,7 @@ public class PersonsApi( put("enableImages", enableImages) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Persons", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDtoQueryResult>("/Persons", pathParameters, queryParameters, data) return response } @@ -108,8 +103,7 @@ public class PersonsApi( * * @param request The request parameters */ - public suspend fun getPersons(request: GetPersonsRequest = GetPersonsRequest()): - Response<BaseItemDtoQueryResult> = getPersons( + public suspend fun getPersons(request: GetPersonsRequest = GetPersonsRequest()): Response<BaseItemDtoQueryResult> = getPersons( limit = request.limit, searchTerm = request.searchTerm, fields = request.fields, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PlayStateApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PlayStateApi.kt index ba86fb7db..fd72bcc63 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PlayStateApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PlayStateApi.kt @@ -52,8 +52,7 @@ public class PlayStateApi( put("datePlayed", datePlayed) } val data = null - val response = api.post<UserItemDataDto>("/UserPlayedItems/{itemId}", pathParameters, - queryParameters, data) + val response = api.post<UserItemDataDto>("/UserPlayedItems/{itemId}", pathParameters, queryParameters, data) return response } @@ -63,8 +62,7 @@ public class PlayStateApi( * @param itemId Item id. * @param userId User id. */ - public suspend fun markUnplayedItem(itemId: UUID, userId: UUID? = null): - Response<UserItemDataDto> { + public suspend fun markUnplayedItem(itemId: UUID, userId: UUID? = null): Response<UserItemDataDto> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -72,8 +70,7 @@ public class PlayStateApi( put("userId", userId) } val data = null - val response = api.delete<UserItemDataDto>("/UserPlayedItems/{itemId}", pathParameters, - queryParameters, data) + val response = api.delete<UserItemDataDto>("/UserPlayedItems/{itemId}", pathParameters, queryParameters, data) return response } @@ -124,8 +121,7 @@ public class PlayStateApi( put("isMuted", isMuted) } val data = null - val response = api.post<Unit>("/PlayingItems/{itemId}/Progress", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/PlayingItems/{itemId}/Progress", pathParameters, queryParameters, data) return response } @@ -134,8 +130,7 @@ public class PlayStateApi( * * @param request The request parameters */ - public suspend fun onPlaybackProgress(request: OnPlaybackProgressRequest): Response<Unit> = - onPlaybackProgress( + public suspend fun onPlaybackProgress(request: OnPlaybackProgressRequest): Response<Unit> = onPlaybackProgress( itemId = request.itemId, mediaSourceId = request.mediaSourceId, positionTicks = request.positionTicks, @@ -194,8 +189,7 @@ public class PlayStateApi( * * @param request The request parameters */ - public suspend fun onPlaybackStart(request: OnPlaybackStartRequest): Response<Unit> = - onPlaybackStart( + public suspend fun onPlaybackStart(request: OnPlaybackStartRequest): Response<Unit> = onPlaybackStart( itemId = request.itemId, mediaSourceId = request.mediaSourceId, audioStreamIndex = request.audioStreamIndex, @@ -212,8 +206,7 @@ public class PlayStateApi( * @param itemId Item id. * @param mediaSourceId The id of the MediaSource. * @param nextMediaType The next media type that will play. - * @param positionTicks Optional. The position, in ticks, where playback stopped. 1 tick = 10000 - * ms. + * @param positionTicks Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms. * @param liveStreamId The live stream id. * @param playSessionId The play session id. */ @@ -245,8 +238,7 @@ public class PlayStateApi( * * @param request The request parameters */ - public suspend fun onPlaybackStopped(request: OnPlaybackStoppedRequest): Response<Unit> = - onPlaybackStopped( + public suspend fun onPlaybackStopped(request: OnPlaybackStoppedRequest): Response<Unit> = onPlaybackStopped( itemId = request.itemId, mediaSourceId = request.mediaSourceId, nextMediaType = request.nextMediaType, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PlaylistsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PlaylistsApi.kt index c7a20b8be..bb704b7f1 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PlaylistsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PlaylistsApi.kt @@ -57,28 +57,23 @@ public class PlaylistsApi( put("userId", userId) } val data = null - val response = api.post<Unit>("/Playlists/{playlistId}/Items", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Playlists/{playlistId}/Items", pathParameters, queryParameters, data) return response } /** - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher - * precedence. + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. * Query parameters are obsolete. */ - public suspend fun createPlaylist(`data`: CreatePlaylistDto? = null): - Response<PlaylistCreationResult> { + public suspend fun createPlaylist(`data`: CreatePlaylistDto? = null): Response<PlaylistCreationResult> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<PlaylistCreationResult>("/Playlists", pathParameters, queryParameters, - data) + val response = api.post<PlaylistCreationResult>("/Playlists", pathParameters, queryParameters, data) return response } /** - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher - * precedence. + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. * Query parameters are obsolete. * * @param name The playlist name. @@ -101,8 +96,7 @@ public class PlaylistsApi( put("userId", userId) put("mediaType", mediaType) } - val response = api.post<PlaylistCreationResult>("/Playlists", pathParameters, queryParameters, - data) + val response = api.post<PlaylistCreationResult>("/Playlists", pathParameters, queryParameters, data) return response } @@ -117,8 +111,7 @@ public class PlaylistsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<PlaylistDto>("/Playlists/{playlistId}", pathParameters, queryParameters, - data) + val response = api.`get`<PlaylistDto>("/Playlists/{playlistId}", pathParameters, queryParameters, data) return response } @@ -127,8 +120,7 @@ public class PlaylistsApi( * * @param playlistId The playlist id. * @param userId User id. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param fields Optional. Specify additional fields of information to return in the output. * @param enableImages Optional. Include image information in output. @@ -161,8 +153,7 @@ public class PlaylistsApi( put("enableImageTypes", enableImageTypes) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Playlists/{playlistId}/Items", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Playlists/{playlistId}/Items", pathParameters, queryParameters, data) return response } @@ -171,8 +162,7 @@ public class PlaylistsApi( * * @param request The request parameters */ - public suspend fun getPlaylistItems(request: GetPlaylistItemsRequest): - Response<BaseItemDtoQueryResult> = getPlaylistItems( + public suspend fun getPlaylistItems(request: GetPlaylistItemsRequest): Response<BaseItemDtoQueryResult> = getPlaylistItems( playlistId = request.playlistId, userId = request.userId, startIndex = request.startIndex, @@ -190,16 +180,14 @@ public class PlaylistsApi( * @param playlistId The playlist id. * @param userId The user id. */ - public suspend fun getPlaylistUser(playlistId: UUID, userId: UUID): - Response<PlaylistUserPermissions> { + public suspend fun getPlaylistUser(playlistId: UUID, userId: UUID): Response<PlaylistUserPermissions> { val pathParameters = buildMap<String, Any?>(2) { put("playlistId", playlistId) put("userId", userId) } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<PlaylistUserPermissions>("/Playlists/{playlistId}/Users/{userId}", - pathParameters, queryParameters, data) + val response = api.`get`<PlaylistUserPermissions>("/Playlists/{playlistId}/Users/{userId}", pathParameters, queryParameters, data) return response } @@ -214,8 +202,7 @@ public class PlaylistsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<PlaylistUserPermissions>>("/Playlists/{playlistId}/Users", - pathParameters, queryParameters, data) + val response = api.`get`<List<PlaylistUserPermissions>>("/Playlists/{playlistId}/Users", pathParameters, queryParameters, data) return response } @@ -238,8 +225,7 @@ public class PlaylistsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Playlists/{playlistId}/Items/{itemId}/Move/{newIndex}", - pathParameters, queryParameters, data) + val response = api.post<Unit>("/Playlists/{playlistId}/Items/{itemId}/Move/{newIndex}", pathParameters, queryParameters, data) return response } @@ -249,8 +235,7 @@ public class PlaylistsApi( * @param playlistId The playlist id. * @param entryIds The item ids, comma delimited. */ - public suspend fun removeItemFromPlaylist(playlistId: String, entryIds: Collection<String>? = - emptyList()): Response<Unit> { + public suspend fun removeItemFromPlaylist(playlistId: String, entryIds: Collection<String>? = emptyList()): Response<Unit> { val pathParameters = buildMap<String, Any?>(1) { put("playlistId", playlistId) } @@ -258,8 +243,7 @@ public class PlaylistsApi( put("entryIds", entryIds) } val data = null - val response = api.delete<Unit>("/Playlists/{playlistId}/Items", pathParameters, queryParameters, - data) + val response = api.delete<Unit>("/Playlists/{playlistId}/Items", pathParameters, queryParameters, data) return response } @@ -276,8 +260,7 @@ public class PlaylistsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/Playlists/{playlistId}/Users/{userId}", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/Playlists/{playlistId}/Users/{userId}", pathParameters, queryParameters, data) return response } @@ -311,8 +294,7 @@ public class PlaylistsApi( put("userId", userId) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/Playlists/{playlistId}/Users/{userId}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Playlists/{playlistId}/Users/{userId}", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PluginsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PluginsApi.kt index e0e9f42cb..2fdbfff23 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PluginsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/PluginsApi.kt @@ -38,8 +38,7 @@ public class PluginsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Plugins/{pluginId}/{version}/Disable", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Plugins/{pluginId}/{version}/Disable", pathParameters, queryParameters, data) return response } @@ -56,8 +55,7 @@ public class PluginsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Plugins/{pluginId}/{version}/Enable", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Plugins/{pluginId}/{version}/Enable", pathParameters, queryParameters, data) return response } @@ -72,8 +70,7 @@ public class PluginsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<BasePluginConfiguration>("/Plugins/{pluginId}/Configuration", - pathParameters, queryParameters, data) + val response = api.`get`<BasePluginConfiguration>("/Plugins/{pluginId}/Configuration", pathParameters, queryParameters, data) return response } @@ -90,8 +87,7 @@ public class PluginsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/Plugins/{pluginId}/{version}/Image", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Plugins/{pluginId}/{version}/Image", pathParameters, queryParameters, data) return response } @@ -121,8 +117,7 @@ public class PluginsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Plugins/{pluginId}/Manifest", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Plugins/{pluginId}/Manifest", pathParameters, queryParameters, data) return response } @@ -166,8 +161,7 @@ public class PluginsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/Plugins/{pluginId}/{version}", pathParameters, queryParameters, - data) + val response = api.delete<Unit>("/Plugins/{pluginId}/{version}", pathParameters, queryParameters, data) return response } @@ -182,8 +176,7 @@ public class PluginsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Plugins/{pluginId}/Configuration", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Plugins/{pluginId}/Configuration", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/QuickConnectApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/QuickConnectApi.kt index b3f70cdb0..3c99461c8 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/QuickConnectApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/QuickConnectApi.kt @@ -59,8 +59,7 @@ public class QuickConnectApi( put("secret", secret) } val data = null - val response = api.`get`<QuickConnectResult>("/QuickConnect/Connect", pathParameters, - queryParameters, data) + val response = api.`get`<QuickConnectResult>("/QuickConnect/Connect", pathParameters, queryParameters, data) return response } @@ -71,8 +70,7 @@ public class QuickConnectApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<QuickConnectResult>("/QuickConnect/Initiate", pathParameters, - queryParameters, data) + val response = api.post<QuickConnectResult>("/QuickConnect/Initiate", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/RemoteImageApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/RemoteImageApi.kt index c7a2fce77..8465bb475 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/RemoteImageApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/RemoteImageApi.kt @@ -46,8 +46,7 @@ public class RemoteImageApi( put("imageUrl", imageUrl) } val data = null - val response = api.post<Unit>("/Items/{itemId}/RemoteImages/Download", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Items/{itemId}/RemoteImages/Download", pathParameters, queryParameters, data) return response } @@ -62,8 +61,7 @@ public class RemoteImageApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<ImageProviderInfo>>("/Items/{itemId}/RemoteImages/Providers", - pathParameters, queryParameters, data) + val response = api.`get`<List<ImageProviderInfo>>("/Items/{itemId}/RemoteImages/Providers", pathParameters, queryParameters, data) return response } @@ -72,8 +70,7 @@ public class RemoteImageApi( * * @param itemId Item Id. * @param type The image type. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param providerName Optional. The image provider to use. * @param includeAllLanguages Optional. Include all languages. @@ -97,8 +94,7 @@ public class RemoteImageApi( put("includeAllLanguages", includeAllLanguages) } val data = null - val response = api.`get`<RemoteImageResult>("/Items/{itemId}/RemoteImages", pathParameters, - queryParameters, data) + val response = api.`get`<RemoteImageResult>("/Items/{itemId}/RemoteImages", pathParameters, queryParameters, data) return response } @@ -107,8 +103,7 @@ public class RemoteImageApi( * * @param request The request parameters */ - public suspend fun getRemoteImages(request: GetRemoteImagesRequest): Response<RemoteImageResult> = - getRemoteImages( + public suspend fun getRemoteImages(request: GetRemoteImagesRequest): Response<RemoteImageResult> = getRemoteImages( itemId = request.itemId, type = request.type, startIndex = request.startIndex, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ScheduledTasksApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ScheduledTasksApi.kt index d9e6b1d87..2b8bf46f1 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ScheduledTasksApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/ScheduledTasksApi.kt @@ -34,8 +34,7 @@ public class ScheduledTasksApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<TaskInfo>("/ScheduledTasks/{taskId}", pathParameters, queryParameters, - data) + val response = api.`get`<TaskInfo>("/ScheduledTasks/{taskId}", pathParameters, queryParameters, data) return response } @@ -45,8 +44,7 @@ public class ScheduledTasksApi( * @param isHidden Optional filter tasks that are hidden, or not. * @param isEnabled Optional filter tasks that are enabled, or not. */ - public suspend fun getTasks(isHidden: Boolean? = null, isEnabled: Boolean? = null): - Response<List<TaskInfo>> { + public suspend fun getTasks(isHidden: Boolean? = null, isEnabled: Boolean? = null): Response<List<TaskInfo>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(2) { put("isHidden", isHidden) @@ -68,8 +66,7 @@ public class ScheduledTasksApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/ScheduledTasks/Running/{taskId}", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/ScheduledTasks/Running/{taskId}", pathParameters, queryParameters, data) return response } @@ -84,8 +81,7 @@ public class ScheduledTasksApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/ScheduledTasks/Running/{taskId}", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/ScheduledTasks/Running/{taskId}", pathParameters, queryParameters, data) return response } @@ -99,8 +95,7 @@ public class ScheduledTasksApi( put("taskId", taskId) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/ScheduledTasks/{taskId}/Triggers", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/ScheduledTasks/{taskId}/Triggers", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SearchApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SearchApi.kt index 2077ccc2d..67a4e1bee 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SearchApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SearchApi.kt @@ -28,18 +28,13 @@ public class SearchApi( /** * Gets the search hint result. * - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. - * @param userId Optional. Supply a user id to search within a user's library or omit to search - * all. + * @param userId Optional. Supply a user id to search within a user's library or omit to search all. * @param searchTerm The search term to filter on. - * @param includeItemTypes If specified, only results with the specified item types are returned. - * This allows multiple, comma delimited. - * @param excludeItemTypes If specified, results with these item types are filtered out. This - * allows multiple, comma delimited. - * @param mediaTypes If specified, only results with the specified media types are returned. This - * allows multiple, comma delimited. + * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimited. + * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimited. + * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimited. * @param parentId If specified, only children of the parent are returned. * @param isMovie Optional filter for movies. * @param isSeries Optional filter for series. @@ -103,8 +98,7 @@ public class SearchApi( * * @param request The request parameters */ - public suspend fun getSearchHints(request: GetSearchHintsRequest): Response<SearchHintResult> = - getSearchHints( + public suspend fun getSearchHints(request: GetSearchHintsRequest): Response<SearchHintResult> = getSearchHints( startIndex = request.startIndex, limit = request.limit, userId = request.userId, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SessionApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SessionApi.kt index 3846eed0c..ffb881ae9 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SessionApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SessionApi.kt @@ -51,8 +51,7 @@ public class SessionApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Sessions/{sessionId}/User/{userId}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Sessions/{sessionId}/User/{userId}", pathParameters, queryParameters, data) return response } @@ -79,8 +78,7 @@ public class SessionApi( put("itemName", itemName) } val data = null - val response = api.post<Unit>("/Sessions/{sessionId}/Viewing", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Sessions/{sessionId}/Viewing", pathParameters, queryParameters, data) return response } @@ -91,8 +89,7 @@ public class SessionApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<NameIdPair>>("/Auth/Providers", pathParameters, queryParameters, - data) + val response = api.`get`<List<NameIdPair>>("/Auth/Providers", pathParameters, queryParameters, data) return response } @@ -103,8 +100,7 @@ public class SessionApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<NameIdPair>>("/Auth/PasswordResetProviders", pathParameters, - queryParameters, data) + val response = api.`get`<List<NameIdPair>>("/Auth/PasswordResetProviders", pathParameters, queryParameters, data) return response } @@ -135,8 +131,7 @@ public class SessionApi( * Instructs a session to play an item. * * @param sessionId The session id. - * @param playCommand The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who - * have not yet implemented play next and play last may play now. + * @param playCommand The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. * @param itemIds The ids of the items to play, comma delimited. * @param startPositionTicks The starting position of the first item. * @param mediaSourceId Optional. The media source id. @@ -167,8 +162,7 @@ public class SessionApi( put("startIndex", startIndex) } val data = null - val response = api.post<Unit>("/Sessions/{sessionId}/Playing", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Sessions/{sessionId}/Playing", pathParameters, queryParameters, data) return response } @@ -192,8 +186,7 @@ public class SessionApi( * Updates capabilities for a device. * * @param id The session id. - * @param playableMediaTypes A list of playable media types, comma delimited. Audio, Video, Book, - * Photo. + * @param playableMediaTypes A list of playable media types, comma delimited. Audio, Video, Book, Photo. * @param supportedCommands A list of supported remote control commands, comma delimited. * @param supportsMediaControl Determines whether media can be played remotely.. * @param supportsPersistentIdentifier Determines whether the device supports a unique identifier. @@ -223,8 +216,7 @@ public class SessionApi( * * @param request The request parameters */ - public suspend fun postCapabilities(request: PostCapabilitiesRequest = PostCapabilitiesRequest()): - Response<Unit> = postCapabilities( + public suspend fun postCapabilities(request: PostCapabilitiesRequest = PostCapabilitiesRequest()): Response<Unit> = postCapabilities( id = request.id, playableMediaTypes = request.playableMediaTypes, supportedCommands = request.supportedCommands, @@ -237,14 +229,12 @@ public class SessionApi( * * @param id The session id. */ - public suspend fun postFullCapabilities(id: String? = null, `data`: ClientCapabilitiesDto): - Response<Unit> { + public suspend fun postFullCapabilities(id: String? = null, `data`: ClientCapabilitiesDto): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(1) { put("id", id) } - val response = api.post<Unit>("/Sessions/Capabilities/Full", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Sessions/Capabilities/Full", pathParameters, queryParameters, data) return response } @@ -261,8 +251,7 @@ public class SessionApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/Sessions/{sessionId}/User/{userId}", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/Sessions/{sessionId}/User/{userId}", pathParameters, queryParameters, data) return response } @@ -299,14 +288,12 @@ public class SessionApi( * * @param sessionId The session id. */ - public suspend fun sendFullGeneralCommand(sessionId: String, `data`: GeneralCommand): - Response<Unit> { + public suspend fun sendFullGeneralCommand(sessionId: String, `data`: GeneralCommand): Response<Unit> { val pathParameters = buildMap<String, Any?>(1) { put("sessionId", sessionId) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/Sessions/{sessionId}/Command", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Sessions/{sessionId}/Command", pathParameters, queryParameters, data) return response } @@ -316,16 +303,14 @@ public class SessionApi( * @param sessionId The session id. * @param command The command to send. */ - public suspend fun sendGeneralCommand(sessionId: String, command: GeneralCommandType): - Response<Unit> { + public suspend fun sendGeneralCommand(sessionId: String, command: GeneralCommandType): Response<Unit> { val pathParameters = buildMap<String, Any?>(2) { put("sessionId", sessionId) put("command", command) } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Sessions/{sessionId}/Command/{command}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Sessions/{sessionId}/Command/{command}", pathParameters, queryParameters, data) return response } @@ -339,8 +324,7 @@ public class SessionApi( put("sessionId", sessionId) } val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/Sessions/{sessionId}/Message", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/Sessions/{sessionId}/Message", pathParameters, queryParameters, data) return response } @@ -367,8 +351,7 @@ public class SessionApi( put("controllingUserId", controllingUserId) } val data = null - val response = api.post<Unit>("/Sessions/{sessionId}/Playing/{command}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Sessions/{sessionId}/Playing/{command}", pathParameters, queryParameters, data) return response } @@ -378,16 +361,14 @@ public class SessionApi( * @param sessionId The session id. * @param command The command to send. */ - public suspend fun sendSystemCommand(sessionId: String, command: GeneralCommandType): - Response<Unit> { + public suspend fun sendSystemCommand(sessionId: String, command: GeneralCommandType): Response<Unit> { val pathParameters = buildMap<String, Any?>(2) { put("sessionId", sessionId) put("command", command) } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Sessions/{sessionId}/System/{command}", pathParameters, - queryParameters, data) + val response = api.post<Unit>("/Sessions/{sessionId}/System/{command}", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/StartupApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/StartupApi.kt index 8eee895e5..986104c11 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/StartupApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/StartupApi.kt @@ -49,8 +49,7 @@ public class StartupApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<StartupUserDto>("/Startup/FirstUser", pathParameters, queryParameters, - data) + val response = api.`get`<StartupUserDto>("/Startup/FirstUser", pathParameters, queryParameters, data) return response } @@ -61,8 +60,7 @@ public class StartupApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<StartupConfigurationDto>("/Startup/Configuration", pathParameters, - queryParameters, data) + val response = api.`get`<StartupConfigurationDto>("/Startup/Configuration", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/StudiosApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/StudiosApi.kt index 191e8ca85..bbb7a076c 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/StudiosApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/StudiosApi.kt @@ -48,28 +48,21 @@ public class StudiosApi( /** * Gets all studios from a given item, folder, or the entire library. * - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param searchTerm Optional. Search term. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. * @param fields Optional. Specify additional fields of information to return in the output. - * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. - * This allows multiple, comma delimited. - * @param includeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. + * @param excludeItemTypes Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param isFavorite Optional filter by items that are marked as favorite, or not. * @param enableUserData Optional, include user data. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. * @param userId User id. - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater - * than a given input string. - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input - * string. - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input - * string. + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. * @param enableImages Optional, include image information in output. * @param enableTotalRecordCount Total record count. */ @@ -113,8 +106,7 @@ public class StudiosApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Studios", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDtoQueryResult>("/Studios", pathParameters, queryParameters, data) return response } @@ -123,8 +115,7 @@ public class StudiosApi( * * @param request The request parameters */ - public suspend fun getStudios(request: GetStudiosRequest = GetStudiosRequest()): - Response<BaseItemDtoQueryResult> = getStudios( + public suspend fun getStudios(request: GetStudiosRequest = GetStudiosRequest()): Response<BaseItemDtoQueryResult> = getStudios( startIndex = request.startIndex, limit = request.limit, searchTerm = request.searchTerm, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SubtitleApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SubtitleApi.kt index 94647ea2c..ff170d692 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SubtitleApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SubtitleApi.kt @@ -46,8 +46,7 @@ public class SubtitleApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/Videos/{itemId}/Subtitles/{index}", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/Videos/{itemId}/Subtitles/{index}", pathParameters, queryParameters, data) return response } @@ -64,8 +63,7 @@ public class SubtitleApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.post<Unit>("/Items/{itemId}/RemoteSearch/Subtitles/{subtitleId}", - pathParameters, queryParameters, data) + val response = api.post<Unit>("/Items/{itemId}/RemoteSearch/Subtitles/{subtitleId}", pathParameters, queryParameters, data) return response } @@ -80,8 +78,7 @@ public class SubtitleApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/FallbackFont/Fonts/{name}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/FallbackFont/Fonts/{name}", pathParameters, queryParameters, data) return response } @@ -105,8 +102,7 @@ public class SubtitleApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<FontFile>>("/FallbackFont/Fonts", pathParameters, queryParameters, - data) + val response = api.`get`<List<FontFile>>("/FallbackFont/Fonts", pathParameters, queryParameters, data) return response } @@ -121,8 +117,7 @@ public class SubtitleApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<String>("/Providers/Subtitles/Subtitles/{subtitleId}", pathParameters, - queryParameters, data) + val response = api.`get`<String>("/Providers/Subtitles/Subtitles/{subtitleId}", pathParameters, queryParameters, data) return response } @@ -161,9 +156,7 @@ public class SubtitleApi( put("startPositionTicks", startPositionTicks) } val data = null - val response = - api.`get`<String>("/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}", - pathParameters, queryParameters, data) + val response = api.`get`<String>("/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}", pathParameters, queryParameters, data) return response } @@ -231,9 +224,7 @@ public class SubtitleApi( put("startPositionTicks", startPositionTicks) } val data = null - val response = - api.`get`<String>("/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}", - pathParameters, queryParameters, data) + val response = api.`get`<String>("/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}", pathParameters, queryParameters, data) return response } @@ -243,8 +234,7 @@ public class SubtitleApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getSubtitleDeprecated(request: GetSubtitleDeprecatedRequest): Response<String> = - getSubtitleDeprecated( + public suspend fun getSubtitleDeprecated(request: GetSubtitleDeprecatedRequest): Response<String> = getSubtitleDeprecated( routeItemId = request.routeItemId, routeMediaSourceId = request.routeMediaSourceId, routeIndex = request.routeIndex, @@ -282,9 +272,7 @@ public class SubtitleApi( put("segmentLength", segmentLength) } val data = null - val response = - api.`get`<ByteReadChannel>("/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8", pathParameters, queryParameters, data) return response } @@ -310,8 +298,7 @@ public class SubtitleApi( val queryParameters = buildMap<String, Any?>(1) { put("segmentLength", segmentLength) } - return api.createUrl("/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8", - pathParameters, queryParameters) + return api.createUrl("/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8", pathParameters, queryParameters) } /** @@ -349,9 +336,7 @@ public class SubtitleApi( put("addVttTimeMap", addVttTimeMap) } val data = null - val response = - api.`get`<String>("/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}", - pathParameters, queryParameters, data) + val response = api.`get`<String>("/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}", pathParameters, queryParameters, data) return response } @@ -360,8 +345,7 @@ public class SubtitleApi( * * @param request The request parameters */ - public suspend fun getSubtitleWithTicks(request: GetSubtitleWithTicksRequest): Response<String> = - getSubtitleWithTicks( + public suspend fun getSubtitleWithTicks(request: GetSubtitleWithTicksRequest): Response<String> = getSubtitleWithTicks( routeItemId = request.routeItemId, routeMediaSourceId = request.routeMediaSourceId, routeIndex = request.routeIndex, @@ -423,9 +407,7 @@ public class SubtitleApi( put("addVttTimeMap", addVttTimeMap) } val data = null - val response = - api.`get`<String>("/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}", - pathParameters, queryParameters, data) + val response = api.`get`<String>("/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}", pathParameters, queryParameters, data) return response } @@ -435,8 +417,7 @@ public class SubtitleApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getSubtitleWithTicksDeprecated(request: GetSubtitleWithTicksDeprecatedRequest): - Response<String> = getSubtitleWithTicksDeprecated( + public suspend fun getSubtitleWithTicksDeprecated(request: GetSubtitleWithTicksDeprecatedRequest): Response<String> = getSubtitleWithTicksDeprecated( routeItemId = request.routeItemId, routeMediaSourceId = request.routeMediaSourceId, routeIndex = request.routeIndex, @@ -472,9 +453,7 @@ public class SubtitleApi( put("isPerfectMatch", isPerfectMatch) } val data = null - val response = - api.`get`<List<RemoteSubtitleInfo>>("/Items/{itemId}/RemoteSearch/Subtitles/{language}", - pathParameters, queryParameters, data) + val response = api.`get`<List<RemoteSubtitleInfo>>("/Items/{itemId}/RemoteSearch/Subtitles/{language}", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SuggestionsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SuggestionsApi.kt index 3ad850adb..7725588e4 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SuggestionsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SuggestionsApi.kt @@ -53,8 +53,7 @@ public class SuggestionsApi( put("enableTotalRecordCount", enableTotalRecordCount) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Items/Suggestions", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Items/Suggestions", pathParameters, queryParameters, data) return response } @@ -63,8 +62,7 @@ public class SuggestionsApi( * * @param request The request parameters */ - public suspend fun getSuggestions(request: GetSuggestionsRequest = GetSuggestionsRequest()): - Response<BaseItemDtoQueryResult> = getSuggestions( + public suspend fun getSuggestions(request: GetSuggestionsRequest = GetSuggestionsRequest()): Response<BaseItemDtoQueryResult> = getSuggestions( userId = request.userId, mediaType = request.mediaType, type = request.type, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SyncPlayApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SyncPlayApi.kt index 8fcd462f0..4025d9fa7 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SyncPlayApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SyncPlayApi.kt @@ -62,8 +62,7 @@ public class SyncPlayApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<GroupInfoDto>>("/SyncPlay/List", pathParameters, queryParameters, - data) + val response = api.`get`<List<GroupInfoDto>>("/SyncPlay/List", pathParameters, queryParameters, data) return response } @@ -162,12 +161,10 @@ public class SyncPlayApi( /** * Request to remove items from the playlist in SyncPlay group. */ - public suspend fun syncPlayRemoveFromPlaylist(`data`: RemoveFromPlaylistRequestDto): - Response<Unit> { + public suspend fun syncPlayRemoveFromPlaylist(`data`: RemoveFromPlaylistRequestDto): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<Unit>("/SyncPlay/RemoveFromPlaylist", pathParameters, queryParameters, - data) + val response = api.post<Unit>("/SyncPlay/RemoveFromPlaylist", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SystemApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SystemApi.kt index c070f43dd..fd030ec69 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SystemApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/SystemApi.kt @@ -69,8 +69,7 @@ public class SystemApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<PublicSystemInfo>("/System/Info/Public", pathParameters, queryParameters, - data) + val response = api.`get`<PublicSystemInfo>("/System/Info/Public", pathParameters, queryParameters, data) return response } @@ -104,8 +103,7 @@ public class SystemApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<List<WakeOnLanInfo>>("/System/WakeOnLanInfo", pathParameters, - queryParameters, data) + val response = api.`get`<List<WakeOnLanInfo>>("/System/WakeOnLanInfo", pathParameters, queryParameters, data) return response } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TmdbApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TmdbApi.kt index 66b8fb9fc..b74375938 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TmdbApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TmdbApi.kt @@ -23,8 +23,7 @@ public class TmdbApi( val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ConfigImageTypes>("/Tmdb/ClientConfiguration", pathParameters, - queryParameters, data) + val response = api.`get`<ConfigImageTypes>("/Tmdb/ClientConfiguration", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TrailersApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TrailersApi.kt index 7f9f95294..cd4133f91 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TrailersApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TrailersApi.kt @@ -38,8 +38,7 @@ public class TrailersApi( /** * Finds movies and trailers similar to a given trailer. * - * @param userId The user id supplied as query parameter; this is required when not using an API - * key. + * @param userId The user id supplied as query parameter; this is required when not using an API key. * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). * @param hasThemeSong Optional filter by items with theme songs. * @param hasThemeVideo Optional filter by items with theme videos. @@ -51,18 +50,15 @@ public class TrailersApi( * @param hasParentalRating Optional filter by items that have or do not have a parental rating. * @param isHd Optional filter by items that are HD or not. * @param is4k Optional filter by items that are 4K or not. - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. - * This allows multiple, comma delimited. - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the - * LocationType. This allows multiple, comma delimited. + * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. + * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. * @param isMissing Optional filter by items that are missing episodes or not. * @param isUnaired Optional filter by items that are unaired episodes or not. * @param minCommunityRating Optional filter by minimum community rating. * @param minCriticRating Optional filter by minimum critic rating. * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. - * Format = ISO. + * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. * @param hasOverview Optional filter by items that have an overview or not. * @param hasImdbId Optional filter by items that have an IMDb id or not. @@ -73,72 +69,41 @@ public class TrailersApi( * @param isNews Optional filter for live tv news. * @param isKids Optional filter for live tv kids. * @param isSports Optional filter for live tv sports. - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. - * This allows multiple, comma delimited. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. - * @param recursive When searching within folders, this determines whether or not the search will - * be recursive. true/false. + * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. * @param searchTerm Optional. Filter based on a search term. * @param sortOrder Sort Order - Ascending, Descending. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines. - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma - * delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, - * Dislikes. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param isFavorite Optional filter by items that are marked as favorite, or not. * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. - * @param imageTypes Optional. If specified, results will be filtered based on those containing - * image types. This allows multiple, comma delimited. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, - * AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, - * PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param isPlayed Optional filter by items that are played, or not. - * @param genres Optional. If specified, results will be filtered based on genre. This allows - * multiple, pipe delimited. - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. - * This allows multiple, pipe delimited. - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, - * pipe delimited. - * @param years Optional. If specified, results will be filtered based on production year. This - * allows multiple, comma delimited. + * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. + * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. + * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. + * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. * @param enableUserData Optional, include user data. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. - * @param person Optional. If specified, results will be filtered to include only those containing - * the specified person. - * @param personIds Optional. If specified, results will be filtered to include only those - * containing the specified person id. - * @param personTypes Optional. If specified, along with Person, results will be filtered to - * include only those containing the specified person and PersonType. Allows multiple, - * comma-delimited. - * @param studios Optional. If specified, results will be filtered based on studio. This allows - * multiple, pipe delimited. - * @param artists Optional. If specified, results will be filtered based on artists. This allows - * multiple, pipe delimited. - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. - * This allows multiple, pipe delimited. - * @param artistIds Optional. If specified, results will be filtered to include only those - * containing the specified artist id. - * @param albumArtistIds Optional. If specified, results will be filtered to include only those - * containing the specified album artist id. - * @param contributingArtistIds Optional. If specified, results will be filtered to include only - * those containing the specified contributing artist id. - * @param albums Optional. If specified, results will be filtered based on album. This allows - * multiple, pipe delimited. - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows - * multiple, pipe delimited. - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This - * allows multiple, comma delimited. - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, - * comma delimited. + * @param person Optional. If specified, results will be filtered to include only those containing the specified person. + * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. + * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. + * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. + * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. + * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. + * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. + * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. + * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. + * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. + * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. + * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). * @param isLocked Optional filter by items that are locked. * @param isPlaceHolder Optional filter by items that are placeholders. @@ -150,16 +115,11 @@ public class TrailersApi( * @param maxHeight Optional. Filter by the maximum height of the item. * @param is3d Optional filter by items that are 3D, or not. * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater - * than a given input string. - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input - * string. - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input - * string. - * @param studioIds Optional. If specified, results will be filtered based on studio id. This - * allows multiple, pipe delimited. - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows - * multiple, pipe delimited. + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. + * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. + * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. * @param enableTotalRecordCount Optional. Enable the total record count. * @param enableImages Optional, include image information in output. */ @@ -337,8 +297,7 @@ public class TrailersApi( put("enableImages", enableImages) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Trailers", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDtoQueryResult>("/Trailers", pathParameters, queryParameters, data) return response } @@ -347,8 +306,7 @@ public class TrailersApi( * * @param request The request parameters */ - public suspend fun getTrailers(request: GetTrailersRequest = GetTrailersRequest()): - Response<BaseItemDtoQueryResult> = getTrailers( + public suspend fun getTrailers(request: GetTrailersRequest = GetTrailersRequest()): Response<BaseItemDtoQueryResult> = getTrailers( userId = request.userId, maxOfficialRating = request.maxOfficialRating, hasThemeSong = request.hasThemeSong, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TrickplayApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TrickplayApi.kt index 9fff70f59..cfa88517f 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TrickplayApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TrickplayApi.kt @@ -38,8 +38,7 @@ public class TrickplayApi( put("mediaSourceId", mediaSourceId) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/Trickplay/{width}/tiles.m3u8", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/Trickplay/{width}/tiles.m3u8", pathParameters, queryParameters, data) return response } @@ -62,8 +61,7 @@ public class TrickplayApi( val queryParameters = buildMap<String, Any?>(1) { put("mediaSourceId", mediaSourceId) } - return api.createUrl("/Videos/{itemId}/Trickplay/{width}/tiles.m3u8", pathParameters, - queryParameters) + return api.createUrl("/Videos/{itemId}/Trickplay/{width}/tiles.m3u8", pathParameters, queryParameters) } /** @@ -89,8 +87,7 @@ public class TrickplayApi( put("mediaSourceId", mediaSourceId) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/Trickplay/{width}/{index}.jpg", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/Trickplay/{width}/{index}.jpg", pathParameters, queryParameters, data) return response } @@ -116,7 +113,6 @@ public class TrickplayApi( val queryParameters = buildMap<String, Any?>(1) { put("mediaSourceId", mediaSourceId) } - return api.createUrl("/Videos/{itemId}/Trickplay/{width}/{index}.jpg", pathParameters, - queryParameters) + return api.createUrl("/Videos/{itemId}/Trickplay/{width}/{index}.jpg", pathParameters, queryParameters) } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TvShowsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TvShowsApi.kt index a895851c2..958159731 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TvShowsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/TvShowsApi.kt @@ -35,25 +35,19 @@ public class TvShowsApi( * * @param seriesId The series id. * @param userId The user id. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. * @param season Optional filter by season number. * @param seasonId Optional. Filter by season id. * @param isMissing Optional. Filter by items that are missing episodes or not. * @param adjacentTo Optional. Return items that are siblings of a supplied item. * @param startItemId Optional. Skip through the list until a given item is found. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param enableImages Optional, include image information in output. * @param imageTypeLimit Optional, the max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. * @param enableUserData Optional. Include user data. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, - * AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, - * PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ public suspend fun getEpisodes( seriesId: UUID, @@ -92,8 +86,7 @@ public class TvShowsApi( put("sortBy", sortBy) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Shows/{seriesId}/Episodes", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Shows/{seriesId}/Episodes", pathParameters, queryParameters, data) return response } @@ -102,8 +95,7 @@ public class TvShowsApi( * * @param request The request parameters */ - public suspend fun getEpisodes(request: GetEpisodesRequest): Response<BaseItemDtoQueryResult> = - getEpisodes( + public suspend fun getEpisodes(request: GetEpisodesRequest): Response<BaseItemDtoQueryResult> = getEpisodes( seriesId = request.seriesId, userId = request.userId, fields = request.fields, @@ -125,13 +117,11 @@ public class TvShowsApi( * Gets a list of next up episodes. * * @param userId The user id of the user to get the next up episodes for. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param fields Optional. Specify additional fields of information to return in the output. * @param seriesId Optional. Filter by series id. - * @param parentId Optional. Specify this to localize the search to a specific item or folder. Omit - * to use the root. + * @param parentId Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. * @param enableImages Optional. Include image information in output. * @param imageTypeLimit Optional. The max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. @@ -178,8 +168,7 @@ public class TvShowsApi( put("enableRewatching", enableRewatching) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Shows/NextUp", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDtoQueryResult>("/Shows/NextUp", pathParameters, queryParameters, data) return response } @@ -188,8 +177,7 @@ public class TvShowsApi( * * @param request The request parameters */ - public suspend fun getNextUp(request: GetNextUpRequest = GetNextUpRequest()): - Response<BaseItemDtoQueryResult> = getNextUp( + public suspend fun getNextUp(request: GetNextUpRequest = GetNextUpRequest()): Response<BaseItemDtoQueryResult> = getNextUp( userId = request.userId, startIndex = request.startIndex, limit = request.limit, @@ -212,10 +200,7 @@ public class TvShowsApi( * * @param seriesId The series id. * @param userId The user id. - * @param fields Optional. Specify additional fields of information to return in the output. This - * allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. * @param isSpecialSeason Optional. Filter by special season. * @param isMissing Optional. Filter by items that are missing episodes or not. * @param adjacentTo Optional. Return items that are siblings of a supplied item. @@ -251,8 +236,7 @@ public class TvShowsApi( put("enableUserData", enableUserData) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Shows/{seriesId}/Seasons", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Shows/{seriesId}/Seasons", pathParameters, queryParameters, data) return response } @@ -261,8 +245,7 @@ public class TvShowsApi( * * @param request The request parameters */ - public suspend fun getSeasons(request: GetSeasonsRequest): Response<BaseItemDtoQueryResult> = - getSeasons( + public suspend fun getSeasons(request: GetSeasonsRequest): Response<BaseItemDtoQueryResult> = getSeasons( seriesId = request.seriesId, userId = request.userId, fields = request.fields, @@ -279,12 +262,10 @@ public class TvShowsApi( * Gets a list of upcoming episodes. * * @param userId The user id of the user to get the upcoming episodes for. - * @param startIndex Optional. The record index to start at. All items with a lower index will be - * dropped from the results. + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param limit Optional. The maximum number of records to return. * @param fields Optional. Specify additional fields of information to return in the output. - * @param parentId Optional. Specify this to localize the search to a specific item or folder. Omit - * to use the root. + * @param parentId Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. * @param enableImages Optional. Include image information in output. * @param imageTypeLimit Optional. The max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. @@ -314,8 +295,7 @@ public class TvShowsApi( put("enableUserData", enableUserData) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Shows/Upcoming", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Shows/Upcoming", pathParameters, queryParameters, data) return response } @@ -324,8 +304,7 @@ public class TvShowsApi( * * @param request The request parameters */ - public suspend fun getUpcomingEpisodes(request: GetUpcomingEpisodesRequest = - GetUpcomingEpisodesRequest()): Response<BaseItemDtoQueryResult> = getUpcomingEpisodes( + public suspend fun getUpcomingEpisodes(request: GetUpcomingEpisodesRequest = GetUpcomingEpisodesRequest()): Response<BaseItemDtoQueryResult> = getUpcomingEpisodes( userId = request.userId, startIndex = request.startIndex, limit = request.limit, diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UniversalAudioApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UniversalAudioApi.kt index da6b60936..f0a5c5a28 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UniversalAudioApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UniversalAudioApi.kt @@ -32,15 +32,13 @@ public class UniversalAudioApi( * @param itemId The item id. * @param container Optional. The audio container. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param userId Optional. The user id. * @param audioCodec Optional. The audio codec to transcode to. * @param maxAudioChannels Optional. The maximum number of audio channels. * @param transcodingAudioChannels Optional. The number of how many audio channels to transcode to. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param transcodingContainer Optional. The container to transcode to. * @param transcodingProtocol Optional. The transcoding protocol. @@ -98,8 +96,7 @@ public class UniversalAudioApi( put("enableRedirection", enableRedirection) } val data = null - val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/universal", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Audio/{itemId}/universal", pathParameters, queryParameters, data) return response } @@ -108,8 +105,7 @@ public class UniversalAudioApi( * * @param request The request parameters */ - public suspend fun getUniversalAudioStream(request: GetUniversalAudioStreamRequest): - Response<ByteReadChannel> = getUniversalAudioStream( + public suspend fun getUniversalAudioStream(request: GetUniversalAudioStreamRequest): Response<ByteReadChannel> = getUniversalAudioStream( itemId = request.itemId, container = request.container, mediaSourceId = request.mediaSourceId, @@ -137,15 +133,13 @@ public class UniversalAudioApi( * @param itemId The item id. * @param container Optional. The audio container. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. * @param userId Optional. The user id. * @param audioCodec Optional. The audio codec to transcode to. * @param maxAudioChannels Optional. The maximum number of audio channels. * @param transcodingAudioChannels Optional. The number of how many audio channels to transcode to. * @param maxStreamingBitrate Optional. The maximum streaming bitrate. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param transcodingContainer Optional. The container to transcode to. * @param transcodingProtocol Optional. The transcoding protocol. diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserApi.kt index 9faa065ae..8e8aa8637 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserApi.kt @@ -37,24 +37,20 @@ public class UserApi( /** * Authenticates a user by name. */ - public suspend fun authenticateUserByName(`data`: AuthenticateUserByName): - Response<AuthenticationResult> { + public suspend fun authenticateUserByName(`data`: AuthenticateUserByName): Response<AuthenticationResult> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<AuthenticationResult>("/Users/AuthenticateByName", pathParameters, - queryParameters, data) + val response = api.post<AuthenticationResult>("/Users/AuthenticateByName", pathParameters, queryParameters, data) return response } /** * Authenticates a user with quick connect. */ - public suspend fun authenticateWithQuickConnect(`data`: QuickConnectDto): - Response<AuthenticationResult> { + public suspend fun authenticateWithQuickConnect(`data`: QuickConnectDto): Response<AuthenticationResult> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<AuthenticationResult>("/Users/AuthenticateWithQuickConnect", - pathParameters, queryParameters, data) + val response = api.post<AuthenticationResult>("/Users/AuthenticateWithQuickConnect", pathParameters, queryParameters, data) return response } @@ -89,8 +85,7 @@ public class UserApi( public suspend fun forgotPassword(`data`: ForgotPasswordDto): Response<ForgotPasswordResult> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<ForgotPasswordResult>("/Users/ForgotPassword", pathParameters, - queryParameters, data) + val response = api.post<ForgotPasswordResult>("/Users/ForgotPassword", pathParameters, queryParameters, data) return response } @@ -100,8 +95,7 @@ public class UserApi( public suspend fun forgotPasswordPin(`data`: ForgotPasswordPinDto): Response<PinRedeemResult> { val pathParameters = emptyMap<String, Any?>() val queryParameters = emptyMap<String, Any?>() - val response = api.post<PinRedeemResult>("/Users/ForgotPassword/Pin", pathParameters, - queryParameters, data) + val response = api.post<PinRedeemResult>("/Users/ForgotPassword/Pin", pathParameters, queryParameters, data) return response } @@ -148,8 +142,7 @@ public class UserApi( * @param isHidden Optional filter by IsHidden=true or false. * @param isDisabled Optional filter by IsDisabled=true or false. */ - public suspend fun getUsers(isHidden: Boolean? = null, isDisabled: Boolean? = null): - Response<List<UserDto>> { + public suspend fun getUsers(isHidden: Boolean? = null, isDisabled: Boolean? = null): Response<List<UserDto>> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(2) { put("isHidden", isHidden) @@ -179,8 +172,7 @@ public class UserApi( * * @param userId The user id. */ - public suspend fun updateUserConfiguration(userId: UUID? = null, `data`: UserConfiguration): - Response<Unit> { + public suspend fun updateUserConfiguration(userId: UUID? = null, `data`: UserConfiguration): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(1) { put("userId", userId) @@ -194,8 +186,7 @@ public class UserApi( * * @param userId The user id. */ - public suspend fun updateUserPassword(userId: UUID? = null, `data`: UpdateUserPassword): - Response<Unit> { + public suspend fun updateUserPassword(userId: UUID? = null, `data`: UpdateUserPassword): Response<Unit> { val pathParameters = emptyMap<String, Any?>() val queryParameters = buildMap<String, Any?>(1) { put("userId", userId) diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserLibraryApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserLibraryApi.kt index ce10754a6..9057ebd32 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserLibraryApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserLibraryApi.kt @@ -37,8 +37,7 @@ public class UserLibraryApi( * @param itemId Item id. * @param userId User id. */ - public suspend fun deleteUserItemRating(itemId: UUID, userId: UUID? = null): - Response<UserItemDataDto> { + public suspend fun deleteUserItemRating(itemId: UUID, userId: UUID? = null): Response<UserItemDataDto> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -46,8 +45,7 @@ public class UserLibraryApi( put("userId", userId) } val data = null - val response = api.delete<UserItemDataDto>("/UserItems/{itemId}/Rating", pathParameters, - queryParameters, data) + val response = api.delete<UserItemDataDto>("/UserItems/{itemId}/Rating", pathParameters, queryParameters, data) return response } @@ -57,8 +55,7 @@ public class UserLibraryApi( * @param itemId Item id. * @param userId User id. */ - public suspend fun getIntros(itemId: UUID, userId: UUID? = null): - Response<BaseItemDtoQueryResult> { + public suspend fun getIntros(itemId: UUID, userId: UUID? = null): Response<BaseItemDtoQueryResult> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -66,8 +63,7 @@ public class UserLibraryApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Items/{itemId}/Intros", pathParameters, - queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Items/{itemId}/Intros", pathParameters, queryParameters, data) return response } @@ -93,11 +89,9 @@ public class UserLibraryApi( * Gets latest media. * * @param userId User id. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. * @param fields Optional. Specify additional fields of information to return in the output. - * @param includeItemTypes Optional. If specified, results will be filtered based on item type. - * This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param isPlayed Filter by items that are played, or not. * @param enableImages Optional. include image information in output. * @param imageTypeLimit Optional. the max number of images to return, per image type. @@ -134,8 +128,7 @@ public class UserLibraryApi( put("groupItems", groupItems) } val data = null - val response = api.`get`<List<BaseItemDto>>("/Items/Latest", pathParameters, queryParameters, - data) + val response = api.`get`<List<BaseItemDto>>("/Items/Latest", pathParameters, queryParameters, data) return response } @@ -144,8 +137,7 @@ public class UserLibraryApi( * * @param request The request parameters */ - public suspend fun getLatestMedia(request: GetLatestMediaRequest = GetLatestMediaRequest()): - Response<List<BaseItemDto>> = getLatestMedia( + public suspend fun getLatestMedia(request: GetLatestMediaRequest = GetLatestMediaRequest()): Response<List<BaseItemDto>> = getLatestMedia( userId = request.userId, parentId = request.parentId, fields = request.fields, @@ -165,8 +157,7 @@ public class UserLibraryApi( * @param itemId Item id. * @param userId User id. */ - public suspend fun getLocalTrailers(itemId: UUID, userId: UUID? = null): - Response<List<BaseItemDto>> { + public suspend fun getLocalTrailers(itemId: UUID, userId: UUID? = null): Response<List<BaseItemDto>> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -174,8 +165,7 @@ public class UserLibraryApi( put("userId", userId) } val data = null - val response = api.`get`<List<BaseItemDto>>("/Items/{itemId}/LocalTrailers", pathParameters, - queryParameters, data) + val response = api.`get`<List<BaseItemDto>>("/Items/{itemId}/LocalTrailers", pathParameters, queryParameters, data) return response } @@ -200,8 +190,7 @@ public class UserLibraryApi( * @param itemId Item id. * @param userId User id. */ - public suspend fun getSpecialFeatures(itemId: UUID, userId: UUID? = null): - Response<List<BaseItemDto>> { + public suspend fun getSpecialFeatures(itemId: UUID, userId: UUID? = null): Response<List<BaseItemDto>> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -209,8 +198,7 @@ public class UserLibraryApi( put("userId", userId) } val data = null - val response = api.`get`<List<BaseItemDto>>("/Items/{itemId}/SpecialFeatures", pathParameters, - queryParameters, data) + val response = api.`get`<List<BaseItemDto>>("/Items/{itemId}/SpecialFeatures", pathParameters, queryParameters, data) return response } @@ -220,8 +208,7 @@ public class UserLibraryApi( * @param itemId Item id. * @param userId User id. */ - public suspend fun markFavoriteItem(itemId: UUID, userId: UUID? = null): - Response<UserItemDataDto> { + public suspend fun markFavoriteItem(itemId: UUID, userId: UUID? = null): Response<UserItemDataDto> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -229,8 +216,7 @@ public class UserLibraryApi( put("userId", userId) } val data = null - val response = api.post<UserItemDataDto>("/UserFavoriteItems/{itemId}", pathParameters, - queryParameters, data) + val response = api.post<UserItemDataDto>("/UserFavoriteItems/{itemId}", pathParameters, queryParameters, data) return response } @@ -240,8 +226,7 @@ public class UserLibraryApi( * @param itemId Item id. * @param userId User id. */ - public suspend fun unmarkFavoriteItem(itemId: UUID, userId: UUID? = null): - Response<UserItemDataDto> { + public suspend fun unmarkFavoriteItem(itemId: UUID, userId: UUID? = null): Response<UserItemDataDto> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -249,8 +234,7 @@ public class UserLibraryApi( put("userId", userId) } val data = null - val response = api.delete<UserItemDataDto>("/UserFavoriteItems/{itemId}", pathParameters, - queryParameters, data) + val response = api.delete<UserItemDataDto>("/UserFavoriteItems/{itemId}", pathParameters, queryParameters, data) return response } @@ -259,9 +243,7 @@ public class UserLibraryApi( * * @param itemId Item id. * @param userId User id. - * @param likes Whether this - * M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) - * is likes. + * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes. */ public suspend fun updateUserItemRating( itemId: UUID, @@ -276,8 +258,7 @@ public class UserLibraryApi( put("likes", likes) } val data = null - val response = api.post<UserItemDataDto>("/UserItems/{itemId}/Rating", pathParameters, - queryParameters, data) + val response = api.post<UserItemDataDto>("/UserItems/{itemId}/Rating", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserViewsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserViewsApi.kt index c80035db9..527aca4e1 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserViewsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/UserViewsApi.kt @@ -35,8 +35,7 @@ public class UserViewsApi( put("userId", userId) } val data = null - val response = api.`get`<List<SpecialViewOptionDto>>("/UserViews/GroupingOptions", pathParameters, - queryParameters, data) + val response = api.`get`<List<SpecialViewOptionDto>>("/UserViews/GroupingOptions", pathParameters, queryParameters, data) return response } @@ -44,8 +43,7 @@ public class UserViewsApi( * Get user views. * * @param userId User id. - * @param includeExternalContent Whether or not to include external views such as channels or live - * tv. + * @param includeExternalContent Whether or not to include external views such as channels or live tv. * @param presetViews Preset views. * @param includeHidden Whether or not to include hidden content. */ @@ -63,8 +61,7 @@ public class UserViewsApi( put("includeHidden", includeHidden) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/UserViews", pathParameters, queryParameters, - data) + val response = api.`get`<BaseItemDtoQueryResult>("/UserViews", pathParameters, queryParameters, data) return response } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/VideoAttachmentsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/VideoAttachmentsApi.kt index fd88f89b5..d5d19c1ab 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/VideoAttachmentsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/VideoAttachmentsApi.kt @@ -38,8 +38,7 @@ public class VideoAttachmentsApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{videoId}/{mediaSourceId}/Attachments/{index}", - pathParameters, queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{videoId}/{mediaSourceId}/Attachments/{index}", pathParameters, queryParameters, data) return response } @@ -61,7 +60,6 @@ public class VideoAttachmentsApi( put("index", index) } val queryParameters = emptyMap<String, Any?>() - return api.createUrl("/Videos/{videoId}/{mediaSourceId}/Attachments/{index}", pathParameters, - queryParameters) + return api.createUrl("/Videos/{videoId}/{mediaSourceId}/Attachments/{index}", pathParameters, queryParameters) } } diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/VideosApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/VideosApi.kt index e105c92dc..48d70fb33 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/VideosApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/VideosApi.kt @@ -48,8 +48,7 @@ public class VideosApi( } val queryParameters = emptyMap<String, Any?>() val data = null - val response = api.delete<Unit>("/Videos/{itemId}/AlternateSources", pathParameters, - queryParameters, data) + val response = api.delete<Unit>("/Videos/{itemId}/AlternateSources", pathParameters, queryParameters, data) return response } @@ -59,8 +58,7 @@ public class VideosApi( * @param itemId The item id. * @param userId Optional. Filter by user id, and attach user data. */ - public suspend fun getAdditionalPart(itemId: UUID, userId: UUID? = null): - Response<BaseItemDtoQueryResult> { + public suspend fun getAdditionalPart(itemId: UUID, userId: UUID? = null): Response<BaseItemDtoQueryResult> { val pathParameters = buildMap<String, Any?>(1) { put("itemId", itemId) } @@ -68,8 +66,7 @@ public class VideosApi( put("userId", userId) } val data = null - val response = api.`get`<BaseItemDtoQueryResult>("/Videos/{itemId}/AdditionalParts", - pathParameters, queryParameters, data) + val response = api.`get`<BaseItemDtoQueryResult>("/Videos/{itemId}/AdditionalParts", pathParameters, queryParameters, data) return response } @@ -77,10 +74,8 @@ public class VideosApi( * Gets a video stream. * * @param itemId The item id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -88,40 +83,29 @@ public class VideosApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -132,14 +116,11 @@ public class VideosApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -258,8 +239,7 @@ public class VideosApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/stream", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/stream", pathParameters, queryParameters, data) return response } @@ -268,8 +248,7 @@ public class VideosApi( * * @param request The request parameters */ - public suspend fun getVideoStream(request: GetVideoStreamRequest): Response<ByteReadChannel> = - getVideoStream( + public suspend fun getVideoStream(request: GetVideoStreamRequest): Response<ByteReadChannel> = getVideoStream( itemId = request.itemId, container = request.container, static = request.static, @@ -327,10 +306,8 @@ public class VideosApi( * Gets a video stream. * * @param itemId The item id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param playSessionId The play session id. @@ -338,40 +315,29 @@ public class VideosApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -382,14 +348,11 @@ public class VideosApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -514,10 +477,8 @@ public class VideosApi( * Gets a video stream. * * @param itemId The item id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -526,40 +487,29 @@ public class VideosApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -570,14 +520,11 @@ public class VideosApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -697,8 +644,7 @@ public class VideosApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/stream.{container}", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/stream.{container}", pathParameters, queryParameters, data) return response } @@ -707,8 +653,7 @@ public class VideosApi( * * @param request The request parameters */ - public suspend fun getVideoStreamByContainer(request: GetVideoStreamByContainerRequest): - Response<ByteReadChannel> = getVideoStreamByContainer( + public suspend fun getVideoStreamByContainer(request: GetVideoStreamByContainerRequest): Response<ByteReadChannel> = getVideoStreamByContainer( itemId = request.itemId, container = request.container, static = request.static, @@ -767,10 +712,8 @@ public class VideosApi( * Gets a video stream. * * @param itemId The item id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -779,40 +722,29 @@ public class VideosApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -823,14 +755,11 @@ public class VideosApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -956,10 +885,8 @@ public class VideosApi( * Gets a video stream. * * @param itemId The item id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -968,40 +895,29 @@ public class VideosApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1012,14 +928,11 @@ public class VideosApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. @@ -1141,8 +1054,7 @@ public class VideosApi( put("enableAudioVbrEncoding", enableAudioVbrEncoding) } val data = null - val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/stream", pathParameters, - queryParameters, data) + val response = api.`get`<ByteReadChannel>("/Videos/{itemId}/stream", pathParameters, queryParameters, data) return response } @@ -1152,8 +1064,7 @@ public class VideosApi( * @param request The request parameters */ @Deprecated("This member is deprecated and may be removed in the future") - public suspend fun getVideoStreamDeprecated(request: GetVideoStreamDeprecatedRequest): - Response<ByteReadChannel> = getVideoStreamDeprecated( + public suspend fun getVideoStreamDeprecated(request: GetVideoStreamDeprecatedRequest): Response<ByteReadChannel> = getVideoStreamDeprecated( itemId = request.itemId, container = request.container, static = request.static, @@ -1212,10 +1123,8 @@ public class VideosApi( * Gets a video stream. * * @param itemId The item id. - * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, - * mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - * @param static Optional. If true, the original file will be streamed statically without any - * encoding. Use either no url extension or the original file extension. true/false. + * @param container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * @param static Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. * @param params The streaming parameters. * @param tag The tag. * @param deviceProfileId Optional. The dlna device profile id to utilize. @@ -1224,40 +1133,29 @@ public class VideosApi( * @param segmentLength The segment length. * @param minSegments The minimum number of segments. * @param mediaSourceId The media version id, if playing an alternate version. - * @param deviceId The device id of the client requesting. Used to stop encoding processes when - * needed. - * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server - * will auto-select using the url's extension. - * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values - * match the original source. Defaults to true. + * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. + * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. * @param audioSampleRate Optional. Specify a specific audio sample rate, e.g. 44100. * @param maxAudioBitDepth Optional. The maximum audio bit depth. - * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted - * this will be left to encoder defaults. + * @param audioBitRate Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. * @param audioChannels Optional. Specify a specific number of audio channels to encode to, e.g. 2. - * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. - * 2. - * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, - * baseline, high. + * @param maxAudioChannels Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + * @param profile Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. * @param level Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this - * should be omitted unless the device has specific requirements. - * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. - * Generally this should be omitted unless the device has specific requirements. - * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. - * Defaults to false. + * @param framerate Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param maxFramerate Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + * @param copyTimestamps Whether or not to copy timestamps when transcoding with an offset. Defaults to false. * @param startTimeTicks Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. * @param width Optional. The fixed horizontal resolution of the encoded video. * @param height Optional. The fixed vertical resolution of the encoded video. * @param maxWidth Optional. The maximum horizontal resolution of the encoded video. * @param maxHeight Optional. The maximum vertical resolution of the encoded video. - * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this - * will be left to encoder defaults. - * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no - * subtitles will be used. + * @param videoBitRate Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + * @param subtitleStreamIndex Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. * @param subtitleMethod Optional. Specify the subtitle delivery method. * @param maxRefFrames Optional. * @param maxVideoBitDepth Optional. The maximum video bit depth. @@ -1268,14 +1166,11 @@ public class VideosApi( * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. * @param liveStreamId The live stream id. * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server - * will auto-select using the url's extension. + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. * @param subtitleCodec Optional. Specify a subtitle codec to encode to. * @param transcodeReasons Optional. The transcoding reason. - * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first - * audio stream will be used. - * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first - * video stream will be used. + * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param streamOptions Optional. The streaming options. * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/YearsApi.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/YearsApi.kt index b086267a1..65a94e1c1 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/YearsApi.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/operations/YearsApi.kt @@ -54,17 +54,12 @@ public class YearsApi( * @param startIndex Skips over a given number of items within the results. Use for paging. * @param limit Optional. The maximum number of records to return. * @param sortOrder Sort Order - Ascending,Descending. - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use - * the root. + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. * @param fields Optional. Specify additional fields of information to return in the output. - * @param excludeItemTypes Optional. If specified, results will be excluded based on item type. - * This allows multiple, comma delimited. - * @param includeItemTypes Optional. If specified, results will be included based on item type. - * This allows multiple, comma delimited. + * @param excludeItemTypes Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. + * @param includeItemTypes Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, - * AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, - * PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param enableUserData Optional. Include user data. * @param imageTypeLimit Optional. The max number of images to return, per image type. * @param enableImageTypes Optional. The image types to include in the output. @@ -117,8 +112,7 @@ public class YearsApi( * * @param request The request parameters */ - public suspend fun getYears(request: GetYearsRequest = GetYearsRequest()): - Response<BaseItemDtoQueryResult> = getYears( + public suspend fun getYears(request: GetYearsRequest = GetYearsRequest()): Response<BaseItemDtoQueryResult> = getYears( startIndex = request.startIndex, limit = request.limit, sortOrder = request.sortOrder, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/AudioSpatialFormat.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/AudioSpatialFormat.kt index 6fe1fd6d0..a62dbd85f 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/AudioSpatialFormat.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/AudioSpatialFormat.kt @@ -44,7 +44,6 @@ public enum class AudioSpatialFormat( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): AudioSpatialFormat = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): AudioSpatialFormat = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/BaseItemKind.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/BaseItemKind.kt index 4faed2321..c1b28f1c5 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/BaseItemKind.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/BaseItemKind.kt @@ -146,7 +146,6 @@ public enum class BaseItemKind( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): BaseItemKind = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): BaseItemKind = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelItemSortField.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelItemSortField.kt index 287589b2e..f06041e94 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelItemSortField.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelItemSortField.kt @@ -53,7 +53,6 @@ public enum class ChannelItemSortField( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ChannelItemSortField = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ChannelItemSortField = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelMediaContentType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelMediaContentType.kt index 219850124..dff0dd3b0 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelMediaContentType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelMediaContentType.kt @@ -56,7 +56,6 @@ public enum class ChannelMediaContentType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ChannelMediaContentType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ChannelMediaContentType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelMediaType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelMediaType.kt index d96b04907..3513da2e2 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelMediaType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelMediaType.kt @@ -41,7 +41,6 @@ public enum class ChannelMediaType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ChannelMediaType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ChannelMediaType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelType.kt index 115723172..2d3caf716 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ChannelType.kt @@ -41,7 +41,6 @@ public enum class ChannelType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ChannelType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ChannelType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CodecType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CodecType.kt index 397ab94a4..763779b79 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CodecType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CodecType.kt @@ -41,7 +41,6 @@ public enum class CodecType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): CodecType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): CodecType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CollectionType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CollectionType.kt index 5503779b9..328e79a70 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CollectionType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CollectionType.kt @@ -74,7 +74,6 @@ public enum class CollectionType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): CollectionType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): CollectionType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CollectionTypeOptions.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CollectionTypeOptions.kt index 6190db232..8aef9c19c 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CollectionTypeOptions.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/CollectionTypeOptions.kt @@ -59,7 +59,6 @@ public enum class CollectionTypeOptions( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): CollectionTypeOptions = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): CollectionTypeOptions = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DayOfWeek.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DayOfWeek.kt index 43eeb97cd..71295de12 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DayOfWeek.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DayOfWeek.kt @@ -53,7 +53,6 @@ public enum class DayOfWeek( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): DayOfWeek = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): DayOfWeek = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DayPattern.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DayPattern.kt index e4830d07d..4d8a919f1 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DayPattern.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DayPattern.kt @@ -41,7 +41,6 @@ public enum class DayPattern( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): DayPattern = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): DayPattern = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DeinterlaceMethod.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DeinterlaceMethod.kt index 78d5a8ccc..c6be73774 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DeinterlaceMethod.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DeinterlaceMethod.kt @@ -41,7 +41,6 @@ public enum class DeinterlaceMethod( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): DeinterlaceMethod = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): DeinterlaceMethod = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DeviceProfile.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DeviceProfile.kt index f34c24050..210ee4d39 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DeviceProfile.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DeviceProfile.kt @@ -17,17 +17,13 @@ import org.jellyfin.sdk.model.UUID import org.jellyfin.sdk.model.serializer.UUIDSerializer /** - * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which - * content a certain device is able to play. + * 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 containers - * (`P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles`) and - * codecs (`P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles`) (video and/or audio, including - * codec profiles and levels) + * Specifically, it defines the supported containers (`P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles`) and + * codecs (`P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles`) (video and/or audio, including codec profiles and levels) * the device is able to direct play (without transcoding or remuxing), - * as well as which containers/codecs to transcode to - * (`P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles`) in case it isn't. + * as well as which containers/codecs to transcode to (`P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles`) in case it isn't. */ @Serializable public data class DeviceProfile( diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DlnaProfileType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DlnaProfileType.kt index fcda1f007..bf7c1974b 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DlnaProfileType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DlnaProfileType.kt @@ -47,7 +47,6 @@ public enum class DlnaProfileType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): DlnaProfileType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): DlnaProfileType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DownMixStereoAlgorithms.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DownMixStereoAlgorithms.kt index 220d75353..b1e88c4f4 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DownMixStereoAlgorithms.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DownMixStereoAlgorithms.kt @@ -50,7 +50,6 @@ public enum class DownMixStereoAlgorithms( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): DownMixStereoAlgorithms = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): DownMixStereoAlgorithms = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DynamicDayOfWeek.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DynamicDayOfWeek.kt index b6879062f..224074cd4 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DynamicDayOfWeek.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/DynamicDayOfWeek.kt @@ -65,7 +65,6 @@ public enum class DynamicDayOfWeek( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): DynamicDayOfWeek = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): DynamicDayOfWeek = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EmbeddedSubtitleOptions.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EmbeddedSubtitleOptions.kt index 6c1428ae8..082ae5c10 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EmbeddedSubtitleOptions.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EmbeddedSubtitleOptions.kt @@ -47,7 +47,6 @@ public enum class EmbeddedSubtitleOptions( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): EmbeddedSubtitleOptions = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): EmbeddedSubtitleOptions = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EncoderPreset.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EncoderPreset.kt index 3af815f7b..3c643b360 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EncoderPreset.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EncoderPreset.kt @@ -68,7 +68,6 @@ public enum class EncoderPreset( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): EncoderPreset = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): EncoderPreset = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EncodingContext.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EncodingContext.kt index ca4c5e58c..b81e0451f 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EncodingContext.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/EncodingContext.kt @@ -38,7 +38,6 @@ public enum class EncodingContext( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): EncodingContext = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): EncodingContext = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExternalIdInfo.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExternalIdInfo.kt index 6115a4e0a..33cb8bb94 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExternalIdInfo.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExternalIdInfo.kt @@ -26,11 +26,9 @@ public data class ExternalIdInfo( @SerialName("Key") public val key: String, /** - * Gets or sets the specific media type for this id. This is used to distinguish between the - * different + * Gets or sets the specific media type for this id. This is used to distinguish between the different * external id types for providers with multiple ids. - * A null value indicates there is no specific media type associated with the external id, or this - * is the + * A null value indicates there is no specific media type associated with the external id, or this is the * default id for the external provider so there is no need to specify a type. */ @SerialName("Type") diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExternalIdMediaType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExternalIdMediaType.kt index 456166c1d..c9e6237de 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExternalIdMediaType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExternalIdMediaType.kt @@ -74,7 +74,6 @@ public enum class ExternalIdMediaType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ExternalIdMediaType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ExternalIdMediaType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExtraType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExtraType.kt index c590130bd..f8749a14d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExtraType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ExtraType.kt @@ -68,7 +68,6 @@ public enum class ExtraType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ExtraType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ExtraType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/FileSystemEntryType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/FileSystemEntryType.kt index ca14b6358..81a16c4ec 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/FileSystemEntryType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/FileSystemEntryType.kt @@ -47,7 +47,6 @@ public enum class FileSystemEntryType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): FileSystemEntryType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): FileSystemEntryType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ForgotPasswordAction.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ForgotPasswordAction.kt index 18d484ad3..4cdb1bbd0 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ForgotPasswordAction.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ForgotPasswordAction.kt @@ -41,7 +41,6 @@ public enum class ForgotPasswordAction( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ForgotPasswordAction = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ForgotPasswordAction = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GeneralCommandType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GeneralCommandType.kt index 6ac18458b..8cc7c0e53 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GeneralCommandType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GeneralCommandType.kt @@ -164,7 +164,6 @@ public enum class GeneralCommandType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): GeneralCommandType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): GeneralCommandType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupQueueMode.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupQueueMode.kt index 78757dbad..fd328a1ca 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupQueueMode.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupQueueMode.kt @@ -41,7 +41,6 @@ public enum class GroupQueueMode( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): GroupQueueMode = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): GroupQueueMode = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupRepeatMode.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupRepeatMode.kt index 11e2c5f66..0406b6b87 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupRepeatMode.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupRepeatMode.kt @@ -44,7 +44,6 @@ public enum class GroupRepeatMode( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): GroupRepeatMode = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): GroupRepeatMode = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupShuffleMode.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupShuffleMode.kt index a5de2505b..3a1c12763 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupShuffleMode.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupShuffleMode.kt @@ -41,7 +41,6 @@ public enum class GroupShuffleMode( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): GroupShuffleMode = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): GroupShuffleMode = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupStateType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupStateType.kt index 3a55866a2..a5c4f79e0 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupStateType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupStateType.kt @@ -47,7 +47,6 @@ public enum class GroupStateType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): GroupStateType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): GroupStateType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupUpdateType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupUpdateType.kt index 36d49df13..71846ef3e 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupUpdateType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/GroupUpdateType.kt @@ -68,7 +68,6 @@ public enum class GroupUpdateType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): GroupUpdateType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): GroupUpdateType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/HardwareAccelerationType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/HardwareAccelerationType.kt index 2052417bd..d7b0571d4 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/HardwareAccelerationType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/HardwareAccelerationType.kt @@ -59,7 +59,6 @@ public enum class HardwareAccelerationType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): HardwareAccelerationType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): HardwareAccelerationType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageFormat.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageFormat.kt index 11f89e615..7ff85fb60 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageFormat.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageFormat.kt @@ -53,7 +53,6 @@ public enum class ImageFormat( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ImageFormat = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ImageFormat = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageOrientation.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageOrientation.kt index e3162ddd6..77e40d77f 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageOrientation.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageOrientation.kt @@ -56,7 +56,6 @@ public enum class ImageOrientation( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ImageOrientation = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ImageOrientation = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageResolution.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageResolution.kt index 2f4efcba4..e7cad0a50 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageResolution.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageResolution.kt @@ -62,7 +62,6 @@ public enum class ImageResolution( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ImageResolution = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ImageResolution = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageSavingConvention.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageSavingConvention.kt index 8e317c87a..058ae44c0 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageSavingConvention.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageSavingConvention.kt @@ -38,7 +38,6 @@ public enum class ImageSavingConvention( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ImageSavingConvention = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ImageSavingConvention = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageType.kt index 630474063..8dd361ad7 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ImageType.kt @@ -74,7 +74,6 @@ public enum class ImageType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ImageType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ImageType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/IsoType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/IsoType.kt index 54814cb1b..1c7cf84f9 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/IsoType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/IsoType.kt @@ -41,7 +41,6 @@ public enum class IsoType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): IsoType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): IsoType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemFields.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemFields.kt index 5669e25f9..7cb68e119 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemFields.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemFields.kt @@ -215,7 +215,6 @@ public enum class ItemFields( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ItemFields = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ItemFields = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemFilter.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemFilter.kt index 96250190f..cd4788169 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemFilter.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemFilter.kt @@ -62,7 +62,6 @@ public enum class ItemFilter( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ItemFilter = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ItemFilter = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemSortBy.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemSortBy.kt index 5fe42df53..ae19dafeb 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemSortBy.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ItemSortBy.kt @@ -131,7 +131,6 @@ public enum class ItemSortBy( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ItemSortBy = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ItemSortBy = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/KeepUntil.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/KeepUntil.kt index d4547a1f5..90762f9ce 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/KeepUntil.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/KeepUntil.kt @@ -44,7 +44,6 @@ public enum class KeepUntil( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): KeepUntil = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): KeepUntil = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LiveTvServiceStatus.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LiveTvServiceStatus.kt index 11954df94..998dc1a4e 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LiveTvServiceStatus.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LiveTvServiceStatus.kt @@ -38,7 +38,6 @@ public enum class LiveTvServiceStatus( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): LiveTvServiceStatus = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): LiveTvServiceStatus = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LocationType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LocationType.kt index 81209f65d..529e33294 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LocationType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LocationType.kt @@ -47,7 +47,6 @@ public enum class LocationType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): LocationType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): LocationType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LogLevel.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LogLevel.kt index 1867bef80..d9a869492 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LogLevel.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/LogLevel.kt @@ -53,7 +53,6 @@ public enum class LogLevel( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): LogLevel = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): LogLevel = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaProtocol.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaProtocol.kt index aea447eb5..49a31fe63 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaProtocol.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaProtocol.kt @@ -53,7 +53,6 @@ public enum class MediaProtocol( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): MediaProtocol = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): MediaProtocol = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaSegmentType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaSegmentType.kt index a43d2299a..bc9175e48 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaSegmentType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaSegmentType.kt @@ -53,7 +53,6 @@ public enum class MediaSegmentType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): MediaSegmentType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): MediaSegmentType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaSourceType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaSourceType.kt index 75bbfbcf9..9acb85c1d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaSourceType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaSourceType.kt @@ -41,7 +41,6 @@ public enum class MediaSourceType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): MediaSourceType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): MediaSourceType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaStreamProtocol.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaStreamProtocol.kt index 0c6e82492..997eae0f5 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaStreamProtocol.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaStreamProtocol.kt @@ -42,7 +42,6 @@ public enum class MediaStreamProtocol( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): MediaStreamProtocol = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): MediaStreamProtocol = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaStreamType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaStreamType.kt index c5c15064e..e7b6390c7 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaStreamType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaStreamType.kt @@ -53,7 +53,6 @@ public enum class MediaStreamType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): MediaStreamType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): MediaStreamType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaType.kt index 22324f2d3..62d53f6a8 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MediaType.kt @@ -50,7 +50,6 @@ public enum class MediaType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): MediaType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): MediaType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MetadataField.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MetadataField.kt index 0108a932a..ed4b5fadb 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MetadataField.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MetadataField.kt @@ -62,7 +62,6 @@ public enum class MetadataField( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): MetadataField = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): MetadataField = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MetadataRefreshMode.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MetadataRefreshMode.kt index 6e4699857..daf0f95ec 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MetadataRefreshMode.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/MetadataRefreshMode.kt @@ -44,7 +44,6 @@ public enum class MetadataRefreshMode( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): MetadataRefreshMode = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): MetadataRefreshMode = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/NetworkConfiguration.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/NetworkConfiguration.kt index 49d76e3b9..194e934b7 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/NetworkConfiguration.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/NetworkConfiguration.kt @@ -38,8 +38,7 @@ public data class NetworkConfiguration( @SerialName("CertificatePath") public val certificatePath: String, /** - * The password required to access the X.509 certificate data in the file specified by - * MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath. + * The password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath. */ @SerialName("CertificatePassword") public val certificatePassword: String, @@ -104,16 +103,12 @@ public data class NetworkConfiguration( @SerialName("KnownProxies") public val knownProxies: List<String>, /** - * A value indicating whether address names that match - * MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the - * purposes of binding. + * A value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding. */ @SerialName("IgnoreVirtualInterfaces") public val ignoreVirtualInterfaces: Boolean, /** - * A value indicating the interface name prefixes that should be ignored. The list can be comma - * separated and values are case-insensitive. - * `P:MediaBrowser.Common.Net.NetworkConfiguration.IgnoreVirtualInterfaces`. + * A value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive. `P:MediaBrowser.Common.Net.NetworkConfiguration.IgnoreVirtualInterfaces`. */ @SerialName("VirtualInterfaceNames") public val virtualInterfaceNames: List<String>, @@ -129,14 +124,12 @@ public data class NetworkConfiguration( @SerialName("PublishedServerUriBySubnet") public val publishedServerUriBySubnet: List<String>, /** - * The filter for remote IP connectivity. Used in conjunction with - * `P:MediaBrowser.Common.Net.NetworkConfiguration.IsRemoteIPFilterBlacklist`. + * The filter for remote IP connectivity. Used in conjunction with `P:MediaBrowser.Common.Net.NetworkConfiguration.IsRemoteIPFilterBlacklist`. */ @SerialName("RemoteIPFilter") public val remoteIpFilter: List<String>, /** - * A value indicating whether `P:MediaBrowser.Common.Net.NetworkConfiguration.RemoteIPFilter` - * contains a blacklist or a whitelist. Default is a whitelist. + * A value indicating whether `P:MediaBrowser.Common.Net.NetworkConfiguration.RemoteIPFilter` contains a blacklist or a whitelist. Default is a whitelist. */ @SerialName("IsRemoteIPFilterBlacklist") public val isRemoteIpFilterBlacklist: Boolean, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PersonKind.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PersonKind.kt index eba499be6..cc58ca34b 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PersonKind.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PersonKind.kt @@ -110,7 +110,6 @@ public enum class PersonKind( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PersonKind = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PersonKind = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayAccess.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayAccess.kt index b5600ae32..3eff70bc1 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayAccess.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayAccess.kt @@ -38,7 +38,6 @@ public enum class PlayAccess( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PlayAccess = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PlayAccess = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayCommand.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayCommand.kt index a981aaefb..3195cc11f 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayCommand.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayCommand.kt @@ -50,7 +50,6 @@ public enum class PlayCommand( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PlayCommand = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PlayCommand = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayMethod.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayMethod.kt index 55b9abc90..00dfcdd2a 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayMethod.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayMethod.kt @@ -41,7 +41,6 @@ public enum class PlayMethod( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PlayMethod = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PlayMethod = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayQueueUpdateReason.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayQueueUpdateReason.kt index 5fdd2c2e2..10c4373af 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayQueueUpdateReason.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlayQueueUpdateReason.kt @@ -65,7 +65,6 @@ public enum class PlayQueueUpdateReason( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PlayQueueUpdateReason = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PlayQueueUpdateReason = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackErrorCode.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackErrorCode.kt index bc23ca5ed..2c99e8bbd 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackErrorCode.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackErrorCode.kt @@ -41,7 +41,6 @@ public enum class PlaybackErrorCode( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PlaybackErrorCode = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PlaybackErrorCode = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackOrder.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackOrder.kt index 5e8be724b..1556a0571 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackOrder.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackOrder.kt @@ -41,7 +41,6 @@ public enum class PlaybackOrder( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PlaybackOrder = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PlaybackOrder = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackRequestType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackRequestType.kt index 7f7d38927..667dfe862 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackRequestType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaybackRequestType.kt @@ -86,7 +86,6 @@ public enum class PlaybackRequestType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PlaybackRequestType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PlaybackRequestType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaystateCommand.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaystateCommand.kt index 0a1d22746..e2207571a 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaystateCommand.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PlaystateCommand.kt @@ -62,7 +62,6 @@ public enum class PlaystateCommand( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PlaystateCommand = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PlaystateCommand = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginInfo.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginInfo.kt index 632d9dbd3..9c8624e96 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginInfo.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginInfo.kt @@ -16,8 +16,7 @@ import org.jellyfin.sdk.model.UUID import org.jellyfin.sdk.model.serializer.UUIDSerializer /** - * This is a serializable stub class that is used by the api to provide information about installed - * plugins. + * This is a serializable stub class that is used by the api to provide information about installed plugins. */ @Serializable public data class PluginInfo( diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginStatus.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginStatus.kt index 2c18f6539..0d4b7cd2c 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginStatus.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginStatus.kt @@ -56,7 +56,6 @@ public enum class PluginStatus( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): PluginStatus = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): PluginStatus = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginUninstalledMessage.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginUninstalledMessage.kt index 8fb5b01fb..d8cd7718d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginUninstalledMessage.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/PluginUninstalledMessage.kt @@ -20,8 +20,7 @@ import org.jellyfin.sdk.model.serializer.UUIDSerializer @SerialName("PackageUninstalled") public data class PluginUninstalledMessage( /** - * This is a serializable stub class that is used by the api to provide information about installed - * plugins. + * This is a serializable stub class that is used by the api to provide information about installed plugins. */ @SerialName("Data") public val `data`: PluginInfo? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProcessPriorityClass.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProcessPriorityClass.kt index b99a7ca0c..4bcb35477 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProcessPriorityClass.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProcessPriorityClass.kt @@ -50,7 +50,6 @@ public enum class ProcessPriorityClass( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ProcessPriorityClass = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ProcessPriorityClass = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProfileConditionType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProfileConditionType.kt index 026798f13..db9603978 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProfileConditionType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProfileConditionType.kt @@ -47,7 +47,6 @@ public enum class ProfileConditionType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ProfileConditionType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ProfileConditionType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProfileConditionValue.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProfileConditionValue.kt index ac22181e7..3a3eaf48d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProfileConditionValue.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProfileConditionValue.kt @@ -104,7 +104,6 @@ public enum class ProfileConditionValue( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ProfileConditionValue = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ProfileConditionValue = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProgramAudio.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProgramAudio.kt index 3f46937da..fc8770395 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProgramAudio.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ProgramAudio.kt @@ -50,7 +50,6 @@ public enum class ProgramAudio( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ProgramAudio = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ProgramAudio = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/QuickConnectResult.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/QuickConnectResult.kt index 73a760c6d..7869b7d28 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/QuickConnectResult.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/QuickConnectResult.kt @@ -26,8 +26,7 @@ public data class QuickConnectResult( @SerialName("Authenticated") public val authenticated: Boolean, /** - * The secret value used to uniquely identify this request. Can be used to retrieve authentication - * information. + * The secret value used to uniquely identify this request. Can be used to retrieve authentication information. */ @SerialName("Secret") public val secret: String, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RatingType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RatingType.kt index f995e4a9c..562d02c03 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RatingType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RatingType.kt @@ -38,7 +38,6 @@ public enum class RatingType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): RatingType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): RatingType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RecommendationType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RecommendationType.kt index e830c9b94..e4d1f8d23 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RecommendationType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RecommendationType.kt @@ -50,7 +50,6 @@ public enum class RecommendationType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): RecommendationType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): RecommendationType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RecordingStatus.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RecordingStatus.kt index d9bf604f2..c862cc832 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RecordingStatus.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RecordingStatus.kt @@ -53,7 +53,6 @@ public enum class RecordingStatus( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): RecordingStatus = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): RecordingStatus = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RemoveFromPlaylistRequestDto.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RemoveFromPlaylistRequestDto.kt index 5dabbc95c..587d72632 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RemoveFromPlaylistRequestDto.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RemoveFromPlaylistRequestDto.kt @@ -31,8 +31,7 @@ public data class RemoveFromPlaylistRequestDto( @SerialName("ClearPlaylist") public val clearPlaylist: Boolean, /** - * A value indicating whether the playing item should be removed as well. Used only when clearing - * the playlist. + * A value indicating whether the playing item should be removed as well. Used only when clearing the playlist. */ @SerialName("ClearPlayingItem") public val clearPlayingItem: Boolean, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RepeatMode.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RepeatMode.kt index 06048f677..e85101275 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RepeatMode.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/RepeatMode.kt @@ -41,7 +41,6 @@ public enum class RepeatMode( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): RepeatMode = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): RepeatMode = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ScrollDirection.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ScrollDirection.kt index fc9a21fd3..77357d9e4 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ScrollDirection.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ScrollDirection.kt @@ -41,7 +41,6 @@ public enum class ScrollDirection( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): ScrollDirection = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): ScrollDirection = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SendCommandType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SendCommandType.kt index ff3bfd981..3e88e539b 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SendCommandType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SendCommandType.kt @@ -47,7 +47,6 @@ public enum class SendCommandType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): SendCommandType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): SendCommandType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SeriesStatus.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SeriesStatus.kt index 105b2ea3c..2b15b03bd 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SeriesStatus.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SeriesStatus.kt @@ -44,7 +44,6 @@ public enum class SeriesStatus( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): SeriesStatus = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): SeriesStatus = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ServerConfiguration.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ServerConfiguration.kt index 131acd700..a56d22ead 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ServerConfiguration.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/ServerConfiguration.kt @@ -104,8 +104,7 @@ public data class ServerConfiguration( @SerialName("MinResumePct") public val minResumePct: Int, /** - * The maximum percentage of an item that can be played while still saving playstate. If this - * percentage is crossed playstate will be reset to the beginning and the item will be marked watched. + * The maximum percentage of an item that can be played while still saving playstate. If this percentage is crossed playstate will be reset to the beginning and the item will be marked watched. */ @SerialName("MaxResumePct") public val maxResumePct: Int, @@ -120,8 +119,7 @@ public data class ServerConfiguration( @SerialName("MinAudiobookResume") public val minAudiobookResume: Int, /** - * The remaining minutes of a book that can be played while still saving playstate. If this - * percentage is crossed playstate will be reset to the beginning and the item will be marked watched. + * The remaining minutes of a book that can be played while still saving playstate. If this percentage is crossed playstate will be reset to the beginning and the item will be marked watched. */ @SerialName("MaxAudiobookResume") public val maxAudiobookResume: Int, @@ -132,17 +130,14 @@ public data class ServerConfiguration( @SerialName("InactiveSessionThreshold") public val inactiveSessionThreshold: Int, /** - * 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 + * 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. */ @SerialName("LibraryMonitorDelay") public val libraryMonitorDelay: Int, /** - * The duration in seconds that we will wait after a library updated event before executing the - * library changed notification. + * The duration in seconds that we will wait after a library updated event before executing the library changed notification. */ @SerialName("LibraryUpdateDuration") public val libraryUpdateDuration: Int, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SessionMessageType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SessionMessageType.kt index fb9af7ed0..e2241ed40 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SessionMessageType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SessionMessageType.kt @@ -137,7 +137,6 @@ public enum class SessionMessageType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): SessionMessageType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): SessionMessageType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SortOrder.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SortOrder.kt index 323fca02f..904e7b385 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SortOrder.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SortOrder.kt @@ -41,7 +41,6 @@ public enum class SortOrder( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): SortOrder = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): SortOrder = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SubtitleDeliveryMethod.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SubtitleDeliveryMethod.kt index 7f6d5b58f..21c7342fa 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SubtitleDeliveryMethod.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SubtitleDeliveryMethod.kt @@ -50,7 +50,6 @@ public enum class SubtitleDeliveryMethod( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): SubtitleDeliveryMethod = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): SubtitleDeliveryMethod = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SubtitlePlaybackMode.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SubtitlePlaybackMode.kt index 46fa9a1cd..5926cbe42 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SubtitlePlaybackMode.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SubtitlePlaybackMode.kt @@ -50,7 +50,6 @@ public enum class SubtitlePlaybackMode( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): SubtitlePlaybackMode = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): SubtitlePlaybackMode = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SyncPlayUserAccessType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SyncPlayUserAccessType.kt index 4120a4883..482a3e21a 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SyncPlayUserAccessType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/SyncPlayUserAccessType.kt @@ -44,7 +44,6 @@ public enum class SyncPlayUserAccessType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): SyncPlayUserAccessType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): SyncPlayUserAccessType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TaskCompletionStatus.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TaskCompletionStatus.kt index 7e091d18d..3b3562aba 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TaskCompletionStatus.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TaskCompletionStatus.kt @@ -47,7 +47,6 @@ public enum class TaskCompletionStatus( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TaskCompletionStatus = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TaskCompletionStatus = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TaskState.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TaskState.kt index fb46cdc07..0d8251eef 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TaskState.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TaskState.kt @@ -44,7 +44,6 @@ public enum class TaskState( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TaskState = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TaskState = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingAlgorithm.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingAlgorithm.kt index 9abd05a0c..066343a2f 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingAlgorithm.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingAlgorithm.kt @@ -59,7 +59,6 @@ public enum class TonemappingAlgorithm( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TonemappingAlgorithm = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TonemappingAlgorithm = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingMode.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingMode.kt index 5d2bf1dca..23f7a721d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingMode.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingMode.kt @@ -50,7 +50,6 @@ public enum class TonemappingMode( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TonemappingMode = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TonemappingMode = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingRange.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingRange.kt index 965b9d4e0..1211730d4 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingRange.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TonemappingRange.kt @@ -44,7 +44,6 @@ public enum class TonemappingRange( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TonemappingRange = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TonemappingRange = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TranscodeReason.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TranscodeReason.kt index 96ff22855..022a12dc7 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TranscodeReason.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TranscodeReason.kt @@ -110,7 +110,6 @@ public enum class TranscodeReason( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TranscodeReason = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TranscodeReason = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TranscodeSeekInfo.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TranscodeSeekInfo.kt index 7919eddc8..b253123d4 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TranscodeSeekInfo.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TranscodeSeekInfo.kt @@ -38,7 +38,6 @@ public enum class TranscodeSeekInfo( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TranscodeSeekInfo = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TranscodeSeekInfo = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TransportStreamTimestamp.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TransportStreamTimestamp.kt index a2bbf0f54..48ce8d243 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TransportStreamTimestamp.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TransportStreamTimestamp.kt @@ -41,7 +41,6 @@ public enum class TransportStreamTimestamp( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TransportStreamTimestamp = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TransportStreamTimestamp = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TrickplayScanBehavior.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TrickplayScanBehavior.kt index 3cbde31bd..080687177 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TrickplayScanBehavior.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/TrickplayScanBehavior.kt @@ -41,7 +41,6 @@ public enum class TrickplayScanBehavior( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): TrickplayScanBehavior = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): TrickplayScanBehavior = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UnratedItem.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UnratedItem.kt index 98d4c34f0..a64241543 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UnratedItem.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UnratedItem.kt @@ -62,7 +62,6 @@ public enum class UnratedItem( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): UnratedItem = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): UnratedItem = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UpdatePlaylistDto.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UpdatePlaylistDto.kt index ee348b3de..93e0376ad 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UpdatePlaylistDto.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UpdatePlaylistDto.kt @@ -17,8 +17,7 @@ import org.jellyfin.sdk.model.UUID import org.jellyfin.sdk.model.serializer.UUIDSerializer /** - * Update existing playlist dto. Fields set to `null` will not be updated and keep their current - * values. + * Update existing playlist dto. Fields set to `null` will not be updated and keep their current values. */ @Serializable public data class UpdatePlaylistDto( diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UpdatePlaylistUserDto.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UpdatePlaylistUserDto.kt index 5f841147a..cbd70d945 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UpdatePlaylistUserDto.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/UpdatePlaylistUserDto.kt @@ -10,8 +10,7 @@ import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** - * Update existing playlist user dto. Fields set to `null` will not be updated and keep their - * current values. + * Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values. */ @Serializable public data class UpdatePlaylistUserDto( diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/Video3dFormat.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/Video3dFormat.kt index 5b8c48a13..3ef07c813 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/Video3dFormat.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/Video3dFormat.kt @@ -47,7 +47,6 @@ public enum class Video3dFormat( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): Video3dFormat = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): Video3dFormat = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoRange.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoRange.kt index 3107ee01d..a01aea2cf 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoRange.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoRange.kt @@ -44,7 +44,6 @@ public enum class VideoRange( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): VideoRange = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): VideoRange = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoRangeType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoRangeType.kt index 525a84514..47d9855f5 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoRangeType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoRangeType.kt @@ -62,7 +62,6 @@ public enum class VideoRangeType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): VideoRangeType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): VideoRangeType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoType.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoType.kt index 9e78c1cd7..27e8e9881 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoType.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/VideoType.kt @@ -47,7 +47,6 @@ public enum class VideoType( /** * Find the enum member by the serial name or throw. */ - public fun fromName(serialName: String): VideoType = - requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } + public fun fromName(serialName: String): VideoType = requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" } } } diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAlbumArtistsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAlbumArtistsRequest.kt index ec6e86559..fe930044d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAlbumArtistsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAlbumArtistsRequest.kt @@ -36,8 +36,7 @@ public data class GetAlbumArtistsRequest( @SerialName("minCommunityRating") public val minCommunityRating: Double? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -62,14 +61,12 @@ public data class GetAlbumArtistsRequest( @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be filtered out based on item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. If specified, results will be filtered based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, @@ -89,32 +86,27 @@ public data class GetAlbumArtistsRequest( @SerialName("mediaTypes") public val mediaTypes: Collection<MediaType>? = null, /** - * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. */ @SerialName("genres") public val genres: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. */ @SerialName("genreIds") public val genreIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, - * pipe delimited. + * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. */ @SerialName("officialRatings") public val officialRatings: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. */ @SerialName("tags") public val tags: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on production year. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. */ @SerialName("years") public val years: Collection<Int>? = null, @@ -134,32 +126,27 @@ public data class GetAlbumArtistsRequest( @SerialName("enableImageTypes") public val enableImageTypes: Collection<ImageType>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * person. + * Optional. If specified, results will be filtered to include only those containing the specified person. */ @SerialName("person") public val person: String? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * person ids. + * Optional. If specified, results will be filtered to include only those containing the specified person ids. */ @SerialName("personIds") public val personIds: Collection<UUID>? = null, /** - * Optional. If specified, along with Person, results will be filtered to include only those - * containing the specified person and PersonType. Allows multiple, comma-delimited. + * Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. */ @SerialName("personTypes") public val personTypes: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. */ @SerialName("studios") public val studios: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. */ @SerialName("studioIds") public val studioIds: Collection<UUID>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetArtistsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetArtistsRequest.kt index 986dd06da..fe6f6fe23 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetArtistsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetArtistsRequest.kt @@ -36,8 +36,7 @@ public data class GetArtistsRequest( @SerialName("minCommunityRating") public val minCommunityRating: Double? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -62,14 +61,12 @@ public data class GetArtistsRequest( @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be filtered out based on item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. If specified, results will be filtered based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, @@ -89,32 +86,27 @@ public data class GetArtistsRequest( @SerialName("mediaTypes") public val mediaTypes: Collection<MediaType>? = null, /** - * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. */ @SerialName("genres") public val genres: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. */ @SerialName("genreIds") public val genreIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, - * pipe delimited. + * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. */ @SerialName("officialRatings") public val officialRatings: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. */ @SerialName("tags") public val tags: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on production year. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. */ @SerialName("years") public val years: Collection<Int>? = null, @@ -134,32 +126,27 @@ public data class GetArtistsRequest( @SerialName("enableImageTypes") public val enableImageTypes: Collection<ImageType>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * person. + * Optional. If specified, results will be filtered to include only those containing the specified person. */ @SerialName("person") public val person: String? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * person ids. + * Optional. If specified, results will be filtered to include only those containing the specified person ids. */ @SerialName("personIds") public val personIds: Collection<UUID>? = null, /** - * Optional. If specified, along with Person, results will be filtered to include only those - * containing the specified person and PersonType. Allows multiple, comma-delimited. + * Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. */ @SerialName("personTypes") public val personTypes: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. */ @SerialName("studios") public val studios: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. */ @SerialName("studioIds") public val studioIds: Collection<UUID>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamByContainerDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamByContainerDeprecatedRequest.kt index 265374c5a..f28ae2421 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamByContainerDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamByContainerDeprecatedRequest.kt @@ -38,8 +38,7 @@ public data class GetAudioStreamByContainerDeprecatedRequest( @SerialName("container") public val container: String, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -90,14 +89,12 @@ public data class GetAudioStreamByContainerDeprecatedRequest( @SerialName("deviceId") public val deviceId: String? = null, /** - * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. */ @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -127,8 +124,7 @@ public data class GetAudioStreamByContainerDeprecatedRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -153,14 +149,12 @@ public data class GetAudioStreamByContainerDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -185,8 +179,7 @@ public data class GetAudioStreamByContainerDeprecatedRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, @@ -246,8 +239,7 @@ public data class GetAudioStreamByContainerDeprecatedRequest( @SerialName("enableMpegtsM2TsMode") public val enableMpegtsM2TsMode: Boolean? = null, /** - * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. */ @SerialName("videoCodec") public val videoCodec: String? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamByContainerRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamByContainerRequest.kt index 0d9055f4e..97e81ab3a 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamByContainerRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamByContainerRequest.kt @@ -37,8 +37,7 @@ public data class GetAudioStreamByContainerRequest( @SerialName("container") public val container: String, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -83,14 +82,12 @@ public data class GetAudioStreamByContainerRequest( @SerialName("deviceId") public val deviceId: String? = null, /** - * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. */ @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -120,8 +117,7 @@ public data class GetAudioStreamByContainerRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -146,14 +142,12 @@ public data class GetAudioStreamByContainerRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -178,8 +172,7 @@ public data class GetAudioStreamByContainerRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, @@ -239,8 +232,7 @@ public data class GetAudioStreamByContainerRequest( @SerialName("enableMpegtsM2TsMode") public val enableMpegtsM2TsMode: Boolean? = null, /** - * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. */ @SerialName("videoCodec") public val videoCodec: String? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamDeprecatedRequest.kt index 306974321..56e560406 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamDeprecatedRequest.kt @@ -38,8 +38,7 @@ public data class GetAudioStreamDeprecatedRequest( @SerialName("container") public val container: String? = null, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -90,14 +89,12 @@ public data class GetAudioStreamDeprecatedRequest( @SerialName("deviceId") public val deviceId: String? = null, /** - * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. */ @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -127,8 +124,7 @@ public data class GetAudioStreamDeprecatedRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -153,14 +149,12 @@ public data class GetAudioStreamDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -185,8 +179,7 @@ public data class GetAudioStreamDeprecatedRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, @@ -246,8 +239,7 @@ public data class GetAudioStreamDeprecatedRequest( @SerialName("enableMpegtsM2TsMode") public val enableMpegtsM2TsMode: Boolean? = null, /** - * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. */ @SerialName("videoCodec") public val videoCodec: String? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamRequest.kt index 5cd72b194..908e2cfff 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetAudioStreamRequest.kt @@ -37,8 +37,7 @@ public data class GetAudioStreamRequest( @SerialName("container") public val container: String? = null, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -83,14 +82,12 @@ public data class GetAudioStreamRequest( @SerialName("deviceId") public val deviceId: String? = null, /** - * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. */ @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -120,8 +117,7 @@ public data class GetAudioStreamRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -146,14 +142,12 @@ public data class GetAudioStreamRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -178,8 +172,7 @@ public data class GetAudioStreamRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, @@ -239,8 +232,7 @@ public data class GetAudioStreamRequest( @SerialName("enableMpegtsM2TsMode") public val enableMpegtsM2TsMode: Boolean? = null, /** - * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. */ @SerialName("videoCodec") public val videoCodec: String? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetChannelItemsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetChannelItemsRequest.kt index f5d037a14..4f31c1b42 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetChannelItemsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetChannelItemsRequest.kt @@ -40,8 +40,7 @@ public data class GetChannelItemsRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -61,9 +60,7 @@ public data class GetChannelItemsRequest( @SerialName("filters") public val filters: Collection<ItemFilter>? = null, /** - * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, - * Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, - * ProductionYear, SortName, Random, Revenue, Runtime. + * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ @SerialName("sortBy") public val sortBy: Collection<ItemSortBy>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetChannelsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetChannelsRequest.kt index 0606380c8..f21b4481f 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetChannelsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetChannelsRequest.kt @@ -26,8 +26,7 @@ public data class GetChannelsRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetEpisodesRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetEpisodesRequest.kt index dab43e27f..cbc899ff5 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetEpisodesRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetEpisodesRequest.kt @@ -35,10 +35,7 @@ public data class GetEpisodesRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, @@ -68,8 +65,7 @@ public data class GetEpisodesRequest( @SerialName("startItemId") public val startItemId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -99,9 +95,7 @@ public data class GetEpisodesRequest( @SerialName("enableUserData") public val enableUserData: Boolean? = null, /** - * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, - * Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, - * ProductionYear, SortName, Random, Revenue, Runtime. + * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ @SerialName("sortBy") public val sortBy: ItemSortBy? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetGenresRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetGenresRequest.kt index d2d098be3..39349162b 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetGenresRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetGenresRequest.kt @@ -28,8 +28,7 @@ import org.jellyfin.sdk.model.serializer.UUIDSerializer @Serializable public data class GetGenresRequest( /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -54,14 +53,12 @@ public data class GetGenresRequest( @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be filtered out based on item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. If specified, results will be filtered in based on item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsAudioSegmentDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsAudioSegmentDeprecatedRequest.kt index ff801b0ee..d5d301ef6 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsAudioSegmentDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsAudioSegmentDeprecatedRequest.kt @@ -43,8 +43,7 @@ public data class GetHlsAudioSegmentDeprecatedRequest( @SerialName("segmentId") public val segmentId: Int, /** - * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, - * avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. */ @SerialName("container") public val container: String, @@ -59,8 +58,7 @@ public data class GetHlsAudioSegmentDeprecatedRequest( @SerialName("actualSegmentLengthTicks") public val actualSegmentLengthTicks: Long, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -116,8 +114,7 @@ public data class GetHlsAudioSegmentDeprecatedRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -152,8 +149,7 @@ public data class GetHlsAudioSegmentDeprecatedRequest( @SerialName("maxStreamingBitrate") public val maxStreamingBitrate: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -178,14 +174,12 @@ public data class GetHlsAudioSegmentDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -210,8 +204,7 @@ public data class GetHlsAudioSegmentDeprecatedRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsAudioSegmentRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsAudioSegmentRequest.kt index 6b394645e..75e8fd9dd 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsAudioSegmentRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsAudioSegmentRequest.kt @@ -42,8 +42,7 @@ public data class GetHlsAudioSegmentRequest( @SerialName("segmentId") public val segmentId: Int, /** - * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, - * avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. */ @SerialName("container") public val container: String, @@ -58,8 +57,7 @@ public data class GetHlsAudioSegmentRequest( @SerialName("actualSegmentLengthTicks") public val actualSegmentLengthTicks: Long, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -109,8 +107,7 @@ public data class GetHlsAudioSegmentRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -145,8 +142,7 @@ public data class GetHlsAudioSegmentRequest( @SerialName("maxStreamingBitrate") public val maxStreamingBitrate: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -171,14 +167,12 @@ public data class GetHlsAudioSegmentRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -203,8 +197,7 @@ public data class GetHlsAudioSegmentRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsVideoSegmentDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsVideoSegmentDeprecatedRequest.kt index 8c939b859..4c335695a 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsVideoSegmentDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsVideoSegmentDeprecatedRequest.kt @@ -43,8 +43,7 @@ public data class GetHlsVideoSegmentDeprecatedRequest( @SerialName("segmentId") public val segmentId: Int, /** - * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, - * avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. */ @SerialName("container") public val container: String, @@ -59,8 +58,7 @@ public data class GetHlsVideoSegmentDeprecatedRequest( @SerialName("actualSegmentLengthTicks") public val actualSegmentLengthTicks: Long, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -116,8 +114,7 @@ public data class GetHlsVideoSegmentDeprecatedRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -147,8 +144,7 @@ public data class GetHlsVideoSegmentDeprecatedRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -173,14 +169,12 @@ public data class GetHlsVideoSegmentDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -215,8 +209,7 @@ public data class GetHlsVideoSegmentDeprecatedRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsVideoSegmentRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsVideoSegmentRequest.kt index f7b50913a..2800cf2fc 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsVideoSegmentRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetHlsVideoSegmentRequest.kt @@ -42,8 +42,7 @@ public data class GetHlsVideoSegmentRequest( @SerialName("segmentId") public val segmentId: Int, /** - * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, - * avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. */ @SerialName("container") public val container: String, @@ -58,8 +57,7 @@ public data class GetHlsVideoSegmentRequest( @SerialName("actualSegmentLengthTicks") public val actualSegmentLengthTicks: Long, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -109,8 +107,7 @@ public data class GetHlsVideoSegmentRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -140,8 +137,7 @@ public data class GetHlsVideoSegmentRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -166,14 +162,12 @@ public data class GetHlsVideoSegmentRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -208,8 +202,7 @@ public data class GetHlsVideoSegmentRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetItemsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetItemsRequest.kt index a623b62db..c90956cae 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetItemsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetItemsRequest.kt @@ -104,14 +104,12 @@ public data class GetItemsRequest( @SerialName("is4K") public val is4k: Boolean? = null, /** - * Optional. If specified, results will be filtered based on LocationType. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. */ @SerialName("locationTypes") public val locationTypes: Collection<LocationType>? = null, /** - * Optional. If specified, results will be filtered based on the LocationType. This allows - * multiple, comma delimited. + * Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. */ @SerialName("excludeLocationTypes") public val excludeLocationTypes: Collection<LocationType>? = null, @@ -201,14 +199,12 @@ public data class GetItemsRequest( @SerialName("isSports") public val isSports: Boolean? = null, /** - * Optional. If specified, results will be filtered by excluding item ids. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. */ @SerialName("excludeItemIds") public val excludeItemIds: Collection<UUID>? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -218,8 +214,7 @@ public data class GetItemsRequest( @SerialName("limit") public val limit: Int? = null, /** - * When searching within folders, this determines whether or not the search will be recursive. - * true/false. + * When searching within folders, this determines whether or not the search will be recursive. true/false. */ @SerialName("recursive") public val recursive: Boolean? = null, @@ -239,28 +234,22 @@ public data class GetItemsRequest( @SerialName("parentId") public val parentId: UUID? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be filtered based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. If specified, results will be filtered based on the item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: - * IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. + * Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. */ @SerialName("filters") public val filters: Collection<ItemFilter>? = null, @@ -275,15 +264,12 @@ public data class GetItemsRequest( @SerialName("mediaTypes") public val mediaTypes: Collection<MediaType>? = null, /** - * Optional. If specified, results will be filtered based on those containing image types. This - * allows multiple, comma delimited. + * Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. */ @SerialName("imageTypes") public val imageTypes: Collection<ImageType>? = null, /** - * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, - * Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, - * ProductionYear, SortName, Random, Revenue, Runtime. + * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ @SerialName("sortBy") public val sortBy: Collection<ItemSortBy>? = null, @@ -293,26 +279,22 @@ public data class GetItemsRequest( @SerialName("isPlayed") public val isPlayed: Boolean? = null, /** - * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. */ @SerialName("genres") public val genres: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, - * pipe delimited. + * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. */ @SerialName("officialRatings") public val officialRatings: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. */ @SerialName("tags") public val tags: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on production year. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. */ @SerialName("years") public val years: Collection<Int>? = null, @@ -332,74 +314,62 @@ public data class GetItemsRequest( @SerialName("enableImageTypes") public val enableImageTypes: Collection<ImageType>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * person. + * Optional. If specified, results will be filtered to include only those containing the specified person. */ @SerialName("person") public val person: String? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * person id. + * Optional. If specified, results will be filtered to include only those containing the specified person id. */ @SerialName("personIds") public val personIds: Collection<UUID>? = null, /** - * Optional. If specified, along with Person, results will be filtered to include only those - * containing the specified person and PersonType. Allows multiple, comma-delimited. + * Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. */ @SerialName("personTypes") public val personTypes: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. */ @SerialName("studios") public val studios: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on artists. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. */ @SerialName("artists") public val artists: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. */ @SerialName("excludeArtistIds") public val excludeArtistIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * artist id. + * Optional. If specified, results will be filtered to include only those containing the specified artist id. */ @SerialName("artistIds") public val artistIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * album artist id. + * Optional. If specified, results will be filtered to include only those containing the specified album artist id. */ @SerialName("albumArtistIds") public val albumArtistIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * contributing artist id. + * Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. */ @SerialName("contributingArtistIds") public val contributingArtistIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered based on album. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. */ @SerialName("albums") public val albums: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on album id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. */ @SerialName("albumIds") public val albumIds: Collection<UUID>? = null, /** - * Optional. If specific items are needed, specify a list of item id's to retrieve. This allows - * multiple, comma delimited. + * Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. */ @SerialName("ids") public val ids: Collection<UUID>? = null, @@ -479,14 +449,12 @@ public data class GetItemsRequest( @SerialName("nameLessThan") public val nameLessThan: String? = null, /** - * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. */ @SerialName("studioIds") public val studioIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. */ @SerialName("genreIds") public val genreIds: Collection<UUID>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLatestChannelItemsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLatestChannelItemsRequest.kt index 6e7359c0e..c4e9d3480 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLatestChannelItemsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLatestChannelItemsRequest.kt @@ -28,8 +28,7 @@ public data class GetLatestChannelItemsRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLatestMediaRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLatestMediaRequest.kt index 4bf212af2..ff13de62a 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLatestMediaRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLatestMediaRequest.kt @@ -40,8 +40,7 @@ public data class GetLatestMediaRequest( @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be filtered based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveHlsStreamDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveHlsStreamDeprecatedRequest.kt index 77431ef19..067fa5e4d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveHlsStreamDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveHlsStreamDeprecatedRequest.kt @@ -38,8 +38,7 @@ public data class GetLiveHlsStreamDeprecatedRequest( @SerialName("container") public val container: String? = null, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -95,8 +94,7 @@ public data class GetLiveHlsStreamDeprecatedRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -126,8 +124,7 @@ public data class GetLiveHlsStreamDeprecatedRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -152,14 +149,12 @@ public data class GetLiveHlsStreamDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -184,8 +179,7 @@ public data class GetLiveHlsStreamDeprecatedRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveHlsStreamRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveHlsStreamRequest.kt index ed3074b93..8d1e0dc74 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveHlsStreamRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveHlsStreamRequest.kt @@ -37,8 +37,7 @@ public data class GetLiveHlsStreamRequest( @SerialName("container") public val container: String? = null, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -88,8 +87,7 @@ public data class GetLiveHlsStreamRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -119,8 +117,7 @@ public data class GetLiveHlsStreamRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -145,14 +142,12 @@ public data class GetLiveHlsStreamRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -177,8 +172,7 @@ public data class GetLiveHlsStreamRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveTvChannelsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveTvChannelsRequest.kt index 49732f6ed..0a2a7b5d4 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveTvChannelsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveTvChannelsRequest.kt @@ -37,8 +37,7 @@ public data class GetLiveTvChannelsRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveTvProgramsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveTvProgramsRequest.kt index d7453e766..a2390fe9d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveTvProgramsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetLiveTvProgramsRequest.kt @@ -97,8 +97,7 @@ public data class GetLiveTvProgramsRequest( @SerialName("isSports") public val isSports: Boolean? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsAudioPlaylistDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsAudioPlaylistDeprecatedRequest.kt index 5af53a55b..aad4722f9 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsAudioPlaylistDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsAudioPlaylistDeprecatedRequest.kt @@ -33,8 +33,7 @@ public data class GetMasterHlsAudioPlaylistDeprecatedRequest( @SerialName("itemId") public val itemId: UUID, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -90,8 +89,7 @@ public data class GetMasterHlsAudioPlaylistDeprecatedRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -126,8 +124,7 @@ public data class GetMasterHlsAudioPlaylistDeprecatedRequest( @SerialName("maxStreamingBitrate") public val maxStreamingBitrate: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -152,14 +149,12 @@ public data class GetMasterHlsAudioPlaylistDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -184,8 +179,7 @@ public data class GetMasterHlsAudioPlaylistDeprecatedRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsAudioPlaylistRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsAudioPlaylistRequest.kt index 0de6babf4..abe180e0d 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsAudioPlaylistRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsAudioPlaylistRequest.kt @@ -32,8 +32,7 @@ public data class GetMasterHlsAudioPlaylistRequest( @SerialName("itemId") public val itemId: UUID, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -83,8 +82,7 @@ public data class GetMasterHlsAudioPlaylistRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -119,8 +117,7 @@ public data class GetMasterHlsAudioPlaylistRequest( @SerialName("maxStreamingBitrate") public val maxStreamingBitrate: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -145,14 +142,12 @@ public data class GetMasterHlsAudioPlaylistRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -177,8 +172,7 @@ public data class GetMasterHlsAudioPlaylistRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsVideoPlaylistDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsVideoPlaylistDeprecatedRequest.kt index 92d44670f..4ba48e354 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsVideoPlaylistDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsVideoPlaylistDeprecatedRequest.kt @@ -33,8 +33,7 @@ public data class GetMasterHlsVideoPlaylistDeprecatedRequest( @SerialName("itemId") public val itemId: UUID, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -90,8 +89,7 @@ public data class GetMasterHlsVideoPlaylistDeprecatedRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -121,8 +119,7 @@ public data class GetMasterHlsVideoPlaylistDeprecatedRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -147,14 +144,12 @@ public data class GetMasterHlsVideoPlaylistDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -189,8 +184,7 @@ public data class GetMasterHlsVideoPlaylistDeprecatedRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsVideoPlaylistRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsVideoPlaylistRequest.kt index 320ef02e9..971c63f73 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsVideoPlaylistRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMasterHlsVideoPlaylistRequest.kt @@ -32,8 +32,7 @@ public data class GetMasterHlsVideoPlaylistRequest( @SerialName("itemId") public val itemId: UUID, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -83,8 +82,7 @@ public data class GetMasterHlsVideoPlaylistRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -114,8 +112,7 @@ public data class GetMasterHlsVideoPlaylistRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -140,14 +137,12 @@ public data class GetMasterHlsVideoPlaylistRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -182,8 +177,7 @@ public data class GetMasterHlsVideoPlaylistRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMusicGenresRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMusicGenresRequest.kt index 9820f0895..c81c3ea6c 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMusicGenresRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetMusicGenresRequest.kt @@ -28,8 +28,7 @@ import org.jellyfin.sdk.model.serializer.UUIDSerializer @Serializable public data class GetMusicGenresRequest( /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -54,14 +53,12 @@ public data class GetMusicGenresRequest( @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be filtered out based on item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. If specified, results will be filtered in based on item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetNextUpRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetNextUpRequest.kt index 9e544bb98..fa8520a80 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetNextUpRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetNextUpRequest.kt @@ -34,8 +34,7 @@ public data class GetNextUpRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -55,8 +54,7 @@ public data class GetNextUpRequest( @SerialName("seriesId") public val seriesId: UUID? = null, /** - * Optional. Specify this to localize the search to a specific item or folder. Omit to use the - * root. + * Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. */ @SerialName("parentId") public val parentId: UUID? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPersonsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPersonsRequest.kt index 9582f97f7..25b6f40d1 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPersonsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPersonsRequest.kt @@ -66,14 +66,12 @@ public data class GetPersonsRequest( @SerialName("enableImageTypes") public val enableImageTypes: Collection<ImageType>? = null, /** - * Optional. If specified results will be filtered to exclude those containing the specified - * PersonType. Allows multiple, comma-delimited. + * Optional. If specified results will be filtered to exclude those containing the specified PersonType. Allows multiple, comma-delimited. */ @SerialName("excludePersonTypes") public val excludePersonTypes: Collection<String>? = null, /** - * Optional. If specified results will be filtered to include only those containing the specified - * PersonType. Allows multiple, comma-delimited. + * Optional. If specified results will be filtered to include only those containing the specified PersonType. Allows multiple, comma-delimited. */ @SerialName("personTypes") public val personTypes: Collection<String>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPlaylistItemsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPlaylistItemsRequest.kt index e5b9b10b7..359ea27a5 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPlaylistItemsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPlaylistItemsRequest.kt @@ -34,8 +34,7 @@ public data class GetPlaylistItemsRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPostedPlaybackInfoDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPostedPlaybackInfoDeprecatedRequest.kt index 98a91277e..b0ee99398 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPostedPlaybackInfoDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetPostedPlaybackInfoDeprecatedRequest.kt @@ -19,8 +19,7 @@ import org.jellyfin.sdk.model.UUID import org.jellyfin.sdk.model.serializer.UUIDSerializer /** - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher - * precedence. + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. * Query parameters are obsolete. */ @Serializable diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetQueryFiltersRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetQueryFiltersRequest.kt index e86bd7346..ddaaf5730 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetQueryFiltersRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetQueryFiltersRequest.kt @@ -27,14 +27,12 @@ public data class GetQueryFiltersRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. Specify this to localize the search to a specific item or folder. Omit to use the - * root. + * Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. */ @SerialName("parentId") public val parentId: UUID? = null, /** - * Optional. If specified, results will be filtered based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRecordingsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRecordingsRequest.kt index efb3cd53a..91b94ff1c 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRecordingsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRecordingsRequest.kt @@ -36,8 +36,7 @@ public data class GetRecordingsRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRecordingsSeriesRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRecordingsSeriesRequest.kt index dcc600b10..9b9ab6219 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRecordingsSeriesRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRecordingsSeriesRequest.kt @@ -41,8 +41,7 @@ public data class GetRecordingsSeriesRequest( @SerialName("groupId") public val groupId: String? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRemoteImagesRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRemoteImagesRequest.kt index be1daa81f..d263c9688 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRemoteImagesRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetRemoteImagesRequest.kt @@ -33,8 +33,7 @@ public data class GetRemoteImagesRequest( @SerialName("type") public val type: ImageType? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetResumeItemsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetResumeItemsRequest.kt index c00f72f04..212f78d8c 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetResumeItemsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetResumeItemsRequest.kt @@ -52,10 +52,7 @@ public data class GetResumeItemsRequest( @SerialName("parentId") public val parentId: UUID? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, @@ -80,14 +77,12 @@ public data class GetResumeItemsRequest( @SerialName("enableImageTypes") public val enableImageTypes: Collection<ImageType>? = null, /** - * Optional. If specified, results will be filtered based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. If specified, results will be filtered based on the item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSearchHintsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSearchHintsRequest.kt index c36278ffb..8ebaadc45 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSearchHintsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSearchHintsRequest.kt @@ -25,8 +25,7 @@ import org.jellyfin.sdk.model.serializer.UUIDSerializer @Serializable public data class GetSearchHintsRequest( /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -46,20 +45,17 @@ public data class GetSearchHintsRequest( @SerialName("searchTerm") public val searchTerm: String, /** - * If specified, only results with the specified item types are returned. This allows multiple, - * comma delimited. + * If specified, only results with the specified item types are returned. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, /** - * If specified, results with these item types are filtered out. This allows multiple, comma - * delimited. + * If specified, results with these item types are filtered out. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * If specified, only results with the specified media types are returned. This allows multiple, - * comma delimited. + * If specified, only results with the specified media types are returned. This allows multiple, comma delimited. */ @SerialName("mediaTypes") public val mediaTypes: Collection<MediaType>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSeasonsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSeasonsRequest.kt index e71b36e50..40e4fa81c 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSeasonsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSeasonsRequest.kt @@ -34,10 +34,7 @@ public data class GetSeasonsRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarAlbumsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarAlbumsRequest.kt index 2d0d43d0a..b72217c3e 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarAlbumsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarAlbumsRequest.kt @@ -42,10 +42,7 @@ public data class GetSimilarAlbumsRequest( @SerialName("limit") public val limit: Int? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarArtistsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarArtistsRequest.kt index 751c11c68..83e8a6e49 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarArtistsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarArtistsRequest.kt @@ -42,10 +42,7 @@ public data class GetSimilarArtistsRequest( @SerialName("limit") public val limit: Int? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarItemsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarItemsRequest.kt index 90aa0c6e3..48f3d19f2 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarItemsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarItemsRequest.kt @@ -42,10 +42,7 @@ public data class GetSimilarItemsRequest( @SerialName("limit") public val limit: Int? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarMoviesRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarMoviesRequest.kt index a921c0068..db9ac8650 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarMoviesRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarMoviesRequest.kt @@ -42,10 +42,7 @@ public data class GetSimilarMoviesRequest( @SerialName("limit") public val limit: Int? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarShowsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarShowsRequest.kt index 5516fdb32..5c57844bd 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarShowsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarShowsRequest.kt @@ -42,10 +42,7 @@ public data class GetSimilarShowsRequest( @SerialName("limit") public val limit: Int? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarTrailersRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarTrailersRequest.kt index 0cc784c42..aa0adbaaf 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarTrailersRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetSimilarTrailersRequest.kt @@ -42,10 +42,7 @@ public data class GetSimilarTrailersRequest( @SerialName("limit") public val limit: Int? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines, TrailerUrls. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetStudiosRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetStudiosRequest.kt index a0886f0ab..b5802ee2b 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetStudiosRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetStudiosRequest.kt @@ -26,8 +26,7 @@ import org.jellyfin.sdk.model.serializer.UUIDSerializer @Serializable public data class GetStudiosRequest( /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -52,14 +51,12 @@ public data class GetStudiosRequest( @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be filtered out based on item type. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. If specified, results will be filtered based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeMediaRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeMediaRequest.kt index 2fa827e08..0744e95be 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeMediaRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeMediaRequest.kt @@ -38,9 +38,7 @@ public data class GetThemeMediaRequest( @SerialName("inheritFromParent") public val inheritFromParent: Boolean? = false, /** - * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, - * Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, - * ProductionYear, SortName, Random, Revenue, Runtime. + * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ @SerialName("sortBy") public val sortBy: Collection<ItemSortBy>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeSongsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeSongsRequest.kt index 414c14ebf..577778c8f 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeSongsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeSongsRequest.kt @@ -38,9 +38,7 @@ public data class GetThemeSongsRequest( @SerialName("inheritFromParent") public val inheritFromParent: Boolean? = false, /** - * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, - * Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, - * ProductionYear, SortName, Random, Revenue, Runtime. + * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ @SerialName("sortBy") public val sortBy: Collection<ItemSortBy>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeVideosRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeVideosRequest.kt index 1aa1f3ed7..ecd6e2471 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeVideosRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetThemeVideosRequest.kt @@ -38,9 +38,7 @@ public data class GetThemeVideosRequest( @SerialName("inheritFromParent") public val inheritFromParent: Boolean? = false, /** - * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, - * Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, - * ProductionYear, SortName, Random, Revenue, Runtime. + * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ @SerialName("sortBy") public val sortBy: Collection<ItemSortBy>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetTrailersRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetTrailersRequest.kt index 866fdec5d..631e9fb62 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetTrailersRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetTrailersRequest.kt @@ -99,14 +99,12 @@ public data class GetTrailersRequest( @SerialName("is4K") public val is4k: Boolean? = null, /** - * Optional. If specified, results will be filtered based on LocationType. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. */ @SerialName("locationTypes") public val locationTypes: Collection<LocationType>? = null, /** - * Optional. If specified, results will be filtered based on the LocationType. This allows - * multiple, comma delimited. + * Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. */ @SerialName("excludeLocationTypes") public val excludeLocationTypes: Collection<LocationType>? = null, @@ -196,14 +194,12 @@ public data class GetTrailersRequest( @SerialName("isSports") public val isSports: Boolean? = null, /** - * Optional. If specified, results will be filtered by excluding item ids. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. */ @SerialName("excludeItemIds") public val excludeItemIds: Collection<UUID>? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -213,8 +209,7 @@ public data class GetTrailersRequest( @SerialName("limit") public val limit: Int? = null, /** - * When searching within folders, this determines whether or not the search will be recursive. - * true/false. + * When searching within folders, this determines whether or not the search will be recursive. true/false. */ @SerialName("recursive") public val recursive: Boolean? = null, @@ -234,22 +229,17 @@ public data class GetTrailersRequest( @SerialName("parentId") public val parentId: UUID? = null, /** - * Optional. Specify additional fields of information to return in the output. This allows - * multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, - * IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, - * Revenue, SortName, Studios, Taglines. + * Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. */ @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be filtered based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: - * IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. + * Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. */ @SerialName("filters") public val filters: Collection<ItemFilter>? = null, @@ -264,15 +254,12 @@ public data class GetTrailersRequest( @SerialName("mediaTypes") public val mediaTypes: Collection<MediaType>? = null, /** - * Optional. If specified, results will be filtered based on those containing image types. This - * allows multiple, comma delimited. + * Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. */ @SerialName("imageTypes") public val imageTypes: Collection<ImageType>? = null, /** - * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, - * Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, - * ProductionYear, SortName, Random, Revenue, Runtime. + * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ @SerialName("sortBy") public val sortBy: Collection<ItemSortBy>? = null, @@ -282,26 +269,22 @@ public data class GetTrailersRequest( @SerialName("isPlayed") public val isPlayed: Boolean? = null, /** - * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. */ @SerialName("genres") public val genres: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, - * pipe delimited. + * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. */ @SerialName("officialRatings") public val officialRatings: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. */ @SerialName("tags") public val tags: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on production year. This allows multiple, - * comma delimited. + * Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. */ @SerialName("years") public val years: Collection<Int>? = null, @@ -321,74 +304,62 @@ public data class GetTrailersRequest( @SerialName("enableImageTypes") public val enableImageTypes: Collection<ImageType>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * person. + * Optional. If specified, results will be filtered to include only those containing the specified person. */ @SerialName("person") public val person: String? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * person id. + * Optional. If specified, results will be filtered to include only those containing the specified person id. */ @SerialName("personIds") public val personIds: Collection<UUID>? = null, /** - * Optional. If specified, along with Person, results will be filtered to include only those - * containing the specified person and PersonType. Allows multiple, comma-delimited. + * Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. */ @SerialName("personTypes") public val personTypes: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. */ @SerialName("studios") public val studios: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on artists. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. */ @SerialName("artists") public val artists: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. */ @SerialName("excludeArtistIds") public val excludeArtistIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * artist id. + * Optional. If specified, results will be filtered to include only those containing the specified artist id. */ @SerialName("artistIds") public val artistIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * album artist id. + * Optional. If specified, results will be filtered to include only those containing the specified album artist id. */ @SerialName("albumArtistIds") public val albumArtistIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered to include only those containing the specified - * contributing artist id. + * Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. */ @SerialName("contributingArtistIds") public val contributingArtistIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered based on album. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. */ @SerialName("albums") public val albums: Collection<String>? = null, /** - * Optional. If specified, results will be filtered based on album id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. */ @SerialName("albumIds") public val albumIds: Collection<UUID>? = null, /** - * Optional. If specific items are needed, specify a list of item id's to retrieve. This allows - * multiple, comma delimited. + * Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. */ @SerialName("ids") public val ids: Collection<UUID>? = null, @@ -468,14 +439,12 @@ public data class GetTrailersRequest( @SerialName("nameLessThan") public val nameLessThan: String? = null, /** - * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. */ @SerialName("studioIds") public val studioIds: Collection<UUID>? = null, /** - * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe - * delimited. + * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. */ @SerialName("genreIds") public val genreIds: Collection<UUID>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetUniversalAudioStreamRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetUniversalAudioStreamRequest.kt index e6ff6b0ff..4422bd4ea 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetUniversalAudioStreamRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetUniversalAudioStreamRequest.kt @@ -70,8 +70,7 @@ public data class GetUniversalAudioStreamRequest( @SerialName("maxStreamingBitrate") public val maxStreamingBitrate: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetUpcomingEpisodesRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetUpcomingEpisodesRequest.kt index 8a7980659..52ee2e975 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetUpcomingEpisodesRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetUpcomingEpisodesRequest.kt @@ -29,8 +29,7 @@ public data class GetUpcomingEpisodesRequest( @SerialName("userId") public val userId: UUID? = null, /** - * Optional. The record index to start at. All items with a lower index will be dropped from the - * results. + * Optional. The record index to start at. All items with a lower index will be dropped from the results. */ @SerialName("startIndex") public val startIndex: Int? = null, @@ -45,8 +44,7 @@ public data class GetUpcomingEpisodesRequest( @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. Specify this to localize the search to a specific item or folder. Omit to use the - * root. + * Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. */ @SerialName("parentId") public val parentId: UUID? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsAudioPlaylistDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsAudioPlaylistDeprecatedRequest.kt index 8a8677238..0e00382fb 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsAudioPlaylistDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsAudioPlaylistDeprecatedRequest.kt @@ -33,8 +33,7 @@ public data class GetVariantHlsAudioPlaylistDeprecatedRequest( @SerialName("itemId") public val itemId: UUID, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -90,8 +89,7 @@ public data class GetVariantHlsAudioPlaylistDeprecatedRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -126,8 +124,7 @@ public data class GetVariantHlsAudioPlaylistDeprecatedRequest( @SerialName("maxStreamingBitrate") public val maxStreamingBitrate: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -152,14 +149,12 @@ public data class GetVariantHlsAudioPlaylistDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -184,8 +179,7 @@ public data class GetVariantHlsAudioPlaylistDeprecatedRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsAudioPlaylistRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsAudioPlaylistRequest.kt index 76a588cc3..6fd62a7ed 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsAudioPlaylistRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsAudioPlaylistRequest.kt @@ -32,8 +32,7 @@ public data class GetVariantHlsAudioPlaylistRequest( @SerialName("itemId") public val itemId: UUID, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -83,8 +82,7 @@ public data class GetVariantHlsAudioPlaylistRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -119,8 +117,7 @@ public data class GetVariantHlsAudioPlaylistRequest( @SerialName("maxStreamingBitrate") public val maxStreamingBitrate: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -145,14 +142,12 @@ public data class GetVariantHlsAudioPlaylistRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -177,8 +172,7 @@ public data class GetVariantHlsAudioPlaylistRequest( @SerialName("height") public val height: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsVideoPlaylistDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsVideoPlaylistDeprecatedRequest.kt index 72c77108e..7a55ef98c 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsVideoPlaylistDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsVideoPlaylistDeprecatedRequest.kt @@ -33,8 +33,7 @@ public data class GetVariantHlsVideoPlaylistDeprecatedRequest( @SerialName("itemId") public val itemId: UUID, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -90,8 +89,7 @@ public data class GetVariantHlsVideoPlaylistDeprecatedRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -121,8 +119,7 @@ public data class GetVariantHlsVideoPlaylistDeprecatedRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -147,14 +144,12 @@ public data class GetVariantHlsVideoPlaylistDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -189,8 +184,7 @@ public data class GetVariantHlsVideoPlaylistDeprecatedRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsVideoPlaylistRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsVideoPlaylistRequest.kt index c1635e565..3b57fd28f 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsVideoPlaylistRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVariantHlsVideoPlaylistRequest.kt @@ -32,8 +32,7 @@ public data class GetVariantHlsVideoPlaylistRequest( @SerialName("itemId") public val itemId: UUID, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -83,8 +82,7 @@ public data class GetVariantHlsVideoPlaylistRequest( @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -114,8 +112,7 @@ public data class GetVariantHlsVideoPlaylistRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -140,14 +137,12 @@ public data class GetVariantHlsVideoPlaylistRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -182,8 +177,7 @@ public data class GetVariantHlsVideoPlaylistRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamByContainerRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamByContainerRequest.kt index d56ad4a71..bfc8e890b 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamByContainerRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamByContainerRequest.kt @@ -32,14 +32,12 @@ public data class GetVideoStreamByContainerRequest( @SerialName("itemId") public val itemId: UUID, /** - * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, - * avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. */ @SerialName("container") public val container: String, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -89,14 +87,12 @@ public data class GetVideoStreamByContainerRequest( @SerialName("deviceId") public val deviceId: String? = null, /** - * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. */ @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -126,8 +122,7 @@ public data class GetVideoStreamByContainerRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -152,14 +147,12 @@ public data class GetVideoStreamByContainerRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -194,8 +187,7 @@ public data class GetVideoStreamByContainerRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, @@ -255,8 +247,7 @@ public data class GetVideoStreamByContainerRequest( @SerialName("enableMpegtsM2TsMode") public val enableMpegtsM2TsMode: Boolean? = null, /** - * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. */ @SerialName("videoCodec") public val videoCodec: String? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamDeprecatedRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamDeprecatedRequest.kt index 83a4c75b2..3282752d5 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamDeprecatedRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamDeprecatedRequest.kt @@ -33,14 +33,12 @@ public data class GetVideoStreamDeprecatedRequest( @SerialName("itemId") public val itemId: UUID, /** - * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, - * avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. */ @SerialName("container") public val container: String? = null, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -91,14 +89,12 @@ public data class GetVideoStreamDeprecatedRequest( @SerialName("deviceId") public val deviceId: String? = null, /** - * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. */ @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -128,8 +124,7 @@ public data class GetVideoStreamDeprecatedRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -154,14 +149,12 @@ public data class GetVideoStreamDeprecatedRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -196,8 +189,7 @@ public data class GetVideoStreamDeprecatedRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, @@ -257,8 +249,7 @@ public data class GetVideoStreamDeprecatedRequest( @SerialName("enableMpegtsM2TsMode") public val enableMpegtsM2TsMode: Boolean? = null, /** - * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. */ @SerialName("videoCodec") public val videoCodec: String? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamRequest.kt index f349a7ea9..6b9148024 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetVideoStreamRequest.kt @@ -32,14 +32,12 @@ public data class GetVideoStreamRequest( @SerialName("itemId") public val itemId: UUID, /** - * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, - * avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + * The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. */ @SerialName("container") public val container: String? = null, /** - * Optional. If true, the original file will be streamed statically without any encoding. Use - * either no url extension or the original file extension. true/false. + * Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. */ @SerialName("static") public val static: Boolean? = null, @@ -84,14 +82,12 @@ public data class GetVideoStreamRequest( @SerialName("deviceId") public val deviceId: String? = null, /** - * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. */ @SerialName("audioCodec") public val audioCodec: String? = null, /** - * Whether or not to allow automatic stream copy if requested values match the original source. - * Defaults to true. + * Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. */ @SerialName("enableAutoStreamCopy") public val enableAutoStreamCopy: Boolean? = null, @@ -121,8 +117,7 @@ public data class GetVideoStreamRequest( @SerialName("maxAudioBitDepth") public val maxAudioBitDepth: Int? = null, /** - * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to - * encoder defaults. + * Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. */ @SerialName("audioBitRate") public val audioBitRate: Int? = null, @@ -147,14 +142,12 @@ public data class GetVideoStreamRequest( @SerialName("level") public val level: String? = null, /** - * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted - * unless the device has specific requirements. + * Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("framerate") public val framerate: Float? = null, /** - * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be - * omitted unless the device has specific requirements. + * Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. */ @SerialName("maxFramerate") public val maxFramerate: Float? = null, @@ -189,8 +182,7 @@ public data class GetVideoStreamRequest( @SerialName("maxHeight") public val maxHeight: Int? = null, /** - * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to - * encoder defaults. + * Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. */ @SerialName("videoBitRate") public val videoBitRate: Int? = null, @@ -250,8 +242,7 @@ public data class GetVideoStreamRequest( @SerialName("enableMpegtsM2TsMode") public val enableMpegtsM2TsMode: Boolean? = null, /** - * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select - * using the url's extension. + * Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. */ @SerialName("videoCodec") public val videoCodec: String? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetYearsRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetYearsRequest.kt index 39541885c..05c58d660 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetYearsRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/GetYearsRequest.kt @@ -53,14 +53,12 @@ public data class GetYearsRequest( @SerialName("fields") public val fields: Collection<ItemFields>? = null, /** - * Optional. If specified, results will be excluded based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. */ @SerialName("excludeItemTypes") public val excludeItemTypes: Collection<BaseItemKind>? = null, /** - * Optional. If specified, results will be included based on item type. This allows multiple, comma - * delimited. + * Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. */ @SerialName("includeItemTypes") public val includeItemTypes: Collection<BaseItemKind>? = null, @@ -70,9 +68,7 @@ public data class GetYearsRequest( @SerialName("mediaTypes") public val mediaTypes: Collection<MediaType>? = null, /** - * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, - * Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, - * ProductionYear, SortName, Random, Revenue, Runtime. + * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. */ @SerialName("sortBy") public val sortBy: Collection<ItemSortBy>? = null, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/PlayRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/PlayRequest.kt index 56f6d5f9e..d72f42dbd 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/PlayRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/PlayRequest.kt @@ -29,8 +29,7 @@ public data class PlayRequest( @SerialName("sessionId") public val sessionId: String, /** - * The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet - * implemented play next and play last may play now. + * The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. */ @SerialName("playCommand") public val playCommand: PlayCommand, diff --git a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/RefreshItemRequest.kt b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/RefreshItemRequest.kt index e702e9d76..76feae24e 100644 --- a/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/RefreshItemRequest.kt +++ b/jellyfin-model/src/commonMain/kotlin-generated/org/jellyfin/sdk/model/api/request/RefreshItemRequest.kt @@ -46,8 +46,7 @@ public data class RefreshItemRequest( @SerialName("replaceAllImages") public val replaceAllImages: Boolean? = false, /** - * (Optional) Determines if trickplay images should be replaced. Only applicable if mode is - * FullRefresh. + * (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. */ @SerialName("regenerateTrickplay") public val regenerateTrickplay: Boolean? = false,