Begging scripters for internet-TV "links" script...

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mynumbistongue Offline
Member
Posts: 63
Joined: Jun 2007
Reputation: 0
Post: #31
I dont know the guy didnt respond but why not try and develope a scriopt for alluc.org this site gives you direct links to movies and tv shows
find quote
sh0stak Offline
Junior Member
Posts: 30
Joined: Jun 2007
Reputation: 0
Post: #32
well I had never heard of alluc so I might give it a shot and use it as a template for when I figure out the tv-links urls. There are some things tv-links has the alluc doesn't so this wouldnt be a complete solution
find quote
pvtschlag Offline
Junior Member
Posts: 14
Joined: Jun 2007
Reputation: 0
Post: #33
I have been letting my dad test this all week long.(he has watched nothing else but shows on it) I think I will go ahead and release what I got so far later tonight/early morning.

As far as the links go it is really hard to explain. I basically just made the script act the same way a browser would when it is used to view the site.
find quote
wvstephens Offline
Member
Posts: 78
Joined: Jun 2006
Reputation: 0
Post: #34
pvtschlag Wrote:I have been letting my dad test this all week long.(he has watched nothing else but shows on it) I think I will go ahead and release what I got so far later tonight/early morning.

As far as the links go it is really hard to explain. I basically just made the script act the same way a browser would when it is used to view the site.


Release it, release it... goes the little kid with the spoon... If you need to host it I will host it for you just drop me a msg here or email reptilenut(remove)@gmail.com
find quote
BungaDunga Offline
Junior Member
Posts: 3
Joined: Jun 2007
Reputation: 0
Post: #35
I did too reply, if you're talking about me, mynumbistongue. I just said I didn't know but would try it out.

I had a go at writing a scraper in PHP. Result:
http://roy.wigginsworld.org/tvlinks/
Once you're on an episode page, click the "Link" link for a link to the actual .flv or .divx (good for downloading!). I'll work on it so you don't have to click that last link, it shouldn't be necessary. There's no player implemented but that shouldn't be hard. Speaking of which, I would think that trying to stream from an offsite source would trigger cross-site loading restrictions in flash.

It's really relatively easy to do, I knocked my version up in a few hours. I used an http-browser class that lets you easily make requests and so on. The following regexp seemed to work for most:

/embed(.+?) src\="(.+?)"(.+?)>/


Youtube:

/flashvars\="config=\{videoFile: \'(.+?)\'/

(God, I hate regular expressions. Pretend the slashes are there and think of the parentheses as wildcards.)

I then retrieved the "Location" header information for that use-once url to get the location it redirects to. I think there's a firefox extension out there that sends a url to XBMC from firefox; you should be able to use the url my thing gets. A Python solution is obviously much much better as you can get stuff right with the xbox.

Once pvtschlag releases his I really have to network my xbox. It's sitting down in my basement a wall and a room away from the nearest Cat5.
find quote
BungaDunga Offline
Junior Member
Posts: 3
Joined: Jun 2007
Reputation: 0
Post: #36
Whoops. I think I broke it. Fixing...
find quote
BungaDunga Offline
Junior Member
Posts: 3
Joined: Jun 2007
Reputation: 0
Post: #37
Fixed (can you edit posts?). It works for most episodes. One thing you can do is take the URL, paste it into VLC, and stream it with that. That way you can do deinterlacing and all that to make it look nicer than what you get with a flash player.
find quote
rdeman Offline
Junior Member
Posts: 4
Joined: Jan 2007
Reputation: 0
Post: #38
hi folks. could anybody please update me: I would love to watch the shows from http://tv-links.co.uk/ on my XBMC (especially the 'Lost' TV series) Now I have been reading the forum but I cannot find a final answer to this question:

Can I watch the shows on http://tv-links.co.uk/ on my XBMC and if yes, how?
find quote
rdeman Offline
Junior Member
Posts: 4
Joined: Jan 2007
Reputation: 0
Post: #39
I am pretty sure I can write some PHP or Java code that generates a RSS feed from http://tv-links.co.uk/ ... but.. how do I play RSS video feeds on the XBMC? Which plugin do I use?

deadelvis Wrote:Only thing that needs to be done is to convert the different pages to an rss feed, with each video link in <enclosure> tags. Done it before for another site using php and Snoopy class - http://sourceforge.net/projects/snoopy/ .

Then you can just use a script like this on the xbox - http://www.matthewtuffin.co.uk/Blog/index.php?itemid=49 - (great script btw! use it daily.) to stream in the content via rss.

I'll take a swing at it when I have time... or any of you can just go ahead and try doing it using any free html to rss free service like these (yeah.. no scripting skills required whatsoever):

http://feed43.com/
http://www.feedity.com/

PS:
it kind of bugs me why media streaming via rss hasn't been natively implemented yet in XBMC.
find quote
pvtschlag Offline
Junior Member
Posts: 14
Joined: Jun 2007
Reputation: 0
Post: #40
http://pvtschlag.com//tvlinks/tvlinks.zip

Please note that it still doesn't support playback for all of the videos yet.

Also I am VERY new to python and coding for xbmc so the GUI isn't the best.
If anybody wants to help out by coding that part to make it look better for everyone then please do it.

I am using rev8582 T3CH build, I do not know if or how well it will run on any others.

Hope the shows you want to watch are the ones working so far. >.<
find quote
Post Reply