It is currently Sat Nov 26, 2011 8:02 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: xtremespeed.net added to urltranslate.php
PostPosted: Mon Oct 19, 2009 1:30 pm 
Offline

Joined: Mon Oct 19, 2009 1:13 pm
Posts: 2
I've added and tested the xtremespeeds.net rss feed to your urltranslate parser.

Here is the code to be added:
Code:
else if (strpos($url, "xtremespeeds.net") !== false)
{
   // make xtremespeeds download url
   // url in rss: http://xtremespeeds.net/rss.php?secret_key=01010101010101&feedtype=download&timezone=-5&showrows=50&categories=47
   // has to be: http://xtremespeeds.net/download.php?type=rss&secret_key=01010101010101&id=12345
   // set type=rss then get secret_key and id
   $id = $_GET["id"];
   $secret_key = $_GET["secret_key"];
   $torrentUrl = "http://xtremespeeds.net/download.php?type=rss&secret_key=$secret_key&id=$id";
}



The xtremespeed.net users perform the following:

Categories to retrieve: Select Any
Feed Type: Download Link
Rows Per Page: 50

Then just click on Generate RSS Link Button and copy result into a show within ted.


On a side note.... I'm not able to build ted.jar so I can replace the one currently installed on my Mac (Running and Debuging from within Eclipse is fine). When I choose to export as jar or jar executable from Eclipse, I always get an exception upon startup. Any suggestions on creating ted.jar?

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 19, 2009 2:24 pm 
Offline
Developer

Joined: Thu Oct 08, 2009 1:18 am
Posts: 62
What exception are you getting?

With Maven2 and Ant installed, can you try the following from the command line:

Code:
$ mvn dependency:copy-dependencies
$ ant dist


This should create the file jar/ted.jar. I just tested it locally (on Mac) and it worked.

I'll check out why exporting directly from eclipse isn't working soon. I plan to simplify this process anyway, as the copy-dependencies is only necessary to allow ant to find them.

You're exported Jar may be missing new libraries that were added recently. After running the first mvn command you can see the new list of dependencies in target/dependency. You may have to copy them to /Applications/ted.app/Contents/Resources/Java .

Hope this helps,[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 19, 2009 6:40 pm 
Offline

Joined: Mon Oct 19, 2009 1:13 pm
Posts: 2
Thank you, Ant Build works perfect. Must be a configuration issue in eclipse that does not allow me to make a proper build. Now I can download my shows automatically from xtremespeeds! Thank you for this wonderful app!


Top
 Profile  
 
 Post subject: Re: xtremespeed.net added to urltranslate.php
PostPosted: Thu May 27, 2010 4:16 pm 
Offline

Joined: Wed May 26, 2010 2:29 pm
Posts: 6
is this new else statement in the current ted or does it need to be added in order for xtremespeeds.net to work? I get a reply back no torrents found.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group