autodl-community / autodl-trackers

Tracker files for autodl-community fork of autodl-irssi
http://autodl.community
153 stars 129 forks source link

AlphaRatio #22

Closed phiend7 closed 10 years ago

phiend7 commented 10 years ago

AlphaRatio is a combination of Supertorrents, StellarWinds and AlphaOmega. Trying to set something up for them.

Haxthausen commented 10 years ago

@thebigmunch, I think there was some misunderstanding before... Can we reopen this issue to add support for new AlphaRatio (AR) tracker to autodl-irssi? AlphaRatio.tracker file can be found on below link:

http://pastebin.com/PHUtxzFL

Thanks, Hax.

thebigmunch commented 10 years ago

Yeah, the person left the IRC channel without telling me which possible solution to his issue I provided fixed the issue (mainly which number in the announce was the actual torrentID). Then had another person come in asking about it. Gave them what was needed to test it out, but they also never got back to me. So I just said to hell with it. I'll add it in the next release.

Haxthausen commented 10 years ago

Ok, thanks! I just downloaded a few torrents and the .tracker file appears to be working... Cheers! Hax.

thebigmunch commented 10 years ago

Though this isn't quite the one I did. And it's got some things to fix. Test this one out for me please.

ri4162 commented 10 years ago

I'll let you know if I have any issues.

Haxthausen commented 10 years ago

@thebigmunch, I've updated the .tracker file and so far so good. The below torrents were downloaded successfully.

[01:33] [New Release]-[TvPackHD]-[The Legend of Korra S02 HDTV]-[URL]-[ https://alpharatio.cc/torrents.php?id=6002 ]-[ 5973 ] [01:35] [New Release]-[MovieSD]-[Harry.Potter.And.The.Philosophers.Stone.2001.EXTENDED.iNTERNAL.BDRip.x264-EXViDiNT]-[URL]-[ https://alpharatio.cc/torrents.php?id=6003 ]-[ 5974 ]-[ Uploaded 53 Mins, 59 Secs after pre. ] [01:38] [New Release]-[MovieSD]-[The.Emperors.New.Groove.2000.iNTERNAL.BDRip.x264-EXViDiNT]-[URL]-[ https://alpharatio.cc/torrents.php?id=6004 ]-[ 5975 ]-[ Uploaded 48 Mins, 33 Secs after pre. ]

01:31:42 -!- Matched The Legend of Korra S02 HDTV in TvPackHD (All Torrents Test), AlphaRatio 01:31:42 -!- Saved torrent The Legend of Korra S02 HDTV, AlphaRatio, total time 0.755 seconds 01:34:15 -!- Matched Harry.Potter.And.The.Philosophers.Stone.2001.EXTENDED.iNTERNAL.BDRip.x264-EXViDiNT in MovieSD (All Torrents Test), pre'd 53 minutes 59 seconds ago, AlphaRatio 01:34:16 -!- Saved torrent Harry.Potter.And.The.Philosophers.Stone.2001.EXTENDED.iNTERNAL.BDRip.x264-EXViDiNT, AlphaRatio, total time 1.080 seconds 01:36:45 -!- Matched The.Emperors.New.Groove.2000.iNTERNAL.BDRip.x264-EXViDiNT in MovieSD (All Torrents Test), pre'd 48 minutes 33 seconds ago, AlphaRatio 01:36:46 -!- Saved torrent The.Emperors.New.Groove.2000.iNTERNAL.BDRip.x264-EXViDiNT, AlphaRatio, total time 0.810 seconds

Cheers, Hax.

Haxthausen commented 10 years ago

@thebigmunch, a few more downloaded ok during the night... Logs @ http://pastebin.com/WMqWNRwJ.

Haxthausen commented 10 years ago

Hi compared both .tracker files and I can see that the difference is basically on the regex to match torrents with and without pre time. Can you comment why your version is preferred over the other one? Thanks!

Haxthausen commented 10 years ago

The end result should be the same with both .tracker files, as both are matching torrents with and without pre time.

phiend7 commented 10 years ago

@thebigmunch The file worked just fine. I posted the script in the tutorial section of AR's forums also but warned that there might be bugs and that there would probably be an update to the plugin in the future to include the tracker.

Also: I sat in the irc channel for a few days before leaving without an additional answer

This is the end result that I came up with: http://www.mediafire.com/download/a26x2eeij6houcf/AlphaRatio.tracker

thebigmunch commented 10 years ago

@Haxthausen: Because the entire point of the second regex is to match announces without a pretime announced, so why would it have the same regex and variable capture as the first? Even if the first regex matched all of them, it's best to have separate extracts for each just to keep things clear.

Haxthausen commented 10 years ago

Right, makes sense, because if the announce does not include pretime then the related variable would be empty. Anyway, I have verified that autodl-irssi deals ok with empty preTime var, so wouldn't it be enough to have a singe regex to match either case?