aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick <20588554+nicknsy@users.noreply.github.com>2023-03-28 12:45:41 -0700
committerNick <20588554+nicknsy@users.noreply.github.com>2023-06-22 16:23:52 -0700
commitd7fd54197c98346844b53860b280f0a6e65f6180 (patch)
treeb892d0a841d4b06fa3b71a3248cf32e15b912f85
parentfe1c9d43ce350c76ab6afcd5f54e260487c0ff22 (diff)
Task localization
-rw-r--r--Emby.Server.Implementations/Localization/Core/en-US.json2
-rw-r--r--MediaBrowser.Providers/Trickplay/TrickplayImagesTask.cs9
2 files changed, 2 insertions, 9 deletions
diff --git a/Emby.Server.Implementations/Localization/Core/en-US.json b/Emby.Server.Implementations/Localization/Core/en-US.json
index 15088384c..496ecabd3 100644
--- a/Emby.Server.Implementations/Localization/Core/en-US.json
+++ b/Emby.Server.Implementations/Localization/Core/en-US.json
@@ -112,6 +112,8 @@
"TaskCleanLogsDescription": "Deletes log files that are more than {0} days old.",
"TaskRefreshPeople": "Refresh People",
"TaskRefreshPeopleDescription": "Updates metadata for actors and directors in your media library.",
+ "TaskRefreshTrickplayImages": "Generate Trickplay Images",
+ "TaskRefreshTrickplayImagesDescription": "Creates trickplay previews for videos in enabled libraries.",
"TaskUpdatePlugins": "Update Plugins",
"TaskUpdatePluginsDescription": "Downloads and installs updates for plugins that are configured to update automatically.",
"TaskCleanTranscode": "Clean Transcode Directory",
diff --git a/MediaBrowser.Providers/Trickplay/TrickplayImagesTask.cs b/MediaBrowser.Providers/Trickplay/TrickplayImagesTask.cs
index 50166ca39..8d0d9d5a3 100644
--- a/MediaBrowser.Providers/Trickplay/TrickplayImagesTask.cs
+++ b/MediaBrowser.Providers/Trickplay/TrickplayImagesTask.cs
@@ -71,15 +71,6 @@ namespace MediaBrowser.Providers.Trickplay
/// <inheritdoc />
public async Task ExecuteAsync(IProgress<double> progress, CancellationToken cancellationToken)
{
- // TODO: libraryoptions dont run on libraries with trickplay disabled
- /* will this still get all sub-items? should recursive be true?
- * from chapterimagestask
- * DtoOptions = new DtoOptions(false)
- {
- EnableImages = false
- },
- SourceTypes = new SourceType[] { SourceType.Library },
- */
var items = _libraryManager.GetItemList(new InternalItemsQuery
{
MediaTypes = new[] { MediaType.Video },