Skip to content

Conversation

@kundeng
Copy link

@kundeng kundeng commented Nov 4, 2025

This PR includes two fixes:\n\n1) yt-dlp compatibility\n- Pin yt-dlp to 2025.10.22 (nsig extraction fix)\n- Auto-download yt-dlp if missing\n- Suppress warnings with --no-warnings\n\n2) i18n production loading\n- Add Tauri command read_translation_file to read JSON from app bundle Contents/Resources/locales\n- Update i18n backend to load 'common' and 'language' via invoke (maintains dev behavior)\n- Fixes JSON parse errors in release builds caused by frontend FS reads returning binary data\n\nTesting notes\n- YouTube test URL: https://www.youtube.com/watch?v=Prd6oNFrhDI\n- Translations located under Contents/Resources/locales//{common,language}.json\n- Verified labels render in built macOS app\n\nScope\n- No breaking changes; minimal backend helper and frontend wiring.\n\nPlease review and let me know if you prefer using app_handle.path().resource_dir() in the Rust command; functional as-is but can be adjusted in a follow-up.}

- Update yt-dlp version from 2025.01.15 to 2025.10.22 to include nsig extraction fixes
- Add automatic yt-dlp download if binary is missing
- Suppress yt-dlp warnings with --no-warnings flag

Resolves YouTube download failures due to outdated yt-dlp version.
…d_translation_file command and use invoke in i18n
@sammcj
Copy link

sammcj commented Nov 5, 2025

FYI ffmpeg 8.0 is the current stable ffmpeg version, might make more sense to upgrade to that instead of 7.0?

@kundeng
Copy link
Author

kundeng commented Nov 17, 2025

Please don't wait for me for any improvement. I coded this with AI assistant and it just works now instead of not working at all.

I hope developer can take this and do whatever is needed to keep this tool going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants