Decrease intro minimum duration
Always report progress to frontend
This commit is contained in:
parent
98b0ebe6ce
commit
7bf6931dbc
@ -17,7 +17,7 @@ public class FingerprinterTask : IScheduledTask {
|
||||
/// <summary>
|
||||
/// Minimum time (in seconds) for a contiguous time range to be considered an introduction.
|
||||
/// </summary>
|
||||
private const int MINIMUM_INTRO_DURATION = 18;
|
||||
private const int MINIMUM_INTRO_DURATION = 15;
|
||||
|
||||
/// <summary>
|
||||
/// Maximum number of bits (out of 32 total) that can be different between segments before they are considered dissimilar.
|
||||
@ -126,6 +126,9 @@ public class FingerprinterTask : IScheduledTask {
|
||||
lhs.EpisodeId,
|
||||
rhs.EpisodeId);
|
||||
|
||||
totalProcessed += 2;
|
||||
progress.Report((totalProcessed * 100) / Plugin.Instance!.TotalQueued);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user