瀏覽代碼

Remove empty ParentIndexNumber workaround

Shadowghost 3 月之前
父節點
當前提交
72911501d3
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      Emby.Server.Implementations/Library/LibraryManager.cs

+ 0 - 9
Emby.Server.Implementations/Library/LibraryManager.cs

@@ -2626,15 +2626,6 @@ namespace Emby.Server.Implementations.Library
                 {
                     episode.ParentIndexNumber = season.IndexNumber;
                 }
-                else
-                {
-                    /*
-                    Anime series don't generally have a season in their file name, however,
-                    TVDb needs a season to correctly get the metadata.
-                    Hence, a null season needs to be filled with something. */
-                    // FIXME perhaps this would be better for TVDb parser to ask for season 1 if no season is specified
-                    episode.ParentIndexNumber = 1;
-                }
 
                 if (episode.ParentIndexNumber.HasValue)
                 {