Refactor FFmpeg updater to version checker

Replaces the FFmpeg updater logic with a version checker across all supported languages and removes the updater module. The Windows installation logic in ytsage_ffmpeg.py is rewritten to use essentials build extraction and path configuration directly, removing dependency on the updater module. Dialogs and UI strings are updated to reflect the new version checking workflow and provide installation guide links.
This commit is contained in:
oop7
2025-11-14 17:10:36 +02:00
parent 4c07423b49
commit bb231ccd12
17 changed files with 419 additions and 772 deletions
+8 -13
View File
@@ -477,22 +477,17 @@
"redownload_started": "بدأ التنزيل"
},
"ffmpeg_updater": {
"title": حدث FFmpeg",
"title": دقق إصدار FFmpeg",
"current_version": "الإصدار الحالي:",
"latest_version": "أحدث إصدار:",
"status_up_to_date": "✓ محدث",
"status_update_available": "⚠ تحديث متاح",
"status_update_available": "⚠ يتوفر تحديث",
"status_not_installed": "✗ غير مثبت",
"status_checking": "🔄 جارٍ التحقق من التحديثات...",
"status_downloading": " جارٍ تنزيل FFmpeg...",
"status_installing": "⚙ جارٍ تثبيت FFmpeg...",
"status_verifying": "✓ جارٍ التحقق من السلامة...",
"check_updates": "التحقق من التحديثات",
"update_button": "تحديث FFmpeg",
"update_success": "تم تحديث FFmpeg بنجاح إلى الإصدار {version}!",
"update_failed": "فشل تحديث FFmpeg. يرجى المحاولة مرة أخرى.",
"check_failed": "فشل التحقق من التحديثات. يرجى التحقق من اتصال الإنترنت.",
"install_first": "FFmpeg غير مثبت. انقر فوق تحديث للتثبيت.",
"description": "حافظ على تحديث FFmpeg للحصول على أفضل أداء وتوافق."
"status_idle": "انقر على 'التحقق من الإصدار' للبدء",
"status_checking": "🔄 جاري التحقق من الإصدار...",
"check_updates": "التحقق من الإصدار",
"check_failed": "فشل التحقق من الإصدار. يرجى التحقق من اتصال الإنترنت.",
"description": "تحقق من إصدار FFmpeg الخاص بك وقارنه بأحدث إصدار متاح.",
"guide_info": " لتثبيت أو تحديث FFmpeg، <a href='https://github.com/oop7/ffmpeg-install-guide'>انقر هنا لعرض دليل التثبيت الشامل</a>."
}
}