[slint] for those distros without youtube-dl-mp3 (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





---------- Forwarded message ----------
Date: Sat, 10 Apr 2021 05:56:07
From: Jude DaShiell <jdashiel@xxxxxxxxx>
Reply-To: slint@xxxxxxxxxxxxx
To: slint@xxxxxxxxxxxxx
Subject: [slint] for those distros without youtube-dl-mp3

The following bash script can be useful.
Dependencies are youtube-dl and ffmpeg.
Line 3 of the script has a playlist variable which needs a file name put between
the quotes.  You put one url per line into whatever you named that file then run
the script and it does its magic.  I have used this script and found it to work.

#!/usr/bin/env bash
#file: ypl.sh - download youtube playlist and clean filenames
playlist=""
youtube-dl -o '%(title)s.%(ext)s' -x --restrict-filenames --audio-format mp3
--prefer-ffmpeg -a $playlist
===============================================================================
The Slint mailing list.
Archive: https://www.freelists.org/archive/slint
To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the subject
'subscribe' or 'unsubscribe', then answer the email you will receive.
More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 'commands'.

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]