maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!! (https://talk.maemo.org/showthread.php?t=43540)

rcull 2010-02-07 09:51

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
To download any flash file from a url edit filologens script to look like:-

Code:

lynx -source "<input url>" | grep -o 'http.*flv' | wget -i - -c -O "<output filename>"
Thats 'space "minus i" space minus space -c space "minus uppercase o" space <filename> '

Replaces rvlc with wget, will only work with the -O if there is only one file. replace with xargs wget if more than one flv on the url.

DISCLAIMER:
Please bear in mind, copyright, you should only use this for free content :)

Rick

Bec 2010-02-07 10:17

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
So how much of the url does it actually need?
http://smotri.com
http://smotri.com/video/view/?id=
http://smotri.com/video/view/?id=v[some long number]

I guess this would require editing the script every time?

mrebanza 2010-02-07 10:22

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
Quote:

Originally Posted by geohsia (Post 512774)
It's a great site for the N900 too. You can suck down the .flv file and play it on the KMPlayer. I tried it and it works pretty well. No need to do any conversion on the files.

How do you do this????

noobmonkey 2010-02-07 10:26

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
Quote:

Originally Posted by Bundyo (Post 513567)
Save that as a bookmark and run it on one of tvgorge's episodes.

Hmmmmmmmmm.... trying it, pops up with a message to enter the url, so i paste in the tvgorge URL page i am on (with a tv show on it)......

Nothing? - does it do things in the background?

noobmonkey 2010-02-07 10:32

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
ignore me!!! :)

The language didnt make much sense to me!

i think is meant is.....
Run the bookmark, then copy the url in the popup box and play it in kmplayer - it will then stream the file :) - works perfectly! :)

Would like to see a download option - similar to the iplayer method :) - can got in xterm and type iplayer <url> and it downloads :)

raily 2010-02-07 10:42

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
is there a way to tell mplayer to open the copied url or do i need kmplayer for that?

mrebanza 2010-02-07 10:45

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
Quote:

Originally Posted by filologen (Post 512787)
I got better results with vlc, but haven't done any real testing.

I have automated the process a bit by creating a simple one-liner script with the following content:

Code:

lynx -source "$1" | grep -o 'http.*flv' | xargs rvlc
I called this script "tvf" and put it in my usual scripts folder.

Now, I can go to the tvforge website and copy the url for the episode and fire up the terminal and paste it as an argument for the script, e.g.

Code:

tvf http://tvgorge.com/shows/desperate-housewives/season-6/you-gotta-get-a-gimmick/
NB: Of course this only works if you have vlc, xargs, and lynx installed.

EDIT: Regarding, lynx, xargs, and vlc, see

http://maemo.org/packages/view/lynx/
http://maemo.org/packages/view/findutils-gnu/
http://www.remlab.net/files/vlc/fremantle/

But keep in mind that this is unofficial (prerelease) software -- especially vlc -- and install on your own risk.


Wow that is really something . . . but the average user is NOT going to be comfortable doing this . . . . .

I am not as handy with linux scripts as I am with PHP and JavaScript . . . if I was going to do this I would make a java-script bookmarklet to pass the url to a php page that would do the rest . . . no copy and pasting ... no extra packages on your device . . .

My question is are the bookmarklets in MicroB???

Or Mobile FF for that matter???

Bec 2010-02-07 10:49

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
I've updated my thread regarding streaming with the latest news on this thread: http://talk.maemo.org/showthread.php?p=503229
It explains what Bundyo means by bookmarklet (basically create a bookmark, paste his code as the target and run it while starting a video from tvgorge)

I didn't add the VLC solution yet since vlc seems a little "rough around the edges"...

noobmonkey 2010-02-07 10:50

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
Quote:

Originally Posted by mrebanza (Post 514161)
Wow that is really something . . . but the average user is NOT going to be comfortable doing this . . . . .

I am not as handy with linux scripts as I am with PHP and JavaScript . . . if I was going to do this I would make a java-script bookmarklet to pass the url to a php page that would do the rest . . . no copy and pasting ... no extra packages on your device . . .

My question is are the bookmarklets in MicroB???

Or Mobile FF for that matter???


not sure on your above one? Bundyos was on microb ,works fine.

noobmonkey 2010-02-07 10:51

Re: So you want to WATCH THOUSANDS OF TV SHOWS on your N900 FREE!?!?!!!!
 
Quote:

Originally Posted by raily (Post 514160)
is there a way to tell mplayer to open the copied url or do i need kmplayer for that?

think you probably can do it prob terminal probably mplay <url> (Just a guess)...

KMplayer is just the graphical viewer front-end.


All times are GMT. The time now is 07:08.

vBulletin® Version 3.8.8