Commit Graph

569 Commits

Author SHA1 Message Date
oop7 e862c811c2 Use APP_VERSION constant for version display
Replaces hardcoded version strings with the APP_VERSION constant in both the main window and About dialog. This ensures version consistency across the application and simplifies future version updates.
2025-11-01 12:43:58 +02:00
oop7 73479a46bd Improve format selection for audio/video downloads
Refactored format selection logic to explicitly handle audio-only and progressive formats using new flags. Updated GUI to pass format metadata, ensuring correct yt-dlp command construction and more reliable downloads for different format types.
2025-11-01 12:28:32 +02:00
Mohamed 60a6eecc75 Update Extra Features section in README
Replace Save path with FPS/HDR Display
2025-11-01 11:28:48 +02:00
oop7 eeb601cbbd Bump version to 4.9.2
Update version references from 4.9.1 to 4.9.2 in documentation, __init__.py, About dialog, and main application class to prepare for new release.
2025-10-31 19:02:36 +02:00
oop7 32c2d899ba Show error dialog for invalid URLs in GUI
Replaces status label updates with QMessageBox warnings for invalid video URLs in the main UI. Adds 'error_title' translation key to all supported languages for consistent error dialog titles.
2025-10-31 17:54:02 +02:00
oop7 97aaa16cc4 Add cookie management translations to all languages
Added new translation keys for cookie management features (recommended, file applied, browser applied, cleared messages) to all supported language files for improved internationalization and user feedback.
2025-10-31 17:46:28 +02:00
oop7 f31b07e018 Revamp cookies tab UI and add apply functionality
Improves the cookies tab in CustomOptionsDialog by making browser extraction the recommended default, updating the status indicator to show active cookies, and adding an Apply button to confirm cookie settings. Refactors radio button logic, status updates, and integrates user feedback via QMessageBox.
2025-10-31 17:46:18 +02:00
oop7 1ba4703631 Remove cookie handling from custom options dialog
Deleted logic for handling cookie file and browser cookies selection in the show_custom_options method. This streamlines the dialog to only process proxy options.
2025-10-31 17:46:08 +02:00
oop7 8d2e7bd553 Add URL validation and ytdlp error messages to translations
Added new translation keys for URL validation and ytdlp error messages in all supported languages. This improves error reporting and user feedback for invalid URLs and common download issues.
2025-10-26 21:05:57 +03:00
oop7 952ac88518 Add video URL validation and filename sanitization
Introduces validate_video_url to check YouTube/YouTube Music URLs for supported formats and domains, returning detailed error messages. Adds sanitize_filename to clean filenames by removing unsafe characters for filesystem compatibility.
2025-10-26 20:50:19 +03:00
oop7 22a7951d80 Remove duplicate signal declaration in DownloadThread
Eliminated a redundant declaration of the 'update_details' signal in the DownloadThread class to clean up the code and prevent confusion.
2025-10-26 20:48:34 +03:00
oop7 fe5638393a Bump version to 4.9.1
Update version references from 4.9.0 to 4.9.1 in documentation, __init__.py, AboutDialog, and main application window to prepare for new release.
2025-10-25 19:50:50 +03:00
oop7 41d35060c1 Remove yt-dlp Python package usage; use binary only
Refactored all modules to remove dependency on the yt-dlp Python package, switching to subprocess calls to the yt-dlp binary for all extraction and update operations. Update logic now exclusively manages the app's own yt-dlp binary and no longer supports pip-based updates. Simplified format/audio detection and thumbnail extraction to use CLI heuristics and subprocess output. This improves reliability and avoids Python package conflicts.
2025-10-25 19:49:46 +03:00
oop7 aab5fd9549 Remove yt-dlp from requirements.txt
The yt-dlp package has been removed from the list of dependencies in requirements.txt, possibly because it is no longer needed or used in the project.
2025-10-25 19:49:39 +03:00
oop7 9bc5935d12 Remove pip update strings from translations
Deleted pip-related update messages from all language JSON files to simplify and unify the update flow messaging for yt-dlp. This change removes unused or deprecated strings related to pip installation and update status.
2025-10-25 19:49:25 +03:00
oop7 08021f6c53 Bump version to 4.9.0 for release
Updated version references from 4.9.0b to 4.9.0 in __init__.py, main app, and About dialog to reflect stable release.
2025-10-25 18:47:41 +03:00
oop7 96a175cac5 Merge branch 'beta' 2025-10-25 18:42:47 +03:00
oop7 c00ef14703 Add 'Open Folder' button after download completion
Introduces an 'Open Folder' button to the UI, shown after a download completes, allowing users to quickly open the folder containing the downloaded file. Updates all language files to include translations for the new button tooltip.
2025-10-25 18:10:04 +03:00
oop7 6ed1314bec Improve asset path resolution and app data directory logic
Enhanced get_asset_path to better handle frozen executables (PyInstaller, cx_Freeze) by checking multiple locations for assets. Updated app data directory logic to always use user data directories for app data, logs, config, and binaries, regardless of whether the app is frozen, ensuring consistent storage location across platforms.
2025-10-25 16:25:57 +03:00
oop7 f9c8b80bfe Update CI/CD README for v4.9.0 release instructions
Replaces references to v4.8.0 with v4.9.0 in the CI/CD workflow documentation to reflect the latest release process.
2025-10-25 15:53:29 +03:00
oop7 115718c396 Localize update dialog strings in all languages
Added new translation keys for update dialog fields (new version available, current/latest version labels, changelog, download update, remind later) in all supported languages. Updated the GUI code to use these localized strings instead of hardcoded English text for improved internationalization.
2025-10-13 15:50:25 +03:00
oop7 3c8fa38a94 Add Keys for update and error messages
Replaces hardcoded update and error strings in ytsage_dialogs_update.py with internationalized messages. Adds new translation keys for update success, already latest, network error, general error, pip update errors, and pip update failed in all supported languages.
2025-10-13 15:15:27 +03:00
Your Name 0530f86a4c Update README with localization and utils changes
Added a new languages directory for localization files and updated the file tree to reflect new utility modules for configuration, localization, and logging. Removed the old logging utility reference and improved documentation structure.
2025-10-06 17:46:52 +03:00
Your Name 1a36cb1a81 Add localization section to README
Introduced a new section detailing support for 14 languages, including a table of supported languages and codes, and instructions for selecting a language. Encourages contributions for additional translations.
2025-10-06 17:43:17 +03:00
Your Name d80dff371c Add localization keys for fallback and status messages in UI
Replaced hardcoded status and fallback messages with localized strings across downloader, update, and main UI modules. Updated language files for all supported languages to include new keys for fallback download status, pip timeout, invalid URL, zero selected, and playlist selection dialog title. This improves internationalization and consistency of user-facing messages.
2025-10-06 17:26:16 +03:00
Your Name 2ccdb532b5 Add localization for post-processing status messages
Introduces new translation keys for post-processing status messages ('merging formats' and 'removing sponsor segments') in all supported languages. Updates code to use these i18n keys in both downloader and GUI, improving localization and consistency of user-facing messages.
2025-10-06 17:09:36 +03:00
Your Name 5fc67ff48c Add proxy support feature to README
Documented the new proxy support feature, allowing users to specify a proxy server for downloads. This helps users understand how to use the proxy option with the application.
2025-10-06 16:33:10 +03:00
Your Name 6ada5d6c92 Update asset paths in build workflows
Refined the asset inclusion in Linux, macOS, and Windows build workflows to specify subdirectories for branding icons, Icon, and sound assets. This change ensures only the necessary asset folders are packaged, improving build consistency across platforms.
2025-10-06 16:28:59 +03:00
Your Name 44eb36b2e0 Include languages directory in build artifacts
Added the 'languages' directory to the list of files included in the build artifacts for Linux, macOS, and Windows workflows. This ensures language files are packaged with the application across all platforms.
2025-10-06 16:23:46 +03:00
Your Name e28cf90a5f Update Python version to 3.13 in CI workflows
Changed the PYTHON_VERSION from 3.13.6 to 3.13 in the Linux, macOS, and Windows GitHub Actions workflows to use the latest 3.13.x release.
2025-10-06 16:20:55 +03:00
Your Name 47b2ad5cf8 Update GitHub Actions to latest action versions
Bump actions/checkout to v5, actions/setup-python to v6, and actions/cache to v4 in build workflows for Linux, macOS, and Windows. This ensures the workflows use the latest features and security updates from GitHub Actions.
2025-10-06 16:17:08 +03:00
Your Name 400b0e1f2f Update application screenshots
Replaced screenshots for audio format, main, playlist, and subtitle options to reflect recent UI or feature changes.
2025-10-06 16:06:21 +03:00
Your Name 79b03bd083 Add HDR column to format table and translations
Introduces an HDR (High Dynamic Range) column to the format table in both playlist and normal modes, updating column counts, widths, and item population logic accordingly. Also adds the 'hdr' translation key to all supported languages.
2025-10-04 14:03:29 +03:00
Your Name 4bc677add3 Make format table column widths responsive
Refactored column width and resize logic in the format table to use responsive sizing based on header text length and font metrics. Introduced helper methods to calculate and apply column widths for both normal and playlist modes, improving adaptability to localization and UI consistency.
2025-10-04 13:42:50 +03:00
Your Name a627dfbf64 Add new translation keys for file exists and auto-update dialogs
Introduces new translation keys for file exists and auto-update dialogs in all supported languages. Updates the settings and main GUI to use these i18n strings instead of hardcoded English text, improving localization and user experience.
2025-10-04 13:25:17 +03:00
Your Name d48a474e00 Add speed and ETA translations; localize status message
Added 'speed' and 'eta' translation keys to all language files for download status. Updated ytsage_downloader.py to use localized labels for speed and ETA in the status message.
2025-10-04 13:10:56 +03:00
Your Name 720c315d33 Add and update strings for download and errors
Expanded and updated translation files (ja, pt, ru, tr, zh) with new keys for download progress, error messages, playlist info, and subtitle selection. This improves localization coverage and user feedback during download and error scenarios.
2025-10-04 12:47:33 +03:00
Your Name 67d1ad1fbc Add new download and error messages to translations
Expanded translation files (ar, de, fr, hi, id, it, pl) with additional download status messages, error messages, playlist info, and subtitle selection strings to improve localization coverage and user feedback.
2025-10-04 12:40:05 +03:00
Your Name 3164c07416 Add localization for status and error messages
Replaced hardcoded status and error messages with localized strings throughout the downloader, main GUI, update dialog, and video info components. Updated English and Spanish language files with new keys for download statuses, errors, playlist info, and UI labels to improve internationalization and maintainability.
2025-10-02 22:03:21 +03:00
Your Name be122d77fe Fix resolution parsing in format quality sorting
Improves robustness of the get_quality function by handling None and non-string resolution values, and catching IndexError in addition to ValueError when parsing resolution.
2025-10-02 21:22:08 +03:00
Your Name d81adc4781 Replace notes column with FPS in format table
The format table now displays FPS (frame rate) instead of notes in both playlist and normal modes. All translations were updated to remove the 'notes' and related size/quality fields, replacing them with 'fps'. The table column widths were adjusted for better visibility, and FPS values are color-coded based on their value. The obsolete _get_format_notes method was removed.
2025-10-02 21:16:27 +03:00
Your Name f461e9480b Increase select column width in format table
The select column width in the format table was increased from 50 to 80 pixels to better accommodate longer translations. This change ensures consistent column sizing across different table setups.
2025-10-02 19:37:11 +03:00
Your Name f85e3a6a83 Add Japanese localization and update language support
Added a new Japanese translation file (ja.json) and updated all language files to include Japanese in the language selection. Updated quality label color detection in ytsage_gui_format_table.py to support Japanese terms, and registered Japanese in the default language list in ytsage_localization.py.
2025-10-02 18:28:04 +03:00
Your Name 0ccb974708 Add Arabic translation and update language support
Added a new Arabic translation file (ar.json) and updated all other language files to include 'arabic' in the language selection list. Also updated quality label color detection in the format table to support Arabic terms, ensuring proper highlighting for quality levels in Arabic.
2025-10-02 18:20:50 +03:00
Your Name 8d0bcf60c1 Add Italian language support and update quality labels
Introduces Italian translations by adding languages/it.json and updating all language files to include 'italian' in the language selection. Updates quality label color logic in ytsage_gui_format_table.py to recognize Italian terms for best, high, medium, and low quality. Also updates the default language list in ytsage_localization.py to include Italian.
2025-09-30 22:44:12 +03:00
Your Name 828f105c92 Add Polish localization and update quality color mapping
Added Polish translations in a new pl.json file and updated all language files to include 'polish' in the language selection. Extended the quality color mapping in ytsage_gui_format_table.py to recognize Polish terms for best, high, medium, and low quality. Updated the default language list in ytsage_localization.py to include Polish.
2025-09-30 22:38:29 +03:00
Your Name fdbb4a6972 Add Turkish localization and update language support
Added Turkish translations in languages/tr.json and updated all other language files to include Turkish in the language selection. Updated format table color logic in ytsage_gui_format_table.py to recognize Turkish quality terms. Also updated ytsage_localization.py to include Turkish in the default language list.
2025-09-30 22:28:27 +03:00
Your Name b9e8e34e8f Add Indonesian localization and update language support
Introduces Indonesian translations by adding languages/id.json and updating all language files to include 'indonesian' in the language selection. Updates format table color logic in ytsage_gui_format_table.py to recognize Indonesian quality terms. Also updates ytsage_localization.py to include Indonesian in the default language list.
2025-09-30 22:22:53 +03:00
Your Name b02ca9ae01 Add Hindi localization and update language support
Introduces a new Hindi translation file (hi.json) and adds Hindi as a selectable language in all existing language files. Updates the format table to recognize Hindi quality terms for color coding, and includes Hindi in the default language list in the localization manager.
2025-09-30 22:16:31 +03:00
Your Name 4b212c08e2 Add French localization and update language support
Added a complete French translation file (fr.json) and updated all other language files to include 'French' as a selectable language. Updated format table color logic to recognize French and German quality terms for better internationalization. Also updated the default English language map to include French.
2025-09-30 22:10:36 +03:00