Notices


Reply
Thread Tools
Posts: 617 | Thanked: 405 times | Joined on Dec 2009 @ Kaliningrad, Russia
#471
Plus I can watch a video without waiting for it to fully dowload
You can do the same using myTube too. But with thumbnails, tagging, searching etc.
 
Addison's Avatar
Posts: 3,806 | Thanked: 1,128 times | Joined on Oct 2007 @ East Lansing, MI
#472
Last question...


cd /media/mmc1/Videos
FILE=`/bin/ls -1t |head -1`
youtube-dl-x --no-part -f 5 -o "%(stitle)s.%(ext)s" `xclip -out` &
sleep 5
while [ "$FILE" = "`/bin/ls -1t |head -1`" ]; do sleep 5 ; done
sleep 30
mplayer `/bin/ls -1t |head -1`


What would be the very last command to delete to the video after it's done playing?

Thanks!
 
Posts: 822 | Thanked: 821 times | Joined on Sep 2010
#473
Originally Posted by Addison View Post
Last question...


cd /media/mmc1/Videos
FILE=`/bin/ls -1t |head -1`
youtube-dl-x --no-part -f 5 -o "%(stitle)s.%(ext)s" `xclip -out` &
sleep 5
while [ "$FILE" = "`/bin/ls -1t |head -1`" ]; do sleep 5 ; done
sleep 30
FILE=`/bin/ls -1t |head -1`
mplayer "$FILE"
rm -f "$FILE"



What would be the very last command to delete to the video after it's done playing?
Like that.
 

The Following User Says Thank You to auouymous For This Useful Post:
Addison's Avatar
Posts: 3,806 | Thanked: 1,128 times | Joined on Oct 2007 @ East Lansing, MI
#474
There really wasn't any reason to keep saving each and every one of the videos I've watched, plus, after awhile, it stops playing the correct one that's currently downloading.

This will totally fix both those issues.

Thank you most kindly auouymous.
 
Addison's Avatar
Posts: 3,806 | Thanked: 1,128 times | Joined on Oct 2007 @ East Lansing, MI
#475
If I want to completely abort a video and it's download, is there a cleaner way to do this rather than killall hildon-desktop?
 
Posts: 822 | Thanked: 821 times | Joined on Sep 2010
#476
Originally Posted by Addison View Post
If I want to completely abort a video and it's download, is there a cleaner way to do this rather than killall hildon-desktop?
Code:
killall mplayer youtube-dl-x
 

The Following User Says Thank You to auouymous For This Useful Post:
Addison's Avatar
Posts: 3,806 | Thanked: 1,128 times | Joined on Oct 2007 @ East Lansing, MI
#477
Thanks!

I was thinking killall y but that didn't do the trick.

Hope you're having a great weekend.
 
Addison's Avatar
Posts: 3,806 | Thanked: 1,128 times | Joined on Oct 2007 @ East Lansing, MI
#478
Okay, one more...

I would like to have another script that downloads audio only, mp3 format at 320 kbps.

How do I phrase these parameters?

In the options, it's saying that I need ffmpeg and ffprobe for this.

Also, your kill script auouymous never has worked too good for me.

If there is only one video currently downloading in the Videos folder, your script will never stop it until it's completely finished with the download.

If there are more than one videos in the folder, I'll run your script, the current one will still continue to download, I delete all of the other vids, run your script again, then it finally kills the download.

This has happened consistently at least 50 times now, so what do you think might be wrong with your script command?

So many thanks for all of your help.
 
Posts: 822 | Thanked: 821 times | Joined on Sep 2010
#479
Originally Posted by Addison View Post
I would like to have another script that downloads audio only, mp3 format at 320 kbps.
You can add the following to your youtube-dl-x command line assuming you have ffmpeg and ffprobe installed.
Code:
--extract-audio --audio-format mp3 --audio-quality 320

Originally Posted by Addison View Post
Also, your kill script auouymous never has worked too good for me.
Try adding the script's name to the killall command.
 

The Following User Says Thank You to auouymous For This Useful Post:
Addison's Avatar
Posts: 3,806 | Thanked: 1,128 times | Joined on Oct 2007 @ East Lansing, MI
#480
Thanks!

I found this dude earlier....
http://m.youtube.com/user/osirisligh...ient=mv-google

Since most of his videos are 2 hours, it will be so much easier to handle them if they were just mp3s and not flvs.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 09:58 AM.