aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-09 00:38:12 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-09 00:38:12 -0400
commit1a323767be3808f8cdd055e8481ca8c1ea0b1582 (patch)
tree92192376a9ed141ccc771017957f3f5a4a1b8ac7 /MediaBrowser.Controller
parent06a11c27d91193ece901241c51194992075ed8ea (diff)
Do better to make sure hls files are cleaned up
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Entities/TV/Episode.cs8
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