Bug 32049 - Update request: yt-dlp
Summary: Update request: yt-dlp
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-06-25 15:30 CEST by Thomas Andrews
Modified: 2023-06-28 07:22 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Thomas Andrews 2023-06-25 15:30:10 CEST
Description of problem: Cauldron just received an update to yt-dlp, used with the command line and by the ClipGrab GUI to download videos from Youtube and elsewhere. I believe Mageia 8 should receive this update, as well.

Youtube makes changes periodically, making an update like this necessary if the package is to continue to function.

Reference: https://github.com/yt-dlp/yt-dlp
Comment 1 David GEIGER 2023-06-25 18:34:27 CEST
Assigning to QA,


Packages in 8/Core/Updates_testing:
======================
yt-dlp-2023.06.22-1.mga8.noarch.rpm
yt-dlp-fish-completion-2023.06.22-1.mga8.noarch.rpm
yt-dlp-bash-completion-2023.06.22-1.mga8.noarch.rpm
yt-dlp-zsh-completion-2023.06.22-1.mga8.noarch.rpm

From SRPMS:
 yt-dlp-2023.06.22-1.mga8.src.rpm

Assignee: bugsquad => qa-bugs
CC: (none) => geiger.david68210

Comment 2 Thomas Andrews 2023-06-25 21:00:06 CEST
That didn't take long - I'd bet it was already on the way.

I will test with ClipGrab later this evening. If anyone wants to test from the command line, feel free.
Comment 3 Len Lawrence 2023-06-26 01:06:38 CEST
OK TJ.  Since you have experience with this I shall just test the cli mode.
Mageia8, x86_64
Before update:
$ yt-dlp --match-filters "description~='Monteverdi'" --no-playlist https://www.youtube.com/playlist?list=PL5r9vx6vJSwaMeAXPWxLCp9fbW3BGkSKK[youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=PL5r9vx6vJSwaMeAXPWxLCp9fbW3BGkSKK
[youtube:tab] PL5r9vx6vJSwaMeAXPWxLCp9fbW3BGkSKK: Downloading webpage
[youtube:tab] PL5r9vx6vJSwaMeAXPWxLCp9fbW3BGkSKK: Redownloading playlist API JSON with unavailable videos
[download] Downloading playlist: Voices of Music TV Sundays at Ten Season 3, Episode 24 Let's Dance
[...]
[download] Finished downloading playlist: Voices of Music TV Sundays at Ten Season 3, Episode 24 Let's Dance

The application shows the playlist while it is downloading but obeys the --no-playlist directive; i.e. no list is saved.
There was  only one new video in the current directory.
$ ls  *Monteverdi*
'Monteverdi: Damigella tutta bella (Scherzi Musicali); Sophie Junker & Sherezade Panthaki, sopranos [Ir1ZTkTRfqI].webm'

So it works before the update.
Did not try the alternative shell command completion options.
Updated the four packages.

Tried the same test on another playlist.
$  yt-dlp --match-filters "description~=Corelli" --no-playlist https://www.youtube.com/playlist?list=PL5r9vx6vJSwbnFVSU43qjbxht0mvn7W2e
[youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=PL5r9vx6vJSwbnFVSU43qjbxht0mvn7W2e
[youtube:tab] PL5r9vx6vJSwbnFVSU43qjbxht0mvn7W2e: Downloading webpage
[youtube:tab] PL5r9vx6vJSwbnFVSU43qjbxht0mvn7W2e: Redownloading playlist API JSON with unavailable videos
[download] Downloading playlist: Voices of Music TV Sundays at Ten Season 3 Episode 2 Roman Holiday
[...]
[youtube] 2kkpqJkYmms: Downloading m3u8 information
[download] Giovanni Battista Fontana: Sonata Seconda. Alana Youssefian, baroque violin & Voices of Music 4K UHD does not pass filter (description~=Corelli), skipping ..
[download] Finished downloading playlist: Voices of Music TV Sundays at Ten Season 3 Episode 2 Roman Holiday

$ ls *Corelli*
'Corelli: Concerto Grosso in F Major Opus 6 No. 2, the original and best.  Voices of Music 4K UHD [-RQqdumu7SI].webm'

That sounds OK.
There is a lot of options available at the command line.  This short test shall have to do.

CC: (none) => tarazed25

Comment 4 Thomas Andrews 2023-06-26 02:02:19 CEST
mga8-64 Plasma on an HP Pavilion 15. No installation issues.

Using ClipGrab, I downloaded two separate Star Trek related videos that had been uploaded to Youtube less than three days ago, at three different resolutions, in mp4 format, instructing it to put them in my Videos directory. There were no issues with any of them.

Saying that there are "a lot of options" at the command line has to be one of the biggest understatements I've read in a while. The man page for yt-dlp is over 2800 lines long, with almost all of that concerning the various options. Far too many for QA to test.

So I stuck with the basic "yt-dlp <url>" on another Star Trek related video, to see if the defaults would work. (There are tons of fan-produced videos like this) This produced verbiage similar to what Len saw, at the end depositing a webm file in my home directory. Not what I would have personally chosen, but it was viewable with vlc.

Validating the update.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: (none) => MGA8-64-OK

Dave Hodgins 2023-06-27 23:09:11 CEST

CC: (none) => davidwhodgins
Keywords: (none) => advisory

Comment 5 Mageia Robot 2023-06-28 07:22:55 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0053.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.