diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a976645f0..7dbc5003d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -51,7 +51,7 @@ jobs: run: | $ProgressPreference = 'SilentlyContinue' Invoke-WebRequest https://aka.ms/vs/17/release/vc_redist.x64.exe -OutFile vc_redist.x64.exe - Invoke-WebRequest https://github.com/yt-dlp/yt-dlp/releases/download/2025.01.12/yt-dlp.exe -OutFile yt-dlp.exe + Invoke-WebRequest https://github.com/yt-dlp/yt-dlp/releases/download/2025.01.15/yt-dlp.exe -OutFile yt-dlp.exe Invoke-WebRequest https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0-win-64bit-build1.zip -OutFile aria2.zip Invoke-WebRequest https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-n7.1-latest-win64-gpl-7.1.zip -OutFile ffmpeg.zip Expand-Archive -Force 'aria2.zip' diff --git a/CMakeLists.txt b/CMakeLists.txt index cc2061f51..a2be77105 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ if (POLICY CMP0141) set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$,$>,$<$:EditAndContinue>,$<$:ProgramDatabase>>") endif() -project("org.nickvision.tubeconverter" LANGUAGES C CXX VERSION 2025.1.0 DESCRIPTION "Download web video and audio.") +project("org.nickvision.tubeconverter" LANGUAGES C CXX VERSION 2025.1.2 DESCRIPTION "Download web video and audio.") set(SHORT_NAME "parabolic") set(DISPLAY_NAME "Parabolic") include(GNUInstallDirs) diff --git a/docs/html/cs/newDownload.html b/docs/html/cs/newDownload.html index 0c2686ad7..97531c581 100644 --- a/docs/html/cs/newDownload.html +++ b/docs/html/cs/newDownload.html @@ -84,7 +84,7 @@

Vybráním typu souboru Video (obecné) nebo Zvuk (obecný) stáhne aplikace Parabolic média v původním typu souboru bez vykonání jakýchkoli konverzí.

-
Video Format
+
Formát videa

Seznam formátů videa dostupných ke stažení, seřazený podle rozlišení a datového toku.

Každý formát má tvar: rozlišení | datový tok | kodek (id).

@@ -98,7 +98,7 @@

Dříve použitý formát videa bude zapamatován a předem vybrán pro další stahování.

-
Audio Format
+
Formát zvuku

Seznam formátů zvuku dostupných ke stažení, seřazený podle datového toku.

Každý formát má podobu: datový tok | jazyk (id).

diff --git a/docs/html/it/newDownload.html b/docs/html/it/newDownload.html index af54c054f..7fa4bb293 100644 --- a/docs/html/it/newDownload.html +++ b/docs/html/it/newDownload.html @@ -84,7 +84,7 @@

Selecting the Video (Generic) or Audio (Generic) file types will cause Parabolic to download the media in the original file type of the media without performing any conversions.

-
Video Format
+
Formato del video

The list of video formats available for download, sorted by resolution and bitrate.

Each format is the form: resolution | bitrate | codec (id).

@@ -98,7 +98,7 @@

The previously used video format will be remembered and pre-selected for the next download.

-
Audio Format
+
Formato del audio

The list of audio formats available for download, sorted by bitrate.

Each format is the form: bitrate | language (id).

diff --git a/docs/html/sk/converter.html b/docs/html/sk/converter.html index 90e37d9d3..06a3276ec 100644 --- a/docs/html/sk/converter.html +++ b/docs/html/sk/converter.html @@ -42,7 +42,7 @@
Vložiť kapitoly
-

Ak je táto možnosť zapnutá, aplikácia Parabolic priradí médiám informácie o kapitolách, ak sú k dostupné.

+

Ak je táto možnosť zapnutá, aplikácia Parabolic priradí médiám informácie o kapitolách, ak sú k dispozícii.

diff --git a/docs/html/sk/downloads.html b/docs/html/sk/downloads.html index 99ee61e46..74602c237 100644 --- a/docs/html/sk/downloads.html +++ b/docs/html/sk/downloads.html @@ -22,7 +22,7 @@
Maximálny počet aktívnych stiahnutí
-

Počet aktívnych sťahovaní, ktoré môžu byť spustené v danom čase. Musí to byť celočíselná hodnota od 1 do 10.

+

Počet aktívnych sťahovaní, ktoré môžu prebiehať súčasne. Musí to byť celočíselná hodnota od 1 do 10.

Ak sa dosiahne maximálny počet aktívnych sťahovaní, aplikácia Parabolic zaradí nové sťahovania do poradia, kým nebude možné spustiť ďalšie sťahovania.

