diff --git a/BlackBarRemover_v1.0.zip b/BlackBarRemover_v1.0.zip index 2aaa86a..fd67b45 100644 Binary files a/BlackBarRemover_v1.0.zip and b/BlackBarRemover_v1.0.zip differ diff --git a/JellyfinPlugin/Configuration/configPage.html b/JellyfinPlugin/Configuration/configPage.html index fae89d8..0ff3bf8 100644 --- a/JellyfinPlugin/Configuration/configPage.html +++ b/JellyfinPlugin/Configuration/configPage.html @@ -12,30 +12,30 @@
-
Włącza automatyczne skanowanie nowych i zaktualizowanych materiałów wideo w bibliotece.
+
Enables automatic scanning of new and updated video files in the library.
- + -
Domyślnie 0.15. Zwiększ, jeśli czarne pasy nie są wykrywane ze względu na szum wideo (np. dla plików WEBDL zmień na 0.2).
+
Default is 0.15. Increase this value if black bars are not being detected due to video noise (e.g., change to 0.20 for WEB-DL).
- + -
Wybierz, w jaki sposób wtyczka ma usuwać pasy. Opcja serwerowa wymusza transkodowanie (obciążenie CPU/GPU), opcja kliencka jest lżejsza, ale działa tylko w przeglądarce.
+
Choose how the plugin should remove black bars. Server option forces transcoding (CPU/GPU load), Client option is lightweight but only works in web browsers.
diff --git a/JellyfinPlugin/HtmlPatcher.cs b/JellyfinPlugin/HtmlPatcher.cs index 96c375c..7f8a000 100644 --- a/JellyfinPlugin/HtmlPatcher.cs +++ b/JellyfinPlugin/HtmlPatcher.cs @@ -55,7 +55,7 @@ namespace JellyfinPlugin if (string.IsNullOrEmpty(webPath)) { - _logger.LogWarning("Nie udało się znaleźć katalogu Jellyfin Web. Ręczna instalacja skryptu klienckiego będzie wymagana."); + _logger.LogWarning("Failed to find Jellyfin Web directory. Manual installation of the client script is required."); return; } @@ -66,23 +66,22 @@ namespace JellyfinPlugin if (!indexContent.Contains("BlackBarRemover/ClientScript.js")) { - // Wstrzykujemy skrypt tuż przed końcem taga indexContent = indexContent.Replace("", $" {scriptTag}\n"); File.WriteAllText(indexPath, indexContent); - _logger.LogInformation("Pomyślnie wstrzyknięto skrypt BlackBarRemover do index.html w {Path}", indexPath); + _logger.LogInformation("Successfully injected BlackBarRemover script into index.html at {Path}", indexPath); } else { - _logger.LogInformation("Skrypt kliencki BlackBarRemover jest już wstrzyknięty w index.html"); + _logger.LogInformation("BlackBarRemover client script is already injected into index.html"); } } catch (UnauthorizedAccessException) { - _logger.LogWarning("Brak uprawnień do modyfikacji index.html. Zmodyfikuj uprawnienia plików Jellyfin Web lub dodaj skrypt ręcznie w Custom CSS."); + _logger.LogWarning("Permission denied to modify index.html. Change Jellyfin Web file permissions or add the script manually in Custom CSS."); } catch (Exception ex) { - _logger.LogError(ex, "Wystąpił błąd podczas wstrzykiwania skryptu do index.html."); + _logger.LogError(ex, "An error occurred while injecting the script into index.html."); } } diff --git a/JellyfinPlugin/Tasks/LibraryRetroactiveScanTask.cs b/JellyfinPlugin/Tasks/LibraryRetroactiveScanTask.cs index 588c852..c9b9a68 100644 --- a/JellyfinPlugin/Tasks/LibraryRetroactiveScanTask.cs +++ b/JellyfinPlugin/Tasks/LibraryRetroactiveScanTask.cs @@ -23,9 +23,9 @@ namespace JellyfinPlugin.Tasks _libraryManager = libraryManager; } - public string Name => "Skanuj brakujące czarne pasy (Black Bar Remover)"; + public string Name => "Scan Missing Black Bars (Black Bar Remover)"; public string Key => "BlackBarRetroactiveScanTask"; - public string Description => "Skanuje istniejącą bibliotekę, pomijając już przeanalizowane pliki. Użyj tego po zainstalowaniu wtyczki."; + public string Description => "Scans the existing library, skipping already analyzed files. Run this after installing the plugin."; public string Category => "Library"; public async Task ExecuteAsync(IProgress progress, CancellationToken cancellationToken) diff --git a/README.md b/README.md index 04216d0..50d9189 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ A Jellyfin plugin that automatically detects and removes black bars (letterboxin - `Client`: Uses CSS injection in the web player. - `Server`: Requires setting up the FFmpeg wrapper. - `Both`: Attempts both methods depending on the client. -4. **Important for existing libraries**: The plugin automatically scans *new* files when they are added to Jellyfin. For your existing library, go to **Dashboard -> Scheduled Tasks** and run the **"Skanuj brakujące czarne pasy (Black Bar Remover)"** task manually. It will scan all existing movies and episodes in the background. +4. **Important for existing libraries**: The plugin automatically scans *new* files when they are added to Jellyfin. For your existing library, go to **Dashboard -> Scheduled Tasks** and run the **"Scan Missing Black Bars (Black Bar Remover)"** task manually. It will scan all existing movies and episodes in the background. ### Activating the Server-Side Wrapper (Automatic)