adding test to episode number extraction, and support multiepisode files

This commit is contained in:
Luis Miguel Almánzar
2013-05-23 22:05:31 -04:00
parent 24921ea0fb
commit 96a4f93e7c
7 changed files with 253 additions and 6 deletions

View File

@@ -53,6 +53,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV
if (episode != null)
{
episode.IndexNumber = TVUtils.GetEpisodeNumberFromFile(args.Path, season != null);
episode.IndexNumberEnd = TVUtils.GetEndingEpisodeNumberFromFile(args.Path);
if (season != null)
{