From c07a1d3df97eab2ae0e445f2fadbafe3a6cd245f Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 14 Apr 2026 15:23:35 +0200 Subject: [PATCH] Rename Amazon to Metadata --- app/Services/Tmux/TmuxLayoutBuilder.php | 14 ++++++------ app/Services/Tmux/TmuxTaskRunner.php | 8 +++---- resources/views/admin/books/edit.blade.php | 4 ++-- resources/views/admin/books/index.blade.php | 2 +- resources/views/admin/console/edit.blade.php | 4 ++-- resources/views/admin/console/index.blade.php | 2 +- resources/views/admin/site/edit.blade.php | 22 +++++++++---------- .../admin/site/tmux-edit-content.blade.php | 8 +++---- resources/views/console/index.blade.php | 2 +- 9 files changed, 33 insertions(+), 33 deletions(-) diff --git a/app/Services/Tmux/TmuxLayoutBuilder.php b/app/Services/Tmux/TmuxLayoutBuilder.php index 3006d2681..95cf06d45 100644 --- a/app/Services/Tmux/TmuxLayoutBuilder.php +++ b/app/Services/Tmux/TmuxLayoutBuilder.php @@ -41,7 +41,7 @@ class TmuxLayoutBuilder // Postprocessing 'postprocessing_additional' => ' Additional', 'postprocessing_tv' => '󰟴 TV/Anime', - 'postprocessing_amazon' => ' Amazon', + 'postprocessing_amazon' => ' Metadata', 'postprocessing_movies' => ' Movies', // IRC @@ -112,14 +112,14 @@ class TmuxLayoutBuilder $this->paneManager->selectPane('1.0'); $this->paneManager->splitHorizontal('1', '50%', $this->getPaneDisplayName('removeCrapReleases')); - // Window 2: Postprocessing (Left: Additional + TV + Amazon, Right: Movies + XXX) + // Window 2: Postprocessing (Left: Additional + TV + Metadata, Right: Movies + XXX) $this->paneManager->createWindow(2, ' Post'); $this->paneManager->setPaneTitle('2.0', $this->getPaneDisplayName('postprocessing_additional')); // Split horizontally to create left and right halves (don't set title yet) $this->paneManager->splitHorizontal('2', '50%', ''); - // Left side (2.0): split vertically for TV and Amazon + // Left side (2.0): split vertically for TV and Metadata $this->paneManager->selectPane('2.0'); $this->paneManager->splitVertical('2', '67%', $this->getPaneDisplayName('postprocessing_tv')); $this->paneManager->splitVertical('2', '50%', $this->getPaneDisplayName('postprocessing_amazon')); @@ -157,14 +157,14 @@ class TmuxLayoutBuilder $this->paneManager->selectPane('1.0'); $this->paneManager->splitHorizontal('1', '50%', $this->getPaneDisplayName('removeCrapReleases')); - // Window 2: Postprocessing (Left: Additional + TV + Amazon, Right: Movies + XXX) + // Window 2: Postprocessing (Left: Additional + TV + Metadata, Right: Movies + XXX) $this->paneManager->createWindow(2, ' Post'); $this->paneManager->setPaneTitle('2.0', $this->getPaneDisplayName('postprocessing_additional')); // Split horizontally to create left and right halves (don't set title yet) $this->paneManager->splitHorizontal('2', '50%', ''); - // Left side (2.0): split vertically for TV and Amazon + // Left side (2.0): split vertically for TV and Metadata $this->paneManager->selectPane('2.0'); $this->paneManager->splitVertical('2', '67%', $this->getPaneDisplayName('postprocessing_tv')); $this->paneManager->splitVertical('2', '50%', $this->getPaneDisplayName('postprocessing_amazon')); @@ -195,7 +195,7 @@ class TmuxLayoutBuilder $this->paneManager->selectPane('0.0'); $this->paneManager->splitHorizontal('0', '67%', $this->getPaneDisplayName('sequential')); - // Window 1: Amazon postprocessing + // Window 1: Metadata postprocessing $this->paneManager->createWindow(1, ' Utils'); $this->paneManager->setPaneTitle('1.0', $this->getPaneDisplayName('fixReleaseNames')); $this->paneManager->selectPane('1.0'); @@ -229,7 +229,7 @@ class TmuxLayoutBuilder * Window layout: * - Window 0: Monitor + Processing panes (binaries/backfill/releases) * - Window 1: Utilities (fix names, remove crap) - * - Window 2: Postprocessing (additional, tv/anime, movies, amazon) + * - Window 2: Postprocessing (additional, tv/anime, movies, metadata) * - Window 3: IRC Scraper * - Window 4+: Monitoring tools (htop, nmon, vnstat, tcptrack, bwm-ng, mytop, redis, console) */ diff --git a/app/Services/Tmux/TmuxTaskRunner.php b/app/Services/Tmux/TmuxTaskRunner.php index 581bfcb73..d6a8f97fe 100644 --- a/app/Services/Tmux/TmuxTaskRunner.php +++ b/app/Services/Tmux/TmuxTaskRunner.php @@ -713,7 +713,7 @@ class TmuxTaskRunner } /** - * Run Amazon post-processing (Books, Music, Games, Console) + * Run metadata post-processing (Books, Music, Games, Console) * * @param array $runVar */ @@ -723,7 +723,7 @@ class TmuxTaskRunner $pane = '2.2'; if ($enabled !== 1) { - return $this->disablePane($pane, 'Post-process Amazon', 'disabled in settings'); + return $this->disablePane($pane, 'Post-process Metadata', 'disabled in settings'); } $hasWork = (int) ($runVar['counts']['now']['processmusic'] ?? 0) > 0 @@ -732,7 +732,7 @@ class TmuxTaskRunner || (int) ($runVar['counts']['now']['processgames'] ?? 0) > 0; if (! $hasWork) { - return $this->disablePane($pane, 'Post-process Amazon', 'no music/books/games to process'); + return $this->disablePane($pane, 'Post-process Metadata', 'no music/books/games to process'); } $niceness = Settings::settingValue('niceness') ?? 2; @@ -770,7 +770,7 @@ class TmuxTaskRunner // If no commands were added (no work available), disable the pane if (empty($commands)) { - return $this->disablePane($pane, 'Post-process Amazon', 'no work available for any enabled type'); + return $this->disablePane($pane, 'Post-process Metadata', 'no work available for any enabled type'); } $sleep = (int) ($runVar['settings']['post_timer_amazon'] ?? 300); diff --git a/resources/views/admin/books/edit.blade.php b/resources/views/admin/books/edit.blade.php index 8670425b6..e7587d429 100644 --- a/resources/views/admin/books/edit.blade.php +++ b/resources/views/admin/books/edit.blade.php @@ -89,7 +89,7 @@
@if(!empty($book['url'])) - View on Amazon + View Source @endif
diff --git a/resources/views/admin/books/index.blade.php b/resources/views/admin/books/index.blade.php index 6cdef0cbc..1054ef638 100644 --- a/resources/views/admin/books/index.blade.php +++ b/resources/views/admin/books/index.blade.php @@ -80,7 +80,7 @@ + title="View Source"> @endif diff --git a/resources/views/admin/console/edit.blade.php b/resources/views/admin/console/edit.blade.php index d6c7f71c6..2a5cf1223 100644 --- a/resources/views/admin/console/edit.blade.php +++ b/resources/views/admin/console/edit.blade.php @@ -89,7 +89,7 @@
@if(!empty($con['url'])) - View on Amazon + View Source @endif
diff --git a/resources/views/admin/console/index.blade.php b/resources/views/admin/console/index.blade.php index 9a5dc0d32..949fb2427 100644 --- a/resources/views/admin/console/index.blade.php +++ b/resources/views/admin/console/index.blade.php @@ -103,7 +103,7 @@ + title="View Source"> @endif diff --git a/resources/views/admin/site/edit.blade.php b/resources/views/admin/site/edit.blade.php index 59afd3b66..36dd8caeb 100644 --- a/resources/views/admin/site/edit.blade.php +++ b/resources/views/admin/site/edit.blade.php @@ -379,7 +379,7 @@ @endforeach -

