Skip to content

Strategic Roadmap - Media Stack Evolution

Created: 2025-12-29 Last Updated: 2025-12-30 Status: Active Strategic Planning Document Owner: Deep-Thinker Agent Methodology: Sequential Analysis (12 thoughts)


Executive Summary

Following major infrastructure work (dual MergerFS fix, Tdarr SVT-AV1 migration, docker-compose DRY refactoring, USB content discovery), this document provides a prioritized strategic roadmap for the next phase of media stack evolution.

Current System Health

ComponentStatusHealth
Tdarr TranscodingSVT-AV1 Mode2,252 queued, 2,140 errors (2,131 recoverable), 1,473 success
Prowlarr/IndexersHealthy5 indexers wired
SABnzbdHealthyPrimary downloader
TransmissionHealthyVPN-protected torrents
PlexRunningLibrary analysis complete, CPU optimizations applied
KomgaRunningComics/manga library
MylarRunningComic acquisition, Prowlarr category fixed (7000)
SuwayomiRunningChapter downloads (staging only)
ReadarrRETIREDSecurity risk - needs replacement with Bookshelf

Storage Capacity

MountSizeUsedAvailableUse%
MergerFS Pool41TB30TB11TB73%
NVMe (fast8tb)7.3TB3.1TB4.3TB42%

USB Drives Discovered (2025-12-29)

DriveContentSizeImport Priority
Slow_3TB_HDMusic (235 artists), Books (349GB Comics)545GBHIGH
Slow_4TB_2Movies (555 films)1.7TBHIGH
Slow_2TB_2Anime (64 series)854GBMEDIUM
Slow_2TB_1ROMs/Emulation backup-SEPARATE
JoeTerabyteTrash (repurpose)465GBLOW

Completed Tasks (2025-12-29 Session)

TIER 1 Progress

  • [x] T1.1 - Tdarr errors diagnosed: 2,131 recoverable (timeout artifacts), 9 actual failures
  • [x] T1.3 - Prowlarr category fixed for Mylar (7030 -> 7000)
  • [x] Switched Tdarr to CPU-based SVT-AV1 for 60-70% compression
  • [x] Fixed MergerFS CPU usage (286% -> 0-34%) with RAM caching
  • [x] Configured Tailscale for stable remote access

TIER 2 Progress

  • [x] T2.3 - Created suwayomi-organizer.sh script
  • [x] Manga collection topology documented (MANGA_COLLECTION_TOPOLOGY.md)
  • [x] Adversarial review completed

TIER 4 Progress

  • [x] T4.1 - Created DOCUMENTATION_INDEX.md with comprehensive navigation
  • [x] T4.2 - Archived stale docs to docs/archive/

Priority Tiers

TIER 1: Immediate Actions (This Week)

Critical issues and quick wins that unblock other work.

IDTaskOwnerEffortImpactStatus
T1.1Reset 2,131 recoverable Tdarr error filesops15mHighREADY
T1.2Verify SVT-AV1 encoding producing expected compressionops30mHighPENDING
T1.4Configure Komf metadata providersconfig20mMediumPENDING
T1.5Verify Suwayomi staging path works with Komga scanconfig15mMediumPENDING
T1.6NEW Replace retired Readarr with Bookshelfsecurity1hHIGHCRITICAL

Reset Command for T1.1:

sql
sqlite3 /var/mnt/fast8tb/config/tdarr/server/Tdarr/DB2/SQL/database.db "
UPDATE filejsondb SET health_check = 'Queued'
WHERE health_check = 'Error'
AND json_extract(json_data, '$.TranscodeDecisionMaker') = 'Not required'
AND json_extract(json_data, '$.scannerReads.ffProbeRead') = 'success';"

TIER 2: USB Content Import (This Week - Next Week)

Import valuable content from discovered USB drives.

IDTaskOwnerEffortImpact
T2.6Run lidarr-bootstrap.sh for 235 artistsops2hHigh
T2.7Run usb-movie-importer.sh for 555 moviesops2hHigh
T2.8Analyze anime collection for quality upgradesops1hMedium
T2.9Import 349GB Comics to Komgaops1hHigh

Tools Available:

  • tools/lidarr-bootstrap.sh - USB music import
  • tools/usb-movie-importer.sh - USB movie import with Radarr dedup

TIER 3: Manga Pipeline Integration

Complete end-to-end manga acquisition and organization.

IDTaskOwnerEffortImpactStatus
T2.1Configure Mylar ComicVine connectionconfig20mHighPENDING
T2.2Add initial manga series to Mylar for monitoringconfig30mHighPENDING
T2.4Wire manga-torrent-searcher agent to Transmissionconfig1hMediumPENDING
T2.5Test E2E flow: Request -> Download -> Organize -> Readtesting30mHighPENDING

Architecture:

Two-Track Manga System (from MANGA_ACQUISITION_PIPELINE.md):

Track 1: Tankobon (Published Volumes)
  Mylar -> Prowlarr (category 7000) -> SABnzbd -> /comics/
  - Official English releases
  - 3-6 month delay after Japan

