소스 검색

Save TVChannel Height if set (#8777)

Co-authored-by: Cody Robibero <cody@robibe.ro>
SenorSmartyPants 2 년 전
부모
커밋
369c7f1451
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Jellyfin.Api/Controllers/ItemUpdateController.cs

+ 5 - 0
Jellyfin.Api/Controllers/ItemUpdateController.cs

@@ -246,6 +246,11 @@ public class ItemUpdateController : BaseJellyfinApiController
             episode.AirsBeforeSeasonNumber = request.AirsBeforeSeasonNumber;
         }
 
+        if (request.Height is not null && item is LiveTvChannel channel)
+        {
+            channel.Height = request.Height.Value;
+        }
+
         item.Tags = request.Tags;
 
         if (request.Taglines is not null)