Commit Graph

3 Commits

Author SHA1 Message Date
Tdarr Plugin Developer
04d7ff59e9 Update plugins: VMAF mode, documentation fixes, version sync
- Added VMAF quality-targeted mode to av1_svt_converter (v2.25)
- Fixed documentation version mismatch (misc_fixes v2.8, stream_organizer v4.10, audio_standardizer v1.15)
- Updated rate control documentation with VMAF mode details
- Added vmaf_target and vmaf_samples input options
- Added ab-av1 binary detection with ABAV1_PATH env var support
2025-12-15 19:55:19 -08:00
Tdarr Plugin Developer
44fe7b50b0 Refactor stream_organizer to v4.9 - modular architecture
Major refactoring completed:
- Extracted 15+ focused helper functions from 500-line monolith
- Main plugin() function reduced from ~500 lines to ~150 lines
- Organized into logical sections: Constants, Predicates, Utilities, Analysis, Extraction, Command Building
- Zero behavior changes - all logic preserved exactly
- Improved maintainability, testability, and readability

New structure:
- categorizeStreams() - Stream analysis
- reorderStreamsByLanguage() - Language priority sorting
- analyzeSubtitleConversion() - Conversion detection
- processSubtitleExtraction() - Subtitle file extraction
- processCCExtraction() - CC handling with lock files
- buildFFmpegCommand() - Command construction
- buildCCExtractionCommand() - CC wrapper command

Benefits:
- Each function has single, clear responsibility
- Better error isolation and debugging
- Easier to understand and modify
- Prepared for future unit testing
2025-12-15 12:01:30 -08:00
Tdarr Plugin Developer
aa71eb96d7 Initial commit: Tdarr plugin stack
Plugins:
- misc_fixes v2.8: Pre-processing, container remux, stream conforming
- stream_organizer v4.8: English priority, subtitle extraction, SRT conversion
- combined_audio_standardizer v1.13: AAC/Opus encoding, downmix creation
- av1_svt_converter v2.22: AV1 video encoding via SVT-AV1

Structure:
- Local/ - Plugin .js files (mount in Tdarr)
- agent_notes/ - Development documentation
- Latest-Reports/ - Error logs for analysis
2025-12-15 11:33:36 -08:00