aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorNarfinger <narfinger@noreply.github.com>2019-11-07 10:50:02 +0900
committerNarfinger <narfinger@noreply.github.com>2019-11-07 10:50:02 +0900
commit9cd62d661f3209ddf411faf5936e2483b532fadb (patch)
tree214cdd8380dbf5d7da74821622a74d6655427e6f /Emby.Server.Implementations/Library/LibraryManager.cs
parent4a20260a27e8ede4188609d8206a7313f7243e97 (diff)
removed restriction to 3 digits in episodenumber and 4 in season numbers
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 90f373cc6..dd74b1060 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -2489,6 +2489,11 @@ namespace Emby.Server.Implementations.Library
}
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;
}