浏览代码

Pass Series Display Order information to SeasonInfo

LJQ 9 月之前
父节点
当前提交
bfec336549
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 1 0
      MediaBrowser.Controller/Entities/TV/Season.cs
  2. 3 0
      MediaBrowser.Controller/Providers/SeasonInfo.cs

+ 1 - 0
MediaBrowser.Controller/Entities/TV/Season.cs

@@ -238,6 +238,7 @@ namespace MediaBrowser.Controller.Entities.TV
             if (series is not null)
             {
                 id.SeriesProviderIds = series.ProviderIds;
+                id.SeriesDisplayOrder = series.DisplayOrder;
             }
 
             return id;

+ 3 - 0
MediaBrowser.Controller/Providers/SeasonInfo.cs

@@ -1,4 +1,5 @@
 #pragma warning disable CA2227, CS1591
+#nullable disable
 
 using System;
 using System.Collections.Generic;
@@ -13,5 +14,7 @@ namespace MediaBrowser.Controller.Providers
         }
 
         public Dictionary<string, string> SeriesProviderIds { get; set; }
+
+        public string SeriesDisplayOrder { get; set; }
     }
 }