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
50 lines
1.8 KiB
Markdown
50 lines
1.8 KiB
Markdown
# Session Summary - Plugin Optimization & Megamix Consolidation
|
|
**Date:** 2025-12-14
|
|
|
|
## Key Achievements
|
|
|
|
### 1. English First Plugin (v4.1)
|
|
- **Standardization:** Converted "Yes/No" inputs to "true/false".
|
|
- **Optimization:** Converted codec arrays to Sets for performance.
|
|
- **Fixes:**
|
|
- BMP Attached Picture crash fix (filtered out incompatible streams).
|
|
- Added error handling for `ccextractor`.
|
|
- Removed dead code.
|
|
- **New Features:**
|
|
- `setDefaultFlags` option for English streams.
|
|
- Improved logging with emojis.
|
|
|
|
### 2. Misc Fixes "Megamix" Plugin (v2.0)
|
|
- **Consolidation:** Merged functionality from 3 popular plugins:
|
|
- `Migz Remux` (Container conversion & conformity).
|
|
- `Migz Image Removal` (MJPEG/PNG/GIF removal).
|
|
- `Lmg1 Reorder` (Video stream first).
|
|
- **New Capabilities:**
|
|
- Robust timestamp fixing for TS/AVI/MPG files.
|
|
- Automatic stream conforming (dropping incompatible subs per container).
|
|
- Configurable inputs for all features.
|
|
- **Optimization:**
|
|
- Case-insensitive container detection.
|
|
- "Fail fast" logic for missing streams.
|
|
- Unified logging format.
|
|
|
|
### 3. Optimization Strategy
|
|
- Created `plugin_organization_plan.md` outlining the ideal 4-stage pipeline:
|
|
1. **Misc Fixes** (Clean & Normalize)
|
|
2. **Order/Subtitle** (Standardize Stream Layout)
|
|
3. **Audio** (Encode)
|
|
4. **Video** (Encode - most expensive)
|
|
|
|
## Files Created/Modified
|
|
- `Tdarr_Plugin_english_first_streams.js` (Updated)
|
|
- `Tdarr_Plugin_misc_fixes.js` (Created & Updated)
|
|
- `misc_fixes_walkthrough.md`
|
|
- `plugin_organization_plan.md`
|
|
- `walkthrough.md`
|
|
- `english_review.md`
|
|
- `task.md`
|
|
|
|
## Next Steps
|
|
- Verify the new "Megamix" plugin behavior on a variety of file types (TS, MKV, MP4).
|
|
- Verify the English First plugin handles BMP cover art correctly.
|