![]() |
Re: Youtube download script
Quote:
It's not explained in your notes. |
Re: Youtube download script
Quote:
|
Re: Youtube download script
I once did it by command line and it did work. :)
|
Re: Youtube download script
Is there any possible trick to resume playback of a large video in .flv format?
Holding the fast forward key for 10 plus minutes just to get back to where I left off in a vid is such a pain. I've messed with the -ss option as well as /home/user/.mplayer/video.position with no luck. |
Re: Youtube download script
Hi auouymous.
I added one little, small time saver to your coding and just felt like posting it. matchbox-remote -next I put this on the first line. Since I'm always using the Tear web browser with this and I also have your scripts on the Desktop with Personal Launcher, it's just an easier way to bring back up the browser again. :) |
Re: Youtube download script
I did have one question for you though....
Once I start downloading a video, I'm already browsing for the next one to play while the current one is loading up. Since the current web page is still "copied", is there perhaps a way to manipulate the copied URL using xclip so it would take you directly to the post a message, view comments, like or dislike the video page if that were something I wanted to do? |
Re: Youtube download script
Quote:
Code:
matchbox-remote -next ; yt ... Quote:
|
Re: Youtube download script
Quote:
Quote:
I knew that. I was just wondering if you could add to the URL that was copied to save an extra step or two. :) |
Re: Youtube download script
Quote:
Quote:
|
Re: Youtube download script
Quote:
Quote:
http://m.youtube.com/watch?gl=US&hl=...&v=Pwe-pA6TaZk Instead it would take you here or somewhere else, like posting, viewing or disliking a video... http://m.youtube.com/rating?gl=US&hl...&v=Pwe-pA6TaZk Anyway, my question is total garbage now that I think about it. *lol* You should ignore my many ideas more often. :) |
Re: Youtube download script
Quote:
Code:
xclip -in `xclip -out |sed 's/watch/rating/'` |
Re: Youtube download script
I have tried
matchbox-remote -next ; yt matchbox-remote -next & yt matchbox-remote -next && yt None of these will download a video in Personal Launcher. So for now, I just have it in the beginning part of your script. Also, I would like to add this as well... xte 'keydown Escape' 'keyup Escape' I always go back one page after grabbing a video so this just saves another step. Where should I put this command? If I do it right after matchbox-remote -next, the browser will come back up and go back a page, but the video won't download. So I'm guessing it's going to be needed somewhere in the middle of your script. I hope my question makes sense to you. Thanks ahead. :) |
Re: Youtube download script
Okay, nevermind. I got it to work correctly. :)
Don't ask why, I have no clue, but apparently this is what was needed. xte 'keydown Up' 'keyup Up' 'keydown Escape' 'keyup Escape' |
Re: Youtube download script
Hey.
I'm trying to simplify this down to just a single click. I can't seem to find a way to highlight and copy the url using Tear web browser though. This is kind of what I have right now. xte 'mousemove 400 450' xte 'keydown Control_L' 'key a' 'keyup Control_L' xte 'keydown Control_L' 'key c' 'keyup Control_L' Any ideas at all? |
Re: Youtube download script
Quote:
Code:
xte 'mousemove 400 450' 'mouseclick 1' |
Re: Youtube download script
I can't seem to produce a mouseclick.
I've tried 'mouseclick 1' and 'mousedown 1" followed by "mouseup 1" I tried this using MTPaint and I can get the cursor to move, just not a mouseclick which I think is needed if I'm ever going to grab the URL address. |
Re: Youtube download script
Quote:
|
Re: Youtube download script
I did from 0 to 4 already. :(
|
Re: Youtube download script
Quote:
I was able to click in GTK text fields using xte on my Linux desktop but it appears that GTK text fields are not clickable on Maemo, unless something else is required. :( |
Re: Youtube download script
Ah dern.
Well thank you very much for checking on this. :) |
Re: Youtube download script
What about moving the mouse and then send something like a right arrow key so that the cursor is then in the URL address bar?
|
Re: Youtube download script
Say I would like to resume something 90 minutes into a video...
Right now, I have to hold the fast forward button for like 15 minutes to get there. In Linux, is it possible to delete part of a file? Like cut out the first 200 megs so when I play the file, it will start very close to where I would like to resume watching it? |
Re: Youtube download script
Quote:
Code:
mplayer my-video.mp4 -ss 0:90 |
Re: Youtube download script
Thanks!
I'll give it a try. :) |
Re: Youtube download script
Quote:
I guess .flv can't use this feature. :( |
Re: Youtube download script
Is there something else running besides mplayer and this script in the background?
When I run yt clean I sometimes get weirdness afterwards. There will be times when the next video won't begin to play automatically, or it might play super chunky. Sometimes it will play the video twice at the same time. Even times when I close the video, it will keep popping back up trying to play itself over and over again. Just curious, that's all. :) |
Re: Youtube download script
Quote:
Quote:
Quote:
Quote:
What modifications have you made to the script? |
Re: Youtube download script
This is my download script.
Code:
#!/bin/sh Code:
#!/bin/sh For me, it's almost as though there's some extra process running in mplayer if that makes any sense. |
Re: Youtube download script
Quote:
Get rid of the clean up script and move the matchbox line from the kill section to the download script. Wrap the two matchbox/xte lines with the following so they won't be executed when using kill or clean. Code:
if [ "$1" != "kill" -a "$1" != "clean" ]; then |
Re: Youtube download script
Okay. Thank you very much.
I wasn't exactly sure where to place those extra commands so I ended up with two scripts instead. Cheers buddy. :) |
Re: Youtube download script
This script is great, BTW... makes MyTube work for browsing Youtube and then playing the videos via your script. :)
|
Re: Youtube download script
Hey auouymous!
It's very doubtful, but I was wondering if there was any way to support playing video channels from http://www.twitch.tv? Cheers. :) |
Re: Youtube download script
Quote:
|
Re: Youtube download script
No I haven't.
I'll try right now. :) |
Re: Youtube download script
It looks like you need something called X-Split so that would be a no. :(
http://www.xsplit.com/download/ Oh well, I thought it was a long shot anyway. :) |
Re: Youtube download script
I'm getting the following error both using m.youtube.com and youtube.com on all videos now.
Code:
Downloading http://m.youtube.com/watch?gl=U S... Can someone check to see if it still works? :) |
Re: Youtube download script
Quote:
2) See if there is a new version of the youtube-dl script. Youtube changes its format all the time and that requires changes in the download script. The URL to download a new script is in the yt script. |
Re: Youtube download script
Okay. I'll give it a try.
Thanks. :) |
Re: Youtube download script
Is the newest version of youtube-dl working for anyone?
http://rg3.github.com/youtube-dl/download.html |
Re: Youtube download script
Quote:
Code:
File "/usr/bin/youtube-dl-x", line 2 |
All times are GMT. The time now is 16:24. |
vBulletin® Version 3.8.8