Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package QMPlay2 for openSUSE:Factory checked 
in at 2023-03-14 18:17:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old)
 and      /work/SRC/openSUSE:Factory/.QMPlay2.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "QMPlay2"

Tue Mar 14 18:17:00 2023 rev:70 rq:1071252 version:23.02.05

Changes:
--------
--- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes  2023-02-09 
16:23:05.574677705 +0100
+++ /work/SRC/openSUSE:Factory/.QMPlay2.new.31432/QMPlay2.changes       
2023-03-14 18:17:09.755897908 +0100
@@ -1,0 +2,5 @@
+Mon Mar 13 22:48:16 UTC 2023 - Simon Vogl <simon.v...@gmx.net>
+
+- Added 0001-fix-broken-yt-dlp.patch to fix broken youtube video quality
+
+-------------------------------------------------------------------

New:
----
  0001-fix-broken-yt-dlp.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ QMPlay2.spec ++++++
--- /var/tmp/diff_new_pack.ARCK6z/_old  2023-03-14 18:17:10.535902077 +0100
+++ /var/tmp/diff_new_pack.ARCK6z/_new  2023-03-14 18:17:10.539902098 +0100
@@ -30,6 +30,8 @@
 Patch1:         0001-add-opensuse-customizations.patch
 # PATCH-FIX-UPSTREAM
 Patch2:         0001-fix-mono-playback.patch
+# PATCH-FIX-UPSTREAM
+Patch3:         0001-fix-broken-yt-dlp.patch
 BuildRequires:  cmake >= 3.16
 BuildRequires:  gcc-c++
 # Use gcc 11 for openSUSE Leap 15.4+ and SLE15SP4+

++++++ 0001-fix-broken-yt-dlp.patch ++++++
>From 6a2caa3fbae7dbc753b65fd07f137e08bcac6657 Mon Mar 13 00:00:00 2001
From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <spa...@wp.pl>
Date: Mon, 13 Mar 2023 23:33:17 +0100
Subject: [PATCH] YouTubeDL: Don't filter http_dash_segments protocol
         [PATCH] Fix typo: SkipYtDplUpdate->SkipYtDlpUpdate

Amends: 6a2caa3fbae7dbc753b65fd07f137e08bcac6657
        775689382576ee30902443fa6ce73063db85d39f

---
 src/modules/Extensions/YouTube.cpp | 7 -------
 src/qmplay2/YouTubeDL.cpp          | 2 +-
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/modules/Extensions/YouTube.cpp 
b/src/modules/Extensions/YouTube.cpp
index b5eebd62..5c16ea18 100644
--- a/src/modules/Extensions/YouTube.cpp
+++ b/src/modules/Extensions/YouTube.cpp
@@ -1170,13 +1170,6 @@ QStringList YouTube::getYouTubeVideo(const QString 
&param, const QString &url, I
         if (format.isEmpty())
             continue;
 
-        const auto protocol = format["protocol"].toString();
-        if (protocol.contains("dash", Qt::CaseInsensitive))
-        {
-            // Skip MP4 DASH, because it doesn't work properly (old comment, 
is it still valid?)
-            continue;
-        }
-
         const auto itag = format["format_id"].toString().toInt();
         const auto url = format["url"].toString();
         const auto ext = format["ext"].toString();
diff --git a/src/qmplay2/YouTubeDL.cpp b/src/qmplay2/YouTubeDL.cpp
index f80863d7..4c7d6961 100644
--- a/src/qmplay2/YouTubeDL.cpp
+++ b/src/qmplay2/YouTubeDL.cpp
@@ -374,7 +374,7 @@ bool YouTubeDL::update()
     return true;
 #endif
 
-    if (QMPlay2Core.getSettings().getBool("SkipYtDplUpdate"))
+    if (QMPlay2Core.getSettings().getBool("SkipYtDlpUpdate"))
         return true;
 
     // Mutex must be locked here

Reply via email to