diff --git a/docs/html/sk/newDownload.html b/docs/html/sk/newDownload.html index 4fc24cea0..d5824e2be 100644 --- a/docs/html/sk/newDownload.html +++ b/docs/html/sk/newDownload.html @@ -84,31 +84,31 @@

Ak vyberiete typ súboru Video (všeobecné) alebo Zvuk (všeobecný), aplikácia Parabolic stiahne médiá v pôvodnom formáte bez vykonania konverzie.

-
Video Format
+
Formát videa
-

The list of video formats available for download, sorted by resolution and bitrate.

-

Each format is the form: resolution | bitrate | codec (id).

-

If the file type is an audio type, this option will not be available.

+

Zoznam video formátov, ktoré si môžete stiahnuť, zoradený podľa rozlíšenia a bitovej rýchlosti.

+

Každý formát je uvedený v tomto tvare: rozlíšenie | bitová rýchlosť | kodek (ID).

+

Ak je typ súboru formát zvuku, táto možnosť nebude dostupná.

-

The previously used video format will be remembered and pre-selected for the next download.

+

Predtým použitý video formát sa uloží a automaticky sa predvolí pre ďalšie sťahovanie.

-
Audio Format
+
Formát zvuku
-

The list of audio formats available for download, sorted by bitrate.

-

Each format is the form: bitrate | language (id).

+

Zoznam audio formátov, ktoré si môžete stiahnuť, zoradený podľa ich bitovej rýchlosti.

+

Každý formát je uvedený v tomto tvare: bitová rýchlosť | jazyk (ID).

-

The previously used audio format will be remembered and pre-selected for the next download.

+

Predtým použitý audio formát sa uloží a automaticky sa predvolí pre ďalšie sťahovanie.

Titulky
diff --git a/docs/html/sv/newDownload.html b/docs/html/sv/newDownload.html index b3842fb02..4a3dd5d73 100644 --- a/docs/html/sv/newDownload.html +++ b/docs/html/sv/newDownload.html @@ -84,7 +84,7 @@

Att välja Video (Generisk) eller Ljud (Generisk) filtyper kommer att få Parabolic att ladda ner media i den ursprungliga filtypen för media utan att utföra några konverteringar.

-
Video Format
+
Video format

Listan över videoformat som är tillgängliga för nedladdning, sorterade efter upplösning och bithastighet.

Varje format har formen: upplösning | bithastighet | codec (id).

@@ -98,7 +98,7 @@

Det tidigare använda videoformatet kommer att kommas ihåg och vara förvalt vid nästa nedladdning.

-
Audio Format
+
Ljud format

Listan över ljudformat som är tillgängliga för nedladdning, sorterade efter bithastighet.

Varje format har formen: bitrate | språk (id).

diff --git a/docs/yelp/cs/newDownload.page b/docs/yelp/cs/newDownload.page index 357cb69eb..8d881e03c 100644 --- a/docs/yelp/cs/newDownload.page +++ b/docs/yelp/cs/newDownload.page @@ -51,7 +51,7 @@ - Video Format + Formát videa

Seznam formátů videa dostupných ke stažení, seřazený podle rozlišení a datového toku.

Každý formát má tvar: rozlišení | datový tok | kodek (id).

Pokud je typem souboru typ zvuku, nebude tato možnost dostupná.

@@ -60,7 +60,7 @@
- Audio Format + Formát zvuku

Seznam formátů zvuku dostupných ke stažení, seřazený podle datového toku.

Každý formát má podobu: datový tok | jazyk (id).

diff --git a/docs/yelp/it/newDownload.page b/docs/yelp/it/newDownload.page index a714fc67e..ca11ccc69 100644 --- a/docs/yelp/it/newDownload.page +++ b/docs/yelp/it/newDownload.page @@ -45,7 +45,7 @@
- Video Format + Formato del video

The list of video formats available for download, sorted by resolution and bitrate.

Each format is the form: resolution | bitrate | codec (id).

If the file type is an audio type, this option will not be available.

@@ -54,7 +54,7 @@
- Audio Format + Formato del audio

The list of audio formats available for download, sorted by bitrate.

Each format is the form: bitrate | language (id).

diff --git a/docs/yelp/sk/converter.page b/docs/yelp/sk/converter.page index c13a948ea..8ed383133 100644 --- a/docs/yelp/sk/converter.page +++ b/docs/yelp/sk/converter.page @@ -33,7 +33,7 @@
Vložiť kapitoly -

