Add youtube-mp3: First script

This commit is contained in:
joachimschmidt557 2019-05-17 16:17:10 +02:00
parent 914324eac3
commit fea41f37d8

9
youtube-mp3 Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
# Check for youtube-dl in path
if ! (which youtube-dl) ; then
echo "No youtube-dl found in path"
exit 1
fi
youtube-dl --format bestaudio -x --audio-format mp3 --audio-quality 320K -k $1