![]() |
Re: Youtube browser - mYTube - released
It still won't die....
[1|user@Nokia-N800-43-7|~]killall mplayer & killall kill y & killall kill youtube-dl-x [1] 14559 [2] 14560 killall: cannot kill pid 14551: No such process killall: kill: no process killed killall: y: no process killed killall: kill: no process killed killall: youtube-dl-x: no process killed [1]- Exit 1 killall mplayer [2]+ Exit 2 killall kill y |
Re: Youtube browser - mYTube - released
|
Re: Youtube browser - mYTube - released
Quote:
Run the y script to begin downloading a video and then run ps aux|grep python and see what it prints out. Should be something like python youtube-dl-x or python /usr/bin/youtube-dl-x on the end of the line. Use that in place of XXX below. Code:
kill `ps aux|grep "python XXX"|awk '{print $2}'` Let me know what the y script shows up as by running ps aux and I can tell you how to kill it. |
Re: Youtube browser - mYTube - released
Okay.
[1|user@Nokia-N800-43-7|~]ps aux|grep python 19603 user 13400 SW< python /usr/bin/youtube-dl-x --no-part -f 5 -o %(stit 19716 user 3956 RW grep python [1|user@Nokia-N800-43-7|~]kill `ps aux|grep "python /usr/bin/youtube-dl-x"|awk '{print $2}'` -bash: kill: user: no such pid [1|user@Nokia-N800-43-7|~]kill `ps aux|grep "python /usr/bin/youtube-dl-x --no-part -f 5 -o %(stit"|awk '{print $2}'` -bash: kill: user: no such pid |
Re: Youtube browser - mYTube - released
Also, I tried to Google ffprobe for Diablo Maemo and I don't think it exists.
Oh well. Cheers. :) |
Re: Youtube browser - mYTube - released
Quote:
Code:
kill `ps aux|grep "python /usr/bin/youtube-dl-x"|awk '{print $1}'` |
Re: Youtube browser - mYTube - released
You're a genius. It worked. :)
I'll look for that lame package later tonight. Thank you. |
Re: Youtube browser - mYTube - released
Would anyone here happen to have lame?
Debfarm failed to refresh. |
Re: Youtube browser - mYTube - released
Well, that was short lived.
I'll try to break this down. /usr/bin/stop kill `ps aux|grep "python /usr/bin/youtube-dl-x --no-part -f 5 -o %(stit"|awk '{print $2}'` killall mplayer I have one video fully downloaded in my Videos folder and I begin to download something else. Once it begins to play: ps aux|grep python 1879 user 13384 SW< python /usr/bin/youtube-dl-x --no-part -f 5 -o %(stit 1942 user 1796 RW grep python I'll then try to kill the download: stop /usr/bin/stop: line 1: kill: user: no such pid killall: cannot kill pid 1933: No such process Mplayer does close so I'm not sure why there is an error on that last line. I'll highlight both videos in File Manager and attempt to delete them. One will go away, the other is currently being used so it has to stay. I'll try to kill it again: stop /usr/bin/stop: line 1: kill: user: no such pid killall: mplayer: no process killed Back to File Manager and now I can delete the current video download. Again, if the Videos folder is empty in the beginning, then there's nothing I can do to stop the current download. There has been a couple of times where your new script fully worked though. Maybe it's usually reading the wrong PID for some reason... Any fresh ideas? :) |
Re: Youtube browser - mYTube - released
Quote:
|
All times are GMT. The time now is 13:06. |
vBulletin® Version 3.8.8