aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaInfo
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-30 23:50:09 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-30 23:50:09 -0500
commit9685b81db5b975f57739a9dcc6c2cdb6c4c4dbcf (patch)
treee9046e6d8e3df2f205b48fbcd9389bdb18290b55 /MediaBrowser.Controller/MediaInfo
parent117c1b76b2f7a09024f308b1aa692a1e5282d1c5 (diff)
convert artist providers
Diffstat (limited to 'MediaBrowser.Controller/MediaInfo')
-rw-r--r--MediaBrowser.Controller/MediaInfo/FFMpegManager.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs b/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs
index c1951038cc..746157bb33 100644
--- a/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs
+++ b/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs
@@ -126,7 +126,7 @@ namespace MediaBrowser.Controller.MediaInfo
{
if (!IsEligibleForChapterImageExtraction(video))
{
- return true;
+ extractImages = false;
}
var success = true;
@@ -187,6 +187,11 @@ namespace MediaBrowser.Controller.MediaInfo
break;
}
}
+ else if (!string.IsNullOrEmpty(chapter.ImagePath))
+ {
+ chapter.ImagePath = null;
+ changesMade = true;
+ }
}
else if (!string.Equals(path, chapter.ImagePath, StringComparison.OrdinalIgnoreCase))
{