Add thumbnail status messages and refactor thumbnail saving

Added new localized status messages for thumbnail saving in all supported languages. Refactored the thumbnail saving logic in ytsage_gui_video_info.py to use cached images from analysis instead of extracting via yt-dlp subprocess, improving reliability and performance.
This commit is contained in:
oop7
2025-11-28 18:00:56 +02:00
parent 7a6aaa6704
commit fc719a8cc8
15 changed files with 77 additions and 62 deletions
+4 -1
View File
@@ -389,7 +389,10 @@
"video_file_exists": "⚠️ ملف الفيديو موجود بالفعل",
"audio_file_exists": "⚠️ ملف الصوت موجود بالفعل",
"subtitle_file_exists": "⚠️ ملف الترجمات موجود بالفعل",
"cancelling": "جاري إلغاء التنزيل..."
"cancelling": "جاري إلغاء التنزيل...",
"thumbnail_saved": "✅ تم حفظ الصورة المصغرة: {filename}",
"thumbnail_error": "❌ خطأ في الصورة المصغرة: {error}",
"thumbnail_no_image": "لا توجد صورة مصغرة متاحة للحفظ"
},
"errors": {
"playlist_no_videos": "خطأ: قائمة التشغيل لا تحتوي على مقاطع فيديو صالحة.",