Pārlūkot izejas kodu

Task localization

Nick 2 gadi atpakaļ
vecāks
revīzija
d7fd54197c

+ 2 - 0
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",

+ 0 - 9
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 },