Merge pull request #7382 from crobibero/keyframe-extractor

This commit is contained in:
Bond-009 2022-03-01 10:55:02 +01:00 committed by GitHub
commit 2bc8383968
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -119,5 +119,7 @@
"TaskDownloadMissingSubtitles": "Download missing subtitles", "TaskDownloadMissingSubtitles": "Download missing subtitles",
"TaskDownloadMissingSubtitlesDescription": "Searches the internet for missing subtitles based on metadata configuration.", "TaskDownloadMissingSubtitlesDescription": "Searches the internet for missing subtitles based on metadata configuration.",
"TaskOptimizeDatabase": "Optimize database", "TaskOptimizeDatabase": "Optimize database",
"TaskOptimizeDatabaseDescription": "Compacts database and truncates free space. Running this task after scanning the library or doing other changes that imply database modifications might improve performance." "TaskOptimizeDatabaseDescription": "Compacts database and truncates free space. Running this task after scanning the library or doing other changes that imply database modifications might improve performance.",
"TaskKeyframeExtractor": "Keyframe Extractor",
"TaskKeyframeExtractorDescription": "Extracts keyframes from video files to create more precise HLS playlists. This task may run for a long time."
} }

View file

@ -39,13 +39,13 @@ public class KeyframeExtractionScheduledTask : IScheduledTask
} }
/// <inheritdoc /> /// <inheritdoc />
public string Name => "Keyframe Extractor"; public string Name => _localizationManager.GetLocalizedString("TaskKeyframeExtractor");
/// <inheritdoc /> /// <inheritdoc />
public string Key => "KeyframeExtraction"; public string Key => "KeyframeExtraction";
/// <inheritdoc /> /// <inheritdoc />
public string Description => "Extracts keyframes from video files to create more precise HLS playlists. This task may run for a long time."; public string Description => _localizationManager.GetLocalizedString("TaskKeyframeExtractorDescription");
/// <inheritdoc /> /// <inheritdoc />
public string Category => _localizationManager.GetLocalizedString("TasksLibraryCategory"); public string Category => _localizationManager.GetLocalizedString("TasksLibraryCategory");