fix: harden Windows download filenames and align Tauri npm versions#97
fix: harden Windows download filenames and align Tauri npm versions#97blueyi wants to merge 2 commits into
Conversation
Prevent Facebook and other long-title sites from failing with Errno 22 by sanitizing yt-dlp output names, adding configurable filename presets, and pinning @tauri-apps packages to match the Rust 2.9 stack. Co-authored-by: Cursor <cursoragent@cursor.com>
fix: harden Windows download filenames and align Tauri npm versions
|
Thanks for working on the Windows/long-title filename issue. I agree the underlying problem is real, but I don’t think this PR should be merged as-is. Youwee already applies There is also a likely metadata regression: the PR changes the yt-dlp metadata output template to include a truncated title and ID, but the post-processing code still looks for Could you please narrow this PR to the actual safety fix? A smaller patch that keeps the existing default filename template, improves the existing safe filename args with path-aware trimming / Windows filename handling, and leaves dependency pinning + filename preset UI for separate PRs would be much safer. |
Prevent Facebook and other long-title sites from failing with Errno 22 by sanitizing yt-dlp output names, adding configurable filename presets, and pinning https://github.com/tauri-apps packages to match the Rust 2.9 stack.