Surface the three media jobs that appeared in no tab at all
play_state_sync, media_shares_permissions and media_cleaner work on the same files the arrs manage and were visible only by opening the Scheduler and reading an orchestrator's log. Readable at all because run_orch_child() now writes a run record and a per-script log for its children — this could not have been written yesterday. Each card shows the sentence the script itself ended on rather than a count re-derived here, since the three word their outcome differently and the wording is the part worth reading.
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
// ═══════════════════════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
require_once __DIR__ . '/config.php';
|
||||
require_once __DIR__ . '/media.php'; // vv_media_jobs() — the media-side jobs shown on this page
|
||||
|
||||
// ── Conf helpers ──────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -450,6 +451,10 @@ function vv_arrs_all(): array {
|
||||
'nodes' => $result,
|
||||
'sync' => vv_arr_sync_stats(),
|
||||
'recovery' => vv_arr_recovery_stats(),
|
||||
// The three media jobs that operate on the same files the arrs manage and had no tab of
|
||||
// their own. Cheap — three run records and three log tails — and it rides this payload
|
||||
// rather than a fourth endpoint because it is shown on this page and cached with it.
|
||||
'media_jobs' => function_exists('vv_media_jobs') ? vv_media_jobs() : [],
|
||||
'host' => $currentHost,
|
||||
'settings' => [
|
||||
'arr_sync_enabled' => ($vars['ARR_SYNC_ENABLED'] ?? 'true') !== 'false',
|
||||
|
||||
Reference in New Issue
Block a user