diff --git a/jellyfin-api/api/jellyfin-api.api b/jellyfin-api/api/jellyfin-api.api index a1a386b7..896a221a 100644 --- a/jellyfin-api/api/jellyfin-api.api +++ b/jellyfin-api/api/jellyfin-api.api @@ -604,9 +604,9 @@ public final class org/jellyfin/sdk/api/operations/ItemLookupApi : org/jellyfin/ public final class org/jellyfin/sdk/api/operations/ItemRefreshApi : org/jellyfin/sdk/api/operations/Api { public fun (Lorg/jellyfin/sdk/api/client/ApiClient;)V - public final fun refreshItem (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun refreshItem (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun refreshItem (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun refreshItem$default (Lorg/jellyfin/sdk/api/operations/ItemRefreshApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun refreshItem$default (Lorg/jellyfin/sdk/api/operations/ItemRefreshApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class org/jellyfin/sdk/api/operations/ItemUpdateApi : org/jellyfin/sdk/api/operations/Api { diff --git a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/info/ApiConstants.kt b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/info/ApiConstants.kt index 9df1c43c..420b839b 100644 --- a/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/info/ApiConstants.kt +++ b/jellyfin-api/src/commonMain/kotlin-generated/org/jellyfin/sdk/api/info/ApiConstants.kt @@ -8,5 +8,5 @@ package org.jellyfin.sdk.api.info import kotlin.String public object ApiConstants { - public const val apiVersion: String = "10.10.1" + public const val apiVersion: String = "10.10.2" } 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 e460dc05..3ed16cda 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 @@ -30,6 +30,8 @@ public class ItemRefreshApi( * 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, @@ -37,15 +39,17 @@ public class ItemRefreshApi( imageRefreshMode: MetadataRefreshMode? = MetadataRefreshMode.NONE, replaceAllMetadata: Boolean? = false, replaceAllImages: Boolean? = false, + regenerateTrickplay: Boolean? = false, ): Response { val pathParameters = buildMap(1) { put("itemId", itemId) } - val queryParameters = buildMap(4) { + val queryParameters = buildMap(5) { put("metadataRefreshMode", metadataRefreshMode) put("imageRefreshMode", imageRefreshMode) put("replaceAllMetadata", replaceAllMetadata) put("replaceAllImages", replaceAllImages) + put("regenerateTrickplay", regenerateTrickplay) } val data = null val response = api.post("/Items/{itemId}/Refresh", pathParameters, queryParameters, data) @@ -63,5 +67,6 @@ public class ItemRefreshApi( imageRefreshMode = request.imageRefreshMode, replaceAllMetadata = request.replaceAllMetadata, replaceAllImages = request.replaceAllImages, + regenerateTrickplay = request.regenerateTrickplay, ) } diff --git a/jellyfin-model/api/jellyfin-model.api b/jellyfin-model/api/jellyfin-model.api index e6b0191b..029db5af 100644 --- a/jellyfin-model/api/jellyfin-model.api +++ b/jellyfin-model/api/jellyfin-model.api @@ -18752,19 +18752,21 @@ public final class org/jellyfin/sdk/model/api/request/PostCapabilitiesRequest$Co public final class org/jellyfin/sdk/model/api/request/RefreshItemRequest { public static final field Companion Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest$Companion; - public fun (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;)V - public synthetic fun (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V + public synthetic fun (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/util/UUID; public final fun component2 ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode; public final fun component3 ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode; public final fun component4 ()Ljava/lang/Boolean; public final fun component5 ()Ljava/lang/Boolean; - public final fun copy (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest; - public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest; + public final fun component6 ()Ljava/lang/Boolean; + public final fun copy (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest; + public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest; public fun equals (Ljava/lang/Object;)Z public final fun getImageRefreshMode ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode; public final fun getItemId ()Ljava/util/UUID; public final fun getMetadataRefreshMode ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode; + public final fun getRegenerateTrickplay ()Ljava/lang/Boolean; public final fun getReplaceAllImages ()Ljava/lang/Boolean; public final fun getReplaceAllMetadata ()Ljava/lang/Boolean; public fun hashCode ()I 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 d99ec8e1..e702e9d7 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 @@ -45,4 +45,10 @@ 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. + */ + @SerialName("regenerateTrickplay") + public val regenerateTrickplay: Boolean? = false, ) diff --git a/openapi.json b/openapi.json index de58845b..35226541 100644 --- a/openapi.json +++ b/openapi.json @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a69279de58a6d71250f81230a06e95ea97d7f52d6aba95d8f875abc56c90d295 -size 1732856 +oid sha256:b4dfff59261c7c5289a1dfca4ebabb74efd1ac6bf710665d228d8259ee0ca6b8 +size 1733185