Ak je táto možnosť zapnutá, aplikácia Parabolic priradí médiám informácie o kapitolách, ak sú k dostupné.

+

Ak je táto možnosť zapnutá, aplikácia Parabolic priradí médiám informácie o kapitolách, ak sú k dispozícii.

Predvolené: Vypnuté

diff --git a/docs/yelp/sk/downloads.page b/docs/yelp/sk/downloads.page index 0dd111cec..ec035e65e 100644 --- a/docs/yelp/sk/downloads.page +++ b/docs/yelp/sk/downloads.page @@ -27,7 +27,7 @@ Maximálny počet aktívnych stiahnutí -

Počet aktívnych sťahovaní, ktoré môžu byť spustené v danom čase. Musí to byť celočíselná hodnota od 1 do 10.

+

Počet aktívnych sťahovaní, ktoré môžu prebiehať súčasne. Musí to byť celočíselná hodnota od 1 do 10.

Ak sa dosiahne maximálny počet aktívnych sťahovaní, aplikácia Parabolic zaradí nové sťahovania do poradia, kým nebude možné spustiť ďalšie sťahovania.

Predvolené: 5

diff --git a/docs/yelp/sk/newDownload.page b/docs/yelp/sk/newDownload.page index fb36b174c..aedd5064b 100644 --- a/docs/yelp/sk/newDownload.page +++ b/docs/yelp/sk/newDownload.page @@ -51,20 +51,20 @@
- Video Format -

The list of video formats available for download, sorted by resolution and bitrate.

-

Each format is the form: resolution | bitrate | codec (id).

-

If the file type is an audio type, this option will not be available.

+ Formát videa +

Zoznam video formátov, ktoré si môžete stiahnuť, zoradený podľa rozlíšenia a bitovej rýchlosti.

+

Každý formát je uvedený v tomto tvare: rozlíšenie | bitová rýchlosť | kodek (ID).

+

Ak je typ súboru formát zvuku, táto možnosť nebude dostupná.

-

The previously used video format will be remembered and pre-selected for the next download.

+

Predtým použitý video formát sa uloží a automaticky sa predvolí pre ďalšie sťahovanie.

- Audio Format -

The list of audio formats available for download, sorted by bitrate.

-

Each format is the form: bitrate | language (id).

+ Formát zvuku +

Zoznam audio formátov, ktoré si môžete stiahnuť, zoradený podľa ich bitovej rýchlosti.

+

Každý formát je uvedený v tomto tvare: bitová rýchlosť | jazyk (ID).

-

The previously used audio format will be remembered and pre-selected for the next download.

+

Predtým použitý audio formát sa uloží a automaticky sa predvolí pre ďalšie sťahovanie.

diff --git a/docs/yelp/sv/newDownload.page b/docs/yelp/sv/newDownload.page index 50c75102e..32599a87f 100644 --- a/docs/yelp/sv/newDownload.page +++ b/docs/yelp/sv/newDownload.page @@ -45,7 +45,7 @@ - Video Format + Video format

Listan över videoformat som är tillgängliga för nedladdning, sorterade efter upplösning och bithastighet.

Varje format har formen: upplösning | bithastighet | codec (id).

Om filtypen är en ljudtyp kommer det här alternativet inte att vara tillgängligt.

@@ -54,7 +54,7 @@
- Audio Format + Ljud format

Listan över ljudformat som är tillgängliga för nedladdning, sorterade efter bithastighet.

Varje format har formen: bitrate | språk (id).

