diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-05-09 00:38:12 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-05-09 00:38:12 -0400 |
| commit | 1a323767be3808f8cdd055e8481ca8c1ea0b1582 (patch) | |
| tree | 92192376a9ed141ccc771017957f3f5a4a1b8ac7 /MediaBrowser.Controller | |
| parent | 06a11c27d91193ece901241c51194992075ed8ea (diff) | |
Do better to make sure hls files are cleaned up
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/TV/Episode.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/Entities/TV/Episode.cs b/MediaBrowser.Controller/Entities/TV/Episode.cs index 503d1513c1..be761ef662 100644 --- a/MediaBrowser.Controller/Entities/TV/Episode.cs +++ b/MediaBrowser.Controller/Entities/TV/Episode.cs @@ -305,13 +305,7 @@ namespace MediaBrowser.Controller.Entities.TV if (!ParentIndexNumber.HasValue && !string.IsNullOrEmpty(Path)) { - ParentIndexNumber = TVUtils.GetSeasonNumberFromPath(Path); - - // If a change was made record it - if (ParentIndexNumber.HasValue) - { - hasChanges = true; - } + ParentIndexNumber = TVUtils.GetSeasonNumberFromEpisodeFile(Path); } // If a change was made record it |
