I made a more advanced version of that script, I tried using $PIPESTATUS
but nothing seems to have worked,  I was wondering if it has anything to
do with https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/220656/ ?

url=$(zenity --entry --title="youtube-dl" --text="please enter the url
for the youtube video")

file=$(zenity --file-selection --save --confirm-overwrite --title="Save
file as.." --filename="$HOME/.mp4")

youtube-dl -o $file -b $url| zenity --progress --pulsate --auto-close 
--title="Saving" --text="Currently Saving to: $file"
echo 'peace out'
exit 0

-- 
"Cancel" button doesn't work
https://bugs.launchpad.net/bugs/316904
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to