Track 2: Weekly Chapters (Fan Translations)
  Suwayomi/manga-torrent-searcher -> Transmission -> staging/
  - Same-day to 1-week delay
  - Requires suwayomi-organizer.sh to move to /comics/

TIER 4: Stack Optimization (Next Week)

Performance and reliability improvements.

IDTaskOwnerEffortImpact
T3.1Upgrade Recyclarr to Remux + WEB 2160p profileconfig1hHigh
T3.2Enable advanced audio CFs (TrueHD Atmos, DTS-X)config30mMedium
T3.3Configure Radarr/Sonarr library import for existing contentconfig2hHigh
T3.4Add canonical lists (AFI Top 100, Sight & Sound) to Radarrconfig1hMedium
T3.5Install mergerfs systemd service for boot persistenceops15mHigh
T3.6Configure Plex network settings for Tailscaleconfig30mMedium

TIER 5: Documentation Cleanup (Ongoing)

Reduce doc sprawl, establish structure.

IDTaskOwnerEffortImpactStatus
T4.1Create docs/INDEX.md with comprehensive TOCdocs1hHighDONE
T4.2Archive stale audit reports to docs/archive/docs30mMediumDONE
T4.3Normalize doc naming (lowercase-with-hyphens)docs30mMediumPENDING
T4.4Consolidate duplicate info (ops-runbook vs HANDOFF)docs1hMediumPENDING
T4.5Move node_modules out of docs/ or add to .gitignoreconfig15mLowPENDING

TIER 6: Future Automation (Backlog)

Strategic investments for long-term improvement.

IDTaskOwnerEffortImpact
T5.1ROM acquisition pipeline (Prowlarr Console categories)dev4hMedium
T5.2library-wiring-agent for *arr orphan detectiondev3hHigh
T5.3quality-upgrade-agent for cutoff unmet searchesdev2hMedium
T5.4Traefik routing + DNS-01 TLSconfig2hMedium
T5.5Secret rotation automation (Prowlarr keys, etc.)security2hLow
T5.6Git history scrub for leaked credentialssecurity1hHigh

Dependency Graph

T1.1 (Reset Tdarr errors) ────> T1.2 (Verify SVT-AV1) ────> Faster transcoding

T1.6 (Replace Readarr) ─────────────────────────────────> Security fix

T2.6-T2.9 (USB Import) ─────────────────────────────────> Library expansion

T2.1 (ComicVine) ──> T2.2 (Add series) ──> T2.5 (E2E test) ──> Full manga pipeline

T3.1 (Recyclarr upgrade) ──> T3.3 (Library import) ──> Better quality

Quick Reference: Key Endpoints

ServicePortAPI Key LocationTest Command
Prowlarr9696.env: PROWLARR_API_KEYcurl -s http://localhost:9696/api/v1/indexer -H "X-Api-Key: $KEY"
Sonarr8989.env: SONARR_API_KEYcurl -s http://localhost:8989/api/v3/series -H "X-Api-Key: $KEY"
Radarr7878.env: RADARR_API_KEYcurl -s http://localhost:7878/api/v3/movie -H "X-Api-Key: $KEY"
Mylar8090.env: MYLAR_API_KEYcurl "http://localhost:8090/api?apikey=$KEY&cmd=getIndex"
Komga8081.env: KOMGA_USERNAME/PASSWORDcurl -u $USER:$PASS http://localhost:8081/api/v1/libraries
SABnzbd8080.env: SABNZBD_API_KEYcurl "http://192.168.6.167:8080/api?mode=version&apikey=$KEY"
Tdarr8265N/Acurl http://localhost:8265/api/v2/status

Session State Integration

From SESSION_STATE.md (2025-12-29 14:15 EST):

  • SVT-AV1 encoding: ACTIVE (CPU-dominant mode)
  • MergerFS caching: FIXED (286% -> 0-34% CPU)
  • Tailscale: CONFIGURED (IP: 100.115.21.9)
  • Plex CPU optimizations: APPLIED
  • USB content: DISCOVERED (5 drives, 3TB+ valuable content)
  • Readarr: RETIRED (security risk, migration script ready)

Immediate next action: T1.1 - Reset recoverable Tdarr errors, then T1.6 - Replace Readarr.


Success Metrics

MetricCurrentTargetTimeline
Tdarr queue completion30%95%2 weeks
Readarr replacementRetiredBookshelfTHIS WEEK
USB content importDiscoveredImported1 week
Manga E2E pipelineManualAutomated1 week
*arr library wiringPartial100%2 weeks
Doc organizationIndexedNormalized1 week

Changelog

DateVersionChanges
2025-12-291.0.0Initial strategic roadmap
2025-12-301.1.0Updated with 12/29 session completion, USB import tier, Readarr retirement

This document is the authoritative source for strategic planning. Update after each major milestone.

Built with ❤️ following Bell Labs standards. Dedicated to Stan Eisenstat.