Browse Source

Save TVChannel Height if set (#8777)

Co-authored-by: Cody Robibero <cody@robibe.ro>
SenorSmartyPants 2 years ago
parent
commit
369c7f1451
1 changed files with 5 additions and 0 deletions
  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)