Add FFmpeg updater module and GUI integration

Introduces a new FFmpeg updater module for checking and updating FFmpeg to the latest essentials build, with progress reporting and version comparison. Updates language files with new translation keys for the updater in multiple languages. Refactors Windows FFmpeg installation to use the new updater logic. Adds UpdaterTabWidget to the GUI dialogs for integration of the updater into the application's interface.
This commit is contained in:
oop7
2025-11-12 16:04:55 +02:00
parent 683946377e
commit a3a4352f9d
21 changed files with 1150 additions and 135 deletions
+21 -1
View File
@@ -99,7 +99,8 @@
"cookies": "Войти через Cookie",
"custom_command": "Пользовательская команда",
"proxy": "Прокси",
"language": "Язык"
"language": "Язык",
"updater": "Обновление"
},
"cookies": {
"help_text": "Выберите способ предоставления cookie для входа в систему.\nЭто позволяет загружать приватные видео и аудио премиум качества.",
@@ -466,5 +467,24 @@
"redownload_confirm_title": "Загрузить Снова?",
"redownload_confirm_message": "Загрузить снова?\n\n{title}",
"redownload_started": "Загрузка начата"
},
"ffmpeg_updater": {
"title": "Обновление FFmpeg",
"current_version": "Текущая версия:",
"latest_version": "Последняя версия:",
"status_up_to_date": "✓ Обновлено",
"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 в актуальном состоянии для лучшей производительности и совместимости."
}
}