Begging scripters for internet-TV "links" script... - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+--- Thread: Begging scripters for internet-TV "links" script... (/showthread.php?tid=25770)
- mynumbistongue - 2007-06-29 19:57
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
- sh0stak - 2007-06-29 23:45
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
- pvtschlag - 2007-06-30 00:29
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.
- wvstephens - 2007-06-30 02:07
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.
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
- BungaDunga - 2007-06-30 07:28
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:
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:
(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.
- BungaDunga - 2007-06-30 08:08
Whoops. I think I broke it. Fixing...
- BungaDunga - 2007-06-30 09:31
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.
- rdeman - 2007-06-30 11:53
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?
- rdeman - 2007-06-30 11:55
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/ .
- pvtschlag - 2007-06-30 13:13
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. >.<