<?xml version="1.0"?>
<PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EnableAnimeDetection>true</EnableAnimeDetection>
  <AnimeDetectionMethod>BlackFrame</AnimeDetectionMethod>
  <BlackFrameMinimumPercentage>85</BlackFrameMinimumPercentage>
  <BlackFrameThreshold>28</BlackFrameThreshold>
  <BlackFrameMinDuration>0.5</BlackFrameMinDuration>
  <BlackFrameMinCreditsDuration>15</BlackFrameMinCreditsDuration>
  <BlackFrameMinimumDensity>0.5</BlackFrameMinimumDensity>
  <BlackFrameMaxCreditsDuration>450</BlackFrameMaxCreditsDuration>
  <BlackFrameMaxSceneMergeGap>20</BlackFrameMaxSceneMergeGap>
  <BlackFrameScanAllFrames>false</BlackFrameScanAllFrames>
  <BlackFrameAutoFallbackToAllFrames>true</BlackFrameAutoFallbackToAllFrames>
  <BlackFrameRefineCreditsBoundary>true</BlackFrameRefineCreditsBoundary>
  <BlackFrameParallelSessions>1</BlackFrameParallelSessions>
  <BlackFrameFfmpegThreads>2</BlackFrameFfmpegThreads>
  <ChromaprintDetectionPriority>1</ChromaprintDetectionPriority>
  <ChromaprintUseAudioFingerprinting>true</ChromaprintUseAudioFingerprinting>
  <ChromaprintEnableBlackFrameFallback>true</ChromaprintEnableBlackFrameFallback>
  <ChromaprintFingerprintDuration>360</ChromaprintFingerprintDuration>
  <ChromaprintFingerprintSimilarityThreshold>0.9</ChromaprintFingerprintSimilarityThreshold>
  <ChromaprintEnableEpisodeComparison>true</ChromaprintEnableEpisodeComparison>
  <ChromaprintEpisodeComparisonTolerance>15</ChromaprintEpisodeComparisonTolerance>
  <ChromaprintEpisodeComparisonMinimumEpisodes>4</ChromaprintEpisodeComparisonMinimumEpisodes>
  <ChromaprintMinDuration>10</ChromaprintMinDuration>
  <ChromaprintMaxDuration>300</ChromaprintMaxDuration>
  <ChromaprintSimilarityThreshold>0.85</ChromaprintSimilarityThreshold>
  <ChromaprintMinEpisodeCount>4</ChromaprintMinEpisodeCount>
  <ChromaprintAnalysisPercent>10</ChromaprintAnalysisPercent>
  <ChromaprintBlackFrameThreshold>0.05</ChromaprintBlackFrameThreshold>
  <ChromaprintBlackFrameMinDuration>0.5</ChromaprintBlackFrameMinDuration>
  <ChromaprintUseSilenceDetection>true</ChromaprintUseSilenceDetection>
  <ChromaprintSilenceThreshold>-50</ChromaprintSilenceThreshold>
  <ChromaprintSilenceMinDuration>0.5</ChromaprintSilenceMinDuration>
  <ChromaprintSilenceSearchWindow>30</ChromaprintSilenceSearchWindow>
  <ChromaprintMinConfidence>0.85</ChromaprintMinConfidence>
  <ChromaprintMinimumScoreFloor>0.55</ChromaprintMinimumScoreFloor>
  <ChromaprintStopSecondsFromEnd>20</ChromaprintStopSecondsFromEnd>
  <ChromaprintLowerProcessPriority>true</ChromaprintLowerProcessPriority>
  <ChromaprintFfmpegThreads>2</ChromaprintFfmpegThreads>
  <ChromaprintParallelSessions>1</ChromaprintParallelSessions>
  <ChromaprintDelayBetweenOperationsMs>750</ChromaprintDelayBetweenOperationsMs>
  <EnableAutoDetection>false</EnableAutoDetection>
  <TimestampOffsetSeconds>0</TimestampOffsetSeconds>
  <DetectionMode>HashOnly</DetectionMode>
  <UseCorrelationScoring>true</UseCorrelationScoring>
  <CorrelationWindowSeconds>5</CorrelationWindowSeconds>
  <DetectionResultSelection>CorrelationScoring</DetectionResultSelection>
  <BlackScreenPriority>3</BlackScreenPriority>
  <OcrDetectionPriority>1</OcrDetectionPriority>
  <EnableCombinedHeuristic>false</EnableCombinedHeuristic>
  <CombinedHeuristicPriority>1</CombinedHeuristicPriority>
  <CombinedMinutesFromEnd>0</CombinedMinutesFromEnd>
  <CombinedSearchStart>0.7</CombinedSearchStart>
  <CombinedFrameRate>1</CombinedFrameRate>
  <CombinedUseKeywords>true</CombinedUseKeywords>
  <CombinedUseTextDensity>true</CombinedUseTextDensity>
  <CombinedUseDarkness>true</CombinedUseDarkness>
  <CombinedKeywordWeight>0.4</CombinedKeywordWeight>
  <CombinedTextDensityWeight>0.3</CombinedTextDensityWeight>
  <CombinedDarknessWeight>0.3</CombinedDarknessWeight>
  <CombinedScoreThreshold>0.6</CombinedScoreThreshold>
  <CombinedMinSustainedSeconds>3</CombinedMinSustainedSeconds>
  <CpuUsageLimit>50</CpuUsageLimit>
  <CpuThrottleDelayMs>250</CpuThrottleDelayMs>
  <DelayBetweenEpisodesMs>4000</DelayBetweenEpisodesMs>
  <LowerThreadPriority>true</LowerThreadPriority>
  <LowerProcessPriority>true</LowerProcessPriority>
  <TempFolderPath />
  <EnableDetailedLogging>false</EnableDetailedLogging>
  <EnableLogToFile>false</EnableLogToFile>
  <LogFileFolderPath />
  <LibraryIds />
  <ScheduledTaskOnlyProcessMissing>true</ScheduledTaskOnlyProcessMissing>
  <BackupImportOverwriteExisting>false</BackupImportOverwriteExisting>
  <ManualSkipExistingMarkers>true</ManualSkipExistingMarkers>
  <SkipPreviouslyFailedEpisodes>true</SkipPreviouslyFailedEpisodes>
  <IgnoreFailureMarkers>true</IgnoreFailureMarkers>
  <EnableScheduledTaskNotifications>false</EnableScheduledTaskNotifications>
  <EnableAutoDetectionNotifications>false</EnableAutoDetectionNotifications>
  <NotifyOnSuccessOnly>false</NotifyOnSuccessOnly>
  <MinimumEpisodesForNotification>1</MinimumEpisodesForNotification>
  <PreventConcurrentPluginProcessing>true</PreventConcurrentPluginProcessing>
  <MaxScheduledBackups>10</MaxScheduledBackups>
  <BackupFolderPath>/media/Backup</BackupFolderPath>
  <EnableAutoBackupAfterDetection>true</EnableAutoBackupAfterDetection>
  <EnableAutoRestoreAfterScan>true</EnableAutoRestoreAfterScan>
  <SkipDetectionIfFileUnchanged>true</SkipDetectionIfFileUnchanged>
  <UseEmbeddedChapterMarkersScheduled>true</UseEmbeddedChapterMarkersScheduled>
  <UseEmbeddedChapterMarkersManual>true</UseEmbeddedChapterMarkersManual>
  <EnableTracerMode>false</EnableTracerMode>
  <OnlyProcessNewEpisodes>true</OnlyProcessNewEpisodes>
  <EnableThumbnailGeneration>false</EnableThumbnailGeneration>
  <AutoSkipExcludedSeriesIds />
  <ThumbnailWidth>320</ThumbnailWidth>
  <ThumbnailQuality>75</ThumbnailQuality>
  <EnableVideoValidation>true</EnableVideoValidation>
  <VideoValidationTimeoutSeconds>10</VideoValidationTimeoutSeconds>
  <DisableDetection>false</DisableDetection>
  <DetectionRules />
  <EnableTheIntroDB>true</EnableTheIntroDB>
  <OcrEngine>Tesseract</OcrEngine>
  <OcrEndpoint>http://localhost:8884</OcrEndpoint>
  <LocalTesseractPath />
  <OcrDetectionKeywords>associate producer,based on,cast,casting,cinematography,co-producer,composer,costume design,created by,credits,developed by,directed by,director of photography,editing,editor,end credits,ende,executive producer,fim,fin,fine,guest starring,music by,produced by,producer,production company,production design,screenplay,series producer,sound,special thanks,starring,story by,the end,visual effects,written by,끝,終,キャスト,スタッフ,監督,脚本,音楽,製作,制作,プロデューサー,原作,演出,撮影,編集,おわり,提供,協力,出演</OcrDetectionKeywords>
  <OcrLanguages>eng+jpn</OcrLanguages>
  <OcrPageSegmentationMode>3</OcrPageSegmentationMode>
  <OcrEngineMode>3</OcrEngineMode>
  <OcrPreserveInterwordSpaces>true</OcrPreserveInterwordSpaces>
  <OcrEnableEpisodeComparison>true</OcrEnableEpisodeComparison>
  <OcrEpisodeComparisonTolerance>20</OcrEpisodeComparisonTolerance>
  <OcrEpisodeComparisonMinimumEpisodes>4</OcrEpisodeComparisonMinimumEpisodes>
  <OcrSearchStartUnit>minutes</OcrSearchStartUnit>
  <OcrSearchStartValue>3</OcrSearchStartValue>
  <OcrDetectionSearchStart>0.65</OcrDetectionSearchStart>
  <OcrMinutesFromEnd>3</OcrMinutesFromEnd>
  <OcrFrameRate>0.5</OcrFrameRate>
  <OcrMinimumMatches>1</OcrMinimumMatches>
  <OcrMaxFramesToProcess>0</OcrMaxFramesToProcess>
  <OcrMaxAnalysisDuration>600</OcrMaxAnalysisDuration>
  <OcrStopSecondsFromEnd>20</OcrStopSecondsFromEnd>
  <OcrJpegQuality>92</OcrJpegQuality>
  <OcrMaxResolutionHeight>1080</OcrMaxResolutionHeight>
  <OcrDelayBetweenFramesMs>500</OcrDelayBetweenFramesMs>
  <OcrEnableParallelProcessing>false</OcrEnableParallelProcessing>
  <OcrParallelBatchSize>2</OcrParallelBatchSize>
  <OcrDelayBetweenBatchesMs>500</OcrDelayBetweenBatchesMs>
  <OcrEnableSmartFrameSkipping>true</OcrEnableSmartFrameSkipping>
  <OcrConsecutiveMatchesForEarlyStop>3</OcrConsecutiveMatchesForEarlyStop>
  <OcrMinimumConfidence>0</OcrMinimumConfidence>
  <OcrEnableCharacterDensityDetection>true</OcrEnableCharacterDensityDetection>
  <OcrCharacterDensityThreshold>20</OcrCharacterDensityThreshold>
  <OcrCharacterDensityConsecutiveFrames>3</OcrCharacterDensityConsecutiveFrames>
  <OcrCharacterDensityPrimaryMethod>true</OcrCharacterDensityPrimaryMethod>
  <OcrDensityRequireKeyword>true</OcrDensityRequireKeyword>
  <OcrDensityKeywordWindowSeconds>10</OcrDensityKeywordWindowSeconds>
  <OcrDensityRequireTemporalConsistency>true</OcrDensityRequireTemporalConsistency>
  <OcrDensityMinimumDurationSeconds>15</OcrDensityMinimumDurationSeconds>
  <OcrDensityRequireStyleConsistency>true</OcrDensityRequireStyleConsistency>
  <OcrDensityStyleConsistencyThreshold>0.7</OcrDensityStyleConsistencyThreshold>
  <OcrRetryAttempts>5</OcrRetryAttempts>
  <OcrRetryDelayMs>2000</OcrRetryDelayMs>
  <OcrFfmpegPreInputArgs />
  <OcrFfmpegThreads>2</OcrFfmpegThreads>
  <OcrFfmpegFilterThreads>1</OcrFfmpegFilterThreads>
  <OcrEnableHardwareAcceleration>false</OcrEnableHardwareAcceleration>
  <OcrHardwareAccelerationType>none</OcrHardwareAccelerationType>
  <OcrHardwareDevice />
  <OcrUseHardwareOutputFormat>true</OcrUseHardwareOutputFormat>
  <OcrUseHardwareFilters>true</OcrUseHardwareFilters>
  <OcrUseDirectMemoryPipeline>true</OcrUseDirectMemoryPipeline>
  <OcrEnableImagePreprocessing>false</OcrEnableImagePreprocessing>
  <OcrContrastEnhancement>1.5</OcrContrastEnhancement>
  <OcrBrightnessAdjustment>0.05</OcrBrightnessAdjustment>
  <OcrEnableSharpening>false</OcrEnableSharpening>
  <OcrSharpenAmount>1</OcrSharpenAmount>
  <OcrEnableRoiDetection>false</OcrEnableRoiDetection>
  <OcrRoiRegion>full</OcrRoiRegion>
  <OcrEnableFuzzyMatching>false</OcrEnableFuzzyMatching>
  <OcrFuzzyMatchMaxDistance>2</OcrFuzzyMatchMaxDistance>
  <OcrEnableScrollingDetection>false</OcrEnableScrollingDetection>
  <OcrScrollingMinFrames>5</OcrScrollingMinFrames>
  <OcrScrollingOverlapThreshold>0.3</OcrScrollingOverlapThreshold>
  <OcrEnableAdaptiveFrameRate>false</OcrEnableAdaptiveFrameRate>
  <OcrAdaptiveFrameRateMin>0.25</OcrAdaptiveFrameRateMin>
  <OcrAdaptiveSamplingEnabled>false</OcrAdaptiveSamplingEnabled>
  <OcrAdaptiveCoarseIntervalSeconds>5</OcrAdaptiveCoarseIntervalSeconds>
  <OcrAdaptiveRefinementRadiusSeconds>10</OcrAdaptiveRefinementRadiusSeconds>
  <OcrEnableCreditStructureDetection>false</OcrEnableCreditStructureDetection>
  <OcrMinimumStructureLines>4</OcrMinimumStructureLines>
  <OcrEnableConcurrentFiles>false</OcrEnableConcurrentFiles>
  <OcrConcurrentFiles>1</OcrConcurrentFiles>
</PluginConfiguration>