dummy chapters every five minutes instead of ten

pull/702/head
Luke Pulverenti 12 years ago
parent ced548d824
commit 42783ca48e

@ -286,7 +286,7 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
/// <summary>
/// The dummy chapter duration
/// </summary>
private readonly long DummyChapterDuration = TimeSpan.FromMinutes(10).Ticks;
private readonly long _dummyChapterDuration = TimeSpan.FromMinutes(5).Ticks;
/// <summary>
/// Adds the dummy chapters.
@ -296,7 +296,7 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
{
var runtime = video.RunTimeTicks ?? 0;
if (runtime < DummyChapterDuration)
if (runtime < _dummyChapterDuration)
{
return;
}
@ -315,7 +315,7 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
});
index++;
currentChapterTicks += DummyChapterDuration;
currentChapterTicks += _dummyChapterDuration;
}
video.Chapters = chapters;

Loading…
Cancel
Save