diff --git a/flatpak/python3-modules.json b/flatpak/python3-modules.json index 559b76380..b978d96c3 100644 --- a/flatpak/python3-modules.json +++ b/flatpak/python3-modules.json @@ -67,8 +67,8 @@ }, { "type": "file", - "url": "https://files.pythonhosted.org/packages/f3/9d/782c67465798478b3f8cf8c72da771e1eb0956e13b820f862b35de66d4a7/yt_dlp-2025.1.12-py3-none-any.whl", - "sha256": "f7ea19afb64f8e457a1b9598ddb67f8deaa313bf1d57abd5612db9272ab10795" + "url": "https://files.pythonhosted.org/packages/a4/97/73eadf12412173dc518897a2715693e6caa73d6550ddf0b7c47c6f1e7703/yt_dlp-2025.1.15-py3-none-any.whl", + "sha256": "b8666b88e23c3fa5ee1e80920f4a9dfac7c405504a447214c0cf3d0c386edcfc" } ] } diff --git a/inno/setup.iss b/inno/setup.iss index b01a3bb41..034479c91 100644 --- a/inno/setup.iss +++ b/inno/setup.iss @@ -3,7 +3,7 @@ #define MyAppName "Nickvision Parabolic" #define MyAppShortName "Parabolic" -#define MyAppVersion "2025.1.0" +#define MyAppVersion "2025.1.2" #define MyAppPublisher "Nickvision" #define MyAppURL "https://nickvision.org" #define MyAppExeName "org.nickvision.tubeconverter.qt.exe" diff --git a/libparabolic/src/controllers/adddownloaddialogcontroller.cpp b/libparabolic/src/controllers/adddownloaddialogcontroller.cpp index da65ce1fa..54d8c396c 100644 --- a/libparabolic/src/controllers/adddownloaddialogcontroller.cpp +++ b/libparabolic/src/controllers/adddownloaddialogcontroller.cpp @@ -311,14 +311,8 @@ namespace Nickvision::TubeConverter::Shared::Controllers //Save Previous Options m_previousOptions.setSaveFolder(options.getSaveFolder()); m_previousOptions.setFileType(options.getFileType()); - if(options.getVideoFormat()) - { - m_previousOptions.setVideoFormatId(options.getVideoFormat()->getId()); - } - if(options.getAudioFormat()) - { - m_previousOptions.setAudioFormatId(options.getAudioFormat()->getId()); - } + m_previousOptions.setVideoFormatId(options.getVideoFormat() ? options.getVideoFormat()->getId() : ""); + m_previousOptions.setAudioFormatId(options.getAudioFormat() ? options.getAudioFormat()->getId() : ""); m_previousOptions.setSplitChapters(options.getSplitChapters()); m_previousOptions.setLimitSpeed(options.getLimitSpeed()); m_previousOptions.setExportDescription(exportDescription); diff --git a/libparabolic/src/controllers/mainwindowcontroller.cpp b/libparabolic/src/controllers/mainwindowcontroller.cpp index d2219bd41..7d44ec69b 100644 --- a/libparabolic/src/controllers/mainwindowcontroller.cpp +++ b/libparabolic/src/controllers/mainwindowcontroller.cpp @@ -40,10 +40,10 @@ namespace Nickvision::TubeConverter::Shared::Controllers m_downloadManager{ m_dataFileManager.get("config").getDownloaderOptions(), m_dataFileManager.get("history"), m_dataFileManager.get("recovery"), m_logger }, m_isWindowActive{ false } { - m_appInfo.setVersion({ "2025.1.1" }); + m_appInfo.setVersion({ "2025.1.2-next" }); m_appInfo.setShortName(_("Parabolic")); m_appInfo.setDescription(_("Download web video and audio")); - m_appInfo.setChangelog("- Updated yt-dlp"); + m_appInfo.setChangelog("- Fixed an issue where the cookies file was not used when validating media URLs\n- Fixed an issue where the Qt version of the app did not select the Best format when the previously used format was not available\n- Fixed an issue where the update button on the Windows app did not work\n- Updated yt-dlp"); m_appInfo.setSourceRepo("https://github.com/NickvisionApps/Parabolic"); m_appInfo.setIssueTracker("https://github.com/NickvisionApps/Parabolic/issues/new"); m_appInfo.setSupportUrl("https://github.com/NickvisionApps/Parabolic/discussions"); @@ -310,7 +310,7 @@ namespace Nickvision::TubeConverter::Shared::Controllers #ifdef _WIN32 void MainWindowController::windowsUpdate() { - if(m_updater) + if(!m_updater) { return; } diff --git a/libparabolic/src/models/downloadmanager.cpp b/libparabolic/src/models/downloadmanager.cpp index fc8cb3e5e..67406d35b 100644 --- a/libparabolic/src/models/downloadmanager.cpp +++ b/libparabolic/src/models/downloadmanager.cpp @@ -241,7 +241,7 @@ namespace Nickvision::TubeConverter::Shared::Models arguments.push_back("--password"); arguments.push_back(credential->getPassword()); } - if(m_options.getCookiesBrowser() != Browser::None) + if(m_options.getCookiesBrowser() != Browser::None && Environment::getDeploymentMode() == DeploymentMode::Local) { arguments.push_back("--cookies-from-browser"); switch(m_options.getCookiesBrowser()) @@ -274,6 +274,11 @@ namespace Nickvision::TubeConverter::Shared::Models break; } } + else if(std::filesystem::exists(m_options.getCookiesPath())) + { + arguments.push_back("--cookies"); + arguments.push_back(m_options.getCookiesPath().string()); + } arguments.push_back(url); Process process{ Environment::findDependency("yt-dlp"), arguments }; process.start(); @@ -538,4 +543,4 @@ namespace Nickvision::TubeConverter::Shared::Models m_logger.log(LogLevel::Info, "Download started from queue (" + std::to_string(firstQueuedDownload->getId()) + ")."); } } -} \ No newline at end of file +} diff --git a/libparabolic/src/models/downloadoptions.cpp b/libparabolic/src/models/downloadoptions.cpp index 186ed6bf9..03a2a80a5 100644 --- a/libparabolic/src/models/downloadoptions.cpp +++ b/libparabolic/src/models/downloadoptions.cpp @@ -310,17 +310,11 @@ namespace Nickvision::TubeConverter::Shared::Models default: break; } - //Neeeded for yt-dlp 2025.01.12 (see https://github.com/yt-dlp/yt-dlp/issues/12085) - arguments.push_back("--extractor-args"); - arguments.push_back("youtube:player_client=default,-web_creator"); } else if(std::filesystem::exists(downloaderOptions.getCookiesPath())) { arguments.push_back("--cookies"); arguments.push_back(downloaderOptions.getCookiesPath().string()); - //Neeeded for yt-dlp 2025.01.12 (see https://github.com/yt-dlp/yt-dlp/issues/12085) - arguments.push_back("--extractor-args"); - arguments.push_back("youtube:player_client=default,-web_creator"); } if(downloaderOptions.getYouTubeSponsorBlock()) { diff --git a/org.nickvision.tubeconverter.gnome/src/views/adddownloaddialog.cpp b/org.nickvision.tubeconverter.gnome/src/views/adddownloaddialog.cpp index c1c17988d..6378e7b99 100644 --- a/org.nickvision.tubeconverter.gnome/src/views/adddownloaddialog.cpp +++ b/org.nickvision.tubeconverter.gnome/src/views/adddownloaddialog.cpp @@ -156,7 +156,7 @@ namespace Nickvision::TubeConverter::GNOME::Views adw_dialog_set_can_close(m_dialog, true); if(!m_controller->isUrlPlaylist()) //Single Download { - size_t previous; + size_t previous{ 0 }; //Load Options adw_view_stack_set_visible_child_name(m_builder.get("viewStack"), "download-single"); GtkHelpers::setComboRowModel(m_builder.get("fileTypeSingleRow"), m_controller->getFileTypeStrings()); diff --git a/org.nickvision.tubeconverter.qt/src/views/adddownloaddialog.cpp b/org.nickvision.tubeconverter.qt/src/views/adddownloaddialog.cpp index 493e3d812..30b094aa0 100644 --- a/org.nickvision.tubeconverter.qt/src/views/adddownloaddialog.cpp +++ b/org.nickvision.tubeconverter.qt/src/views/adddownloaddialog.cpp @@ -188,7 +188,7 @@ namespace Nickvision::TubeConverter::Qt::Views m_ui->viewStack->setCurrentIndex(2); m_ui->tabsSingle->setCurrentIndex(0); //Load Options - size_t previous; + size_t previous{ 0 }; QtHelpers::setComboBoxItems(m_ui->cmbFileTypeSingle, m_controller->getFileTypeStrings()); m_ui->cmbFileTypeSingle->setCurrentIndex(static_cast(m_controller->getPreviousDownloadOptions().getFileType())); QtHelpers::setComboBoxItems(m_ui->cmbVideoFormatSingle, m_controller->getVideoFormatStrings(&previous)); diff --git a/resources/linux/org.nickvision.tubeconverter.metainfo.xml.in b/resources/linux/org.nickvision.tubeconverter.metainfo.xml.in index 6cd186bf9..3a8b752dc 100644 --- a/resources/linux/org.nickvision.tubeconverter.metainfo.xml.in +++ b/resources/linux/org.nickvision.tubeconverter.metainfo.xml.in @@ -55,8 +55,11 @@ @PROJECT_NAME@ - + +

- Fixed an issue where the cookies file was not used when validating media URLs

+

- Fixed an issue where the Qt version of the app did not select the Best format when the previously used format was not available

+

- Fixed an issue where the update button on the Windows app did not work

- Updated yt-dlp

diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 0f0a30983..775a69ddd 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -34,7 +34,7 @@ parts: plugin: python source: . python-packages: - - yt-dlp==2025.01.12 + - yt-dlp==2025.01.15 stage: - -bin/activate* - -bin/Activate.ps1