mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 04:46:07 -08:00
fix(stats): stop counting duplicate typeset subtitle lines (#191)
This commit is contained in:
1 parent
046e74ea91
commit
b98d4d65c7
34 files changed
+2644
-35
No files matched your search
@@ -82,6 +82,29 @@ export interface StatsExcludedWord {
|
||||
reading: string;
|
||||
}
|
||||
|
||||
/** One animation burst the duplicate-line cleanup found in the stats database. */
|
||||
export interface StatsDuplicateLineSample {
|
||||
videoId: number;
|
||||
videoTitle: string | null;
|
||||
text: string;
|
||||
/** Events recorded for this run, including the one that is kept. */
|
||||
frames: number;
|
||||
removedLines: number;
|
||||
startMs: number;
|
||||
endMs: number;
|
||||
}
|
||||
|
||||
export interface StatsDuplicateLineCleanupResult {
|
||||
dryRun: boolean;
|
||||
lookbackDays: number | null;
|
||||
scannedLines: number;
|
||||
burstGroups: number;
|
||||
removedLines: number;
|
||||
removedWordOccurrences: number;
|
||||
removedKanjiOccurrences: number;
|
||||
samples: StatsDuplicateLineSample[];
|
||||
}
|
||||
|
||||
export interface StatsCoverImage {
|
||||
contentType: string;
|
||||
dataUrl: string;
|
||||
|
||||
Reference in new issue
Block a user