Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package QMPlay2 for openSUSE:Factory checked in at 2021-04-06 17:30:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old) and /work/SRC/openSUSE:Factory/.QMPlay2.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "QMPlay2" Tue Apr 6 17:30:00 2021 rev:54 rq:882656 version:21.03.09 Changes: -------- --- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes 2021-04-01 14:18:35.696099865 +0200 +++ /work/SRC/openSUSE:Factory/.QMPlay2.new.2401/QMPlay2.changes 2021-04-06 17:31:25.151234896 +0200 @@ -1,0 +2,5 @@ +Thu Apr 1 21:56:04 UTC 2021 - Simon Vogl <simon.v...@gmx.net> + +- Added 0001-fix-youtube-search.patch to fix YouTube Search not working + +------------------------------------------------------------------- New: ---- 0001-fix-youtube-search.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ QMPlay2.spec ++++++ --- /var/tmp/diff_new_pack.tZ6MJt/_old 2021-04-06 17:31:25.771235597 +0200 +++ /var/tmp/diff_new_pack.tZ6MJt/_new 2021-04-06 17:31:25.775235601 +0200 @@ -31,6 +31,8 @@ Patch2: 0001-fix-kde-startup-warning.patch # PATCH-FIX-UPSTREAM Patch3: 0001-fix-driver-crash.patch +# PATCH-FIX-UPSTREAM +Patch4: 0001-fix-youtube-search.patch BuildRequires: cmake >= 3.16 BuildRequires: gcc-c++ BuildRequires: ninja ++++++ 0001-fix-youtube-search.patch ++++++ >From fb51a234caff7de1e3dda07ebb9744e37a95309e Thu Apr 1 21:56:04 2021 From: Simon Vogl <simon.v...@gmx.net> Date: Thu, 1 Apr 2021 21:56:04 UTC Subject: [PATCH] Fix YouTube Search for QMPlay2. This patch is required to fix QMPlay2's YouTube Search function by using an empty Cookie. diff --git a/src/modules/Extensions/YouTube.cpp b/src/modules/Extensions/YouTube.cpp index 78ee6755..c67c3434 100644 --- a/src/modules/Extensions/YouTube.cpp +++ b/src/modules/Extensions/YouTube.cpp @@ -501,7 +501,7 @@ void YouTube::search() if (lastTitle != title || sender() == searchE || sender() == searchB || qobject_cast<QAction *>(sender())) { m_currPage = 1; - searchReply = net.start(getYtUrl(title, m_sortByIdx)); + searchReply = net.start(getYtUrl(title, m_sortByIdx), QByteArray(), "Cookie: \r\n"); } else { @@ -886,7 +886,7 @@ void YouTube::setSearchResults(const QJsonObject &jsonObj, bool isContinuation) { tWI->setDisabled(true); - auto linkReply = net.start(url); + auto linkReply = net.start(url, QByteArray(), "Cookie: \r\n"); linkReply->setProperty("tWI", QVariant::fromValue((void *)tWI)); linkReplies += linkReply; }