How to use a zenity progress bar with cclive
Posted
by
Winael
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Winael
Published on 2011-05-06T00:07:21Z
Indexed on
2011/06/22
8:31 UTC
Read the original article
Hit count: 288
I tried to use a zenity progress bar with cclive. I'm writting a script to download web videos files and I wanna see the progression of the download.
But when I try something like
$cclive <url> 2>&1 | zenity --progress
But when I execute the command line but it not seems to work. Any idea of how I can do that ?
BR,
[Edit]
cclive have this kind of output :
cclive http://www.youtube.com/watch?v=youtubevideo
Checking ... .......... ..........done.
youtubevideo.flv 2.5M 75.8K/s 00:09:29 5%
So I need to send the last part to sdout but I dont know how. Else and about pulsate, we can't see th progression with this option, and I really need it... So I will not using pulsate for this script.
© Ask Ubuntu or respective owner