Whether to attempt to lookup music information from Amazon.

+

Whether to attempt to lookup music information from metadata providers.

@@ -407,7 +407,7 @@ @endforeach -

Whether to attempt to lookup game information from Amazon.

+

Whether to attempt to lookup game information from metadata providers.

@@ -789,7 +789,7 @@ -

The maximum amount of releases to process for passwords/previews/mediainfo per run. Every release gets processed here. This uses NNTP an connection, 1 per thread. This does not query Amazon.

+

The maximum amount of releases to process for passwords/previews/mediainfo per run. Every release gets processed here. This uses NNTP an connection, 1 per thread. This does not query external metadata providers.

@@ -843,7 +843,7 @@ -

The maximum amount of music to process with amazon per run. This does not use an NNTP connection.

+

The maximum amount of music to process with metadata lookups per run. This does not use an NNTP connection.

@@ -852,7 +852,7 @@ -

The maximum amount of games to process with amazon per run. This does not use an NNTP connection.

+

The maximum amount of games to process with metadata lookups per run. This does not use an NNTP connection.

@@ -861,7 +861,7 @@ -

The maximum amount of books to process with amazon per run. This does not use an NNTP connection

+

The maximum amount of books to process with metadata lookups per run. This does not use an NNTP connection

@@ -875,14 +875,14 @@
ms
-

Sleep time in milliseconds to wait in between amazon requests. If you thread post-proc, multiply by the number of threads. ie Postprocessing Threads = 12, Amazon sleep time = 12000

+

Sleep time in milliseconds to wait between external metadata requests. If you thread post-proc, multiply by the number of threads. ie Postprocessing Threads = 12, sleep time = 12000

@@ -912,7 +912,7 @@ -

The maximum amount of NFO files to process per run. This uses NNTP an connection, 1 per thread. This does not query Amazon.

+

The maximum amount of NFO files to process per run. This uses NNTP an connection, 1 per thread. This does not query external metadata providers.

@@ -1060,11 +1060,11 @@
-

The number of threads for non-amazon postprocessing. This includes movies, anime and tv lookups.

+

The number of threads for video metadata postprocessing. This includes movies, anime and tv lookups.

diff --git a/resources/views/admin/site/tmux-edit-content.blade.php b/resources/views/admin/site/tmux-edit-content.blade.php index 0db6727b7..db6db4a0a 100644 --- a/resources/views/admin/site/tmux-edit-content.blade.php +++ b/resources/views/admin/site/tmux-edit-content.blade.php @@ -239,7 +239,7 @@
- + @foreach($yesno_ids as $index => $val) - +
seconds
- + @foreach($yesno_ids as $index => $val) - +
seconds diff --git a/resources/views/console/index.blade.php b/resources/views/console/index.blade.php index 9269a24ab..d5d811dde 100644 --- a/resources/views/console/index.blade.php +++ b/resources/views/console/index.blade.php @@ -130,7 +130,7 @@ @endif