View Full Version : Updated surfthechannel.com plugin
After fiddling around with the old plugin a bit, I have successfully been able to
modify the plugin to work with the current layout of surfthechannel.com.
Also there are some additional features/improvements:
1) When getting episode list for a particular show, it does not open up each
show to get the video link. This trips the surfthechannel.com spider. Instead
there is one more level added to get to the actual video links.
2) Support for Alternate URLs and if an episode has multiple parts, support for
it as well.
3) Added support for movies and other categories from surfthechannel.com
One thing you may notice lacking is that there are no descriptions for
episodes and no good thumbnails.
Have been able to do limited testing on it with my xbox and seems to work fine.
Uploaded the modified default.py script and joox.plx file as a tar ball at
http://rapidshare.com/files/79962387/stc.tgz.html
Enjoy!!
nokternal
2007-12-30, 19:15
Awesome, i was able to view a few shows, with no problems.
However, it seams to not be able to parse series with many episodes. I.E. - Star Trek - TNG, errored out with an Ascii decode error. I'll see if i can post it for you.
Also when i tried to browse Scrubs, it only showed the first 144 episodes.
Thanks again for reviving my favorite plugin.
I'm getting a lot of these mainly in the Sports area. Everywhere else seems to load and play well. Don't know if it has anything to do with the update. Can go drill down fine until it goes to play.
Thanks,
V
This updated script should fix the ascii error.
http://rapidshare.com/files/80148329/stc.tgz.html
when i try to run this script i get the message:
Error
Error Running script
reason:
[erno 2] no such file or directory : 'Q:\\plugins\\video\stc\\home.dat"
any ideas?
Thanks
rwparris2
2008-01-08, 07:54
The same happens to me:
Error Running script
reason:
[erno 2] no such file or directory : 'Q:\\plugins\\video\stc\\home.dat"
hopefully we can get this resolved and get this great plugin working
rwparris2
2008-01-08, 08:01
ok, easy fix:
open notepad and type "joox.plx". save this file as home.dat in your surfthechannel folder.
or, copy and paste home.dat from the joox plugin folder to your stc one.
brilliant works like a champ now!
thanks for the find
TheDudeAbides
2008-01-09, 06:24
I've been able to find very few shows using this. Anyone else having issues? Im able to see the show list and the episode lists, but when i go into the episode i want, i dont see the video link.
same problem here :( I just tried to play some random stuff, checked about 10-25 different folders in all categories and I couldn't find any link
Regards,
TheDudeAbides
2008-01-09, 23:10
Anyone else havin this issue or know a fix???
TheBoxMan
2008-01-10, 02:35
Thanks for the update - much appreciated ;-)
I've transferred it and began playing around.
I've not managed to get any of the streams to work... :-/
Menus are all loading fine, scrubs i was also getting 144 episodes loading.
final folders were always empty. I tested about six different serieses and a few episodes per series (24, alias, another couple, and scrubs) without success on the episodes I tried).
Perhaps the site structure has been subtly changed??
I've checked the website and for some reason it does not work as well. They changed something, obviously. The only file I managed to play was /movies/1408 but that was after I had to type in a security code from the picture. Nothing else worked.
Regards,
This worked just fine for me.
Thanks.
V
This updated script should fix the ascii error.
http://rapidshare.com/files/80148329/stc.tgz.html
TheBoxMan
2008-01-14, 22:29
they've added image verification?
Might be because your IP address tripped some kind of spider filter on the Xbox?
TheBoxMan
2008-01-20, 17:44
anyone figured out what's going on here?
Sounds like something subtle has been tweaked....Are we firing up some spider filter or something?
coffeepostal
2008-01-30, 10:18
I'm getting an error about the "List Index is Out of Range"...
Any idea what that is?
smartfast
2008-02-03, 00:23
hi. will some $US money sent via paypal persuade anyone into fixing this script for me?
I would love to continue watching the lost episodes on my plasma .. someone please name a price!
Is there also the ability to use the alternative link, in case that Stage6 wont do?
TheBoxMan
2008-02-14, 01:04
Yeh it was a great site. Offering money? well you never know, might work - money talks as they say ;)
smartfast
2008-02-14, 03:44
30$USD is my offer. Maybe if other people chip in, we can convince someone to do this. Or I will offer 50$USD for someone to fix the script, and create a tutorial for us to create our own scripts , and update thsi one.
XBMC on an Xbox1 can process and display 720p videos perfectly fine ... and it upscales normal streaming-quality web video GREAT!
Someone , please fix this!!
TheBoxMan
2008-02-15, 00:48
Cheap as the offer is (I'm counting on other people chipping in!)
I'll chuck in £5 GBP for someone to fix this (so that the majority of links are working) via paypal (works out at $9.84 USD I *think* ) :)
smartfast
2008-02-15, 08:47
Hey boxman ...
in my humble opinion , cheap = $0 dollars!
Every little bit will add up!
Anyone else that has a buck to spare ( and can benefit from this script ) , please chuck in whatever you can part with !
For me, I know I will save tons of $$ on rentals and purchasing dvd movies .... if I had this script to use every night instead!!
:laugh:
TheBoxMan
2008-02-16, 01:55
£5 is a lot when you're trying to live on a student loan ;-) and rentals are out of the question :D
smartfast
2008-02-16, 02:00
Definitely!! I've been there myself!
Anyway .. I'm realizing that maybe the reason no one is doing this is because this forum , or more specifically this thread, is not popular! I've never seen taht little box at the bottom of the thread indicate more than 1 guest viewing. And hardly EVER does ti say a registered user is.
Do you guys know any XBMC community that is more active? I'm thinking about posting a link to this thread from xbox-scene. Lord knows that forum is ALWAYS buzzing....... SOMEONE there has to know python (is the language of the plug-in/scripts even python?)
DigiNews
2008-02-17, 03:01
Someone up me the files and I will fix it. (For free)
smartfast
2008-02-17, 03:05
Haha gREAT to hear!!
ill up them for you , only if you provide your paypal email ................. :nod:
smartfast
2008-02-17, 03:21
the is the latest one i have ...
still digging to confirm it is the most recent one (pretty sure it is)
http://ryaske.weck.net/xbmc/stc-plugin.zip
smartfast
2008-02-17, 03:23
the is the latest one i have ...
still digging to confirm it is the most recent one (pretty sure it is)
http://ryaske.weck.net/xbmc/stc-plugin.zip
please .. PM me your paypal email. you deserve at least Somethign for the time you spend fixing it!
the is the latest one i have ...
still digging to confirm it is the most recent one (pretty sure it is)
http://ryaske.weck.net/xbmc/stc-plugin.zip
Thanks. But it doesn“t work for me (latest T3ch).
smartfast
2008-02-17, 21:04
Thanks. But it doesn“t work for me (latest T3ch).
LOL. Welcome to the thread sir. You might want to consider readign it... :;):
I was finally able to get some to work on the script. This time was quite a challenge though.
Had to spend quite a bit of time to get it to work. Here is an updated version, which
seem to work for me. I am not interested in money, but if it works for you, wont mind a
few good comments ;)
http://rapidshare.com/files/93062992/stc.tgz.html
Enjoy while it lasts. Not sure when the website might change to render
this latest version moot. Just a disclaimer that I am not responsible for all the code.
smartfast
2008-02-19, 08:12
you are a hero!
i did not yet try it but will shortly
here is a direct mirror on my server that won't ever go down
http://ryaske.weck.net/xbmc/stc.tgz
smartfast
2008-02-19, 08:27
WELP .. i tried it as both a plugin and a regular script. it wont work :blush:
As a regular script I get this "Error running script. Reason:
List index out of range"
As a plugin, I get this as soon as i select it as a source:
"Error running script.
Reason:
[Errno 2] no such file or directory: "Q:\\plugins\\video\\stc\\home.dat"
If i create a blank 0byte home.dat file, i get error "Reason: unknown url type:"
Oh well
smartfast
2008-02-19, 08:35
I take it back!!!!!!! I simply forgot the home.dat file that includes the text joox.plx
for everyone ... download this file,
http://ryaske.weck.net/xbmc/stc.zip
and unzip the three files into /plugins/video/STC folder in your XBMC root directory.
Then add a new source in videos, select video plugins at the bottom, and click STC. Hit ok , name the source SurfTheChannel , and there it is in your Videos folder!!!
Yay!!!!!!!!!!!!!!!!!!!! Thank you :D:D:D:D:D:nod:
my gf is gonna love this!! if you reconsider a little bit of $$ , do PM your address. I have no problem giving all I offered!! Thank you!!!!
The home.dat file should be available in the original version of the plugin, if you do not find it
any where, just create the file in a text editor and put the line below as the content of the file.
joox.plx
Thanks.
smartfast
2008-02-19, 08:41
oops we cross posted. Thanks for the tip!!
I can't get it to load Lost episodes, but I think I'm going to learn python now !
smartfast
2008-02-19, 08:49
Hi. I just wanted to report back some rgeat news..
I cleared the cache folder , and loaded some other TV shows before hand ,
And I was able to get lost to work!!!!!!!!! You have no idea how laid you just got me. :grin: She is gonna want to come over to watch them ALL woooowee!
There is definitely some progress and it“s working (at least in parts). Some movies won“t work, but overall great work and thank you very much!
yeah its working pretty good here also...all i really want now is a tbn from STC.....
Nuka1195
2008-02-20, 16:35
right click there image and save as default.tbn
Hudson_Hawk04
2008-02-21, 16:53
I believe I had a wide icon someone made a while back for the plugin. I will search around and see what I can find
Hudson_Hawk04
2008-02-21, 17:09
I believe I had a wide icon someone made a while back for the plugin. I will search around and see what I can find
http://i265.photobucket.com/albums/ii222/Hudson_Hawk04/default.png
Thats what I was using when the plugin was first created, I found it in one of the earlier plugins for the site that I had on my pc. Hope it helps
Hudson_Hawk04
2008-02-21, 17:11
http://i265.photobucket.com/albums/ii222/Hudson_Hawk04/default.png
Thats what I was using when the plugin was first created, I found it in one of the earlier plugins for the site that I had on my pc. Hope it helps
forgot the H in the url
yort2003
2008-02-26, 23:10
Surf the channel does not work for me. However all of the folders appear and any video that is linked to stage6 works, but any movies always give me a padding error or just immediatiely say too many failed attempts. Someone needs to fix this before 2/28, or i will be living in hell.
why would someone "fix" the plugin to work with a site that is closing?
yort2003
2008-02-27, 05:37
Wasnt aware surfthechannel was closing...
they aren't closing, stage6 is. As quoted from the STC site:
We will be removing ALL Stage6 videos on 28th February due to their closure.
We will still have 47k videos for you to watch.
For full details on this decision please read our annmouncement
so all is not (yet) lost....
petersnoboard
2008-02-28, 01:11
hey,
So i think i downloaded the latest version of the plugin. Put it in the correct place on my xbox and started using the plugin. I can see all the different tv shows and the episodes for those shows but when i click on one of the shows and try to play it I get an error:
"Playlist playback aborted
Too many consecutive failed items"
Is anyone else having this problem. Can someone link my to the latest build so i know i have it?
smartfast
2008-03-05, 04:42
Hey .. yes. I can verify that the plugin again does not work. We knew it was going to happen .. whenever STC changes their site the plugin would need to be updated to work again.
Luckily I just purchased a laptop with HDMI out .. so I've been watching my shows that way for the time being.
If anyone is willing to fix the plugin I would be very grateful ... I think ultimately I will have to learn python myself ..
If anyone is interested in learning .. here is a 10 minutes primer!
http://www.poromenos.org/tutorials/python
smartfast
2008-03-05, 04:46
hey,
So i think i downloaded the latest version of the plugin. Put it in the correct place on my xbox and started using the plugin. I can see all the different tv shows and the episodes for those shows but when i click on one of the shows and try to play it I get an error:
"Playlist playback aborted
Too many consecutive failed items"
Is anyone else having this problem. Can someone link my to the latest build so i know i have it?
AFAIK .. the latest STC plugin can be found on the last link I posted. I doubt anyone has updated it since then since they have no posted to this thread
smartfast
2008-03-05, 04:48
just to clarify .. here is the latest version
http://ryaske.com/xbmc/stc.zip
I am at work now, so I can't test this on my xbox, but as luck would have it surfthechannel.com is not blocked here.
Your joox.plx file seems to have old category links for STC, the ones below should be correct.
I don't know if the python needs changing, since I am not at home and cannot test right now, but I think this will at least bring up show lists.
#first line is the PLX Playlist version. Shall be '1'.
version=1
#
#playlist properties:
background=default
logo=http://theendofthelongestline.de/joox.png
title=http://www.surfthechannel.com
#
type=rss
name=surfthechannel.com-TV
thumb=default
URL=http://www.surfthechannel.com/tv/index.html
#
type=rss
name=surfthechannel.com-Movies
thumb=default
URL=http://www.surfthechannel.com/movies/index.html
#
type=rss
name=surfthechannel.com-Anime
thumb=default
URL=http://www.surfthechannel.com/anime/index.html
#
type=rss
name=surfthechannel.com-Documentaries
thumb=default
URL=http://www.surfthechannel.com/docus/index.html
#
type=rss
name=surfthechannel.com-Music
thumb=default
URL=http://www.surfthechannel.com/music/index.html
#
type=rss
name=surfthechannel.com-Sports
thumb=default
URL=http://www.surfthechannel.com/sports/index.html
smartfast
2008-06-11, 23:03
I will try that when I get home .. if i can figure out where to put it.
I will let you know and post back!
The reason why you can`t get a vidlink.
Surf uses a randomly generated encryption based on base64, the encryption and the splits needed to create a video link are stored in the Player swf`s. Decompile one.
They have 8 different forms of encryption - so, if one is cracked they will switch.
If a plugin is released, the surf admins will check the code and then change the encryption.
The reason being Python code is too open. The guys at surf want to protect their links and servers. If the way is left open then web clones linking to their servers will spring up everywhere and ruin it for everyone.
surf is fast now - wouldn`t be later.
The Rss sections have gone, so you can`t really link correctly to parse the pages that way.
I have a fully working surfthechannel plugin, and have had for a long time.
It supports downloading and link resolving using all their encryption methods.
Their Encryption protocols are:
class be.boulevart.as2.security.EncryptionTypes
{
function EncryptionTypes()
{
_Base8 = be.boulevart.as2.security.EncryptionTypes.Base8();
_Base64 = be.boulevart.as2.security.EncryptionTypes.Base64() ;
_SHA1 = be.boulevart.as2.security.EncryptionTypes.SHA1();
_MD5 = be.boulevart.as2.security.EncryptionTypes.MD5();
_RC4 = be.boulevart.as2.security.EncryptionTypes.RC4();
_Rijndael = be.boulevart.as2.security.EncryptionTypes.Rijndael ();
_TEA = be.boulevart.as2.security.EncryptionTypes.TEA();
_GUID = be.boulevart.as2.security.EncryptionTypes.GUID();
_LZW = be.boulevart.as2.security.EncryptionTypes.LZW();
_ROT13 = be.boulevart.as2.security.EncryptionTypes.ROT13();
_Goauld = be.boulevart.as2.security.EncryptionTypes.Goauld() ;
} // End of the function
So unless you crack them all it`s pointless and then they will implement a new security for their links and the process will start over again.
This is their base64 code.
With a python version of this code you can decode the base64 input_str to return a nice
crisp Phoenix.surfthechannel.com link that gets you the Flv.
menu_mc._visible = false;
var e;
e = new be.boulevart.as2.security.Encryption(be.boulevart. as2.security.EncryptionTypes.Base64(), null, null, null, null, null);
e.input = _root.input_str;
var debug = _root.debug;
var my_str = e.decode_it();
var pass1 = String("1349834568902348908903456ASdfed8903458902458923458 90345689034568903428901328902463890435679Fdsa08345 6890dfsafsqt434");
var pass2 = String("123345358931942135asdrq325jqwer231451kl23412341452 334528925436jk436264536jk345l3345233245k4568134589 03145803245");
var pass3 = String("345895468903458903428902348D9435895489456897453897 342789234187912378934789578945789435asdD78931247S8 92789asdsFGfs0231589071258790236407892657089");
var url1 = my_str.split(pass1).join("");
var url2 = url1.split(pass2).join("");
var url3 = url2.split(pass3).join("");
e.input = url3;
file = e.decode_it();
Also Some of their Admins are registered on this board and read the surf posts.
So whatever is done will be quickly undone.
Hence, I will never release my surfthechannel plugin - for now at least.
I simply don`t have the time to play cat and mouse with the Admins.
Voinage.
twavisdegwet
2009-04-10, 18:18
so no go =(?
iRoNBiLL
2009-04-10, 19:36
Yes, twavisdegwet that would be a "no go"... he just said someone would need to decompile (reverse engineer) the player, crack all 8 encoding schemes used for protection and re-compile the plugin, in which case, the site admins could just quickly re-write 8 new encoding schemes and quickly ruin the efforts of the plugin creator... in other words it's pointless to do this because it's too easy to make the plugin not work again that it's simply not worth the effort put into it in the first place... so no you probably wont see this on XBMC ever again.
iRoNBiLL
PantsOnFire
2009-04-11, 06:53
quite a shame. Changing website structure... applies to a lot of plugins potentially dosen't it?
Also, can't DL this plugin, always get the error: 404 not found
Gentlemen, please look at the date of the post. 12/06/2008
Surf the channel no longer uses encrypted links and is a matter of building a plugin much like the tvshack plugin.
In fact you could use that as a base to begin.
As for the changing structure, yes it`s annoying, but people are never happy with their layouts....
PantsOnFire
2009-04-16, 16:58
So is there a working version of this available?
Most download links seem to show 404 file not found.
I used the fix in the first page of this thread (about adding a home.dat file). This stopped the script from failing. But here's the problem:
You see a list like this:
SurfTheChannel.Com-TV
SurfTheChannel.Com-Anime
SurfTheChannel.Com-Documentary etc..
but none of these folders have any video files in them.
How can I fix this?
smartfast
2009-04-16, 17:03
No, doesnt work. You can absoultely try to fix it .. but as others have sadly repeated, if you post that fix back here, the site will likely change to un-fix your fix. Making the loop a frustrating one that will, in the end, cause you to be greedy and keep the fix all to yourself.
So either fix it and be quietly merry while the rest of us get pissed off,
or dont fix it and watch surf the channel from the PC.
As much as I dont like it .. we now watch STC with my laptop connected to my flat-screen. Thats the best we can do
I`m feeling better now and therefore I have decided to play.
I`ll release a plugin in a few days, there, worry over.
Along with a new Anivide plug to stop the Anime section from crying itself to sleep.
Hehe - Jest.
PantsOnFire
2009-05-11, 03:52
I can't locate the SurfTheChannel plugin anywhere on your google code page. Where can I find it? Or has it been discontinued..