Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ME=$(echo "Please replace this text with your links to download" 2>&1 | zenity --text-info --editable --width 650 --height 400);
- if [ -n "$ME" ]
- then
- youtube-dl $ME | zenity --progress --width 350 --pulsate --text "Currently Downloading Videos" --title "Download"
- find . -maxdepth 1 -type f \( -iname '*.webm' -o -iname '*.flv' -o -iname '*.mp4' \) -exec ffmpeg -i {} -vn -ac 2 -ar 44100 -ab 128k -f mp3 {}.mp3 \; | zenity --progress --width 350 --pulsate --text "Converting to MP3" --title "Conversion"
- rm -f *.flv *.webm *.mp4
- fi
Add Comment
Please, Sign In to add comment