Giter Site home page Giter Site logo

autodl-community / autodl-irssi Goto Github PK

View Code? Open in Web Editor NEW
373.0 42.0 74.0 1.78 MB

A community-driven fork of autodl-irssi

Home Page: https://autodl-community.github.io/autodl-irssi/

Perl 100.00%
terminal p2p irc torrent autodl-irssi bittorrent irssi

autodl-irssi's People

Contributors

alexxm99 avatar jeeger avatar notb1ackhaz3 avatar pushrax avatar thebigmunch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autodl-irssi's Issues

disconnecting dupe networks

I can't use my bouncer to connect to networks as I get disconnected automatically (message: Disconnecting dupe networks) by autodl-irssi as the IP is the same.

Is there a workaround I can use?

Funfile tracker error - Add scene and pretime filter options

Hi,
I saw lots of error from autodl-irssi status window, look like this,
18:00 -!- Irssi: ERROR: FunFile: did not match line '[Scene] Uploaded 34 secs after pre'
18:00 -!- Irssi: ERROR: FunFile: did not match line '[Scene] Uploaded 33 secs after pre'
18:46 -!- Irssi: ERROR: FunFile: did not match line '[Scene] Uploaded 42 secs after pre'

is it possible to fix it?

Below is current funfile annouce message for your reference,
18:00 <%H3r4ut> [New Shit] Good.Game.S09E04.PDTV.x264-W4F [TV/x264-SD] @ https://www.funfile.org/details.php?id=290017
18:00 <%H3r4ut> [Scene] Uploaded 33 secs after pre
18:46 <%H3r4ut> [New Shit] UEFA.Champions.League.Highlights.2013.03.05.HDTV.x264-W4F [TV/x264-SD] @ https://www.funfile.org/details.php?id=290024
18:46 <%H3r4ut> [Scene] Uploaded 42 secs after pre
18:52 <%H3r4ut> [New Shit] UEFA.Champions.League.Highlights.2013.03.05.720p.HDTV.x264-W4F [TV/x264-HD] @ https://www.funfile.org/details.php?id=290030
18:52 <%H3r4ut> [Scene] Uploaded 1 min and 10 secs after pre
19:09 <%H3r4ut> [New Shit] Geordie.Shore.S05E02.HDTV.x264-TASTETV [TV/x264-SD] @ https://www.funfile.org/details.php?id=290040
19:18 <%H3r4ut> [New Shit] [REQ] Battlestar.Galactica.COMPLETE.720p.BluRay.DTS.x264-FF [TV/x264-HD] @ https://www.funfile.org/details.php?id=290042
19:31 <%H3r4ut> [New Shit] Celebrity.Wife.Swap.US.S02E02.HDTV.x264-TASTETV [TV/x264-SD] @ https://www.funfile.org/details.php?id=290043

Change advanced announce var output functionality

This output can get in the way of real debug/output messages. Users should be able to set this independent of the output-level option and globally/per site. Also, to make debugging/help easier/safer, personal info like passkeys/cookies should be censored for copying/screenshots.

Add IMDB or TVDB/TMDB Lookup

It would be beneficial to only autodl good movies, and not bad ones

Flexget's imdb plugin implementation is great since it includes genre, vote counts, and votes.

This is low on the list of todo, but I wanted to write ideas down.

Fix GFTracker pretime regex

Little modification to include pre time:

^NEW\s_::(.)::(.)::\s_https?://([^\/]+/).[&?]id=(\d+)\s::(.*)::(.+) after pre.

Documentation clarification

Hello,

First thanks for the work and effort.

Can you please clarify something regarding the autodl installation.

Is it preferred that a person install using the google code repo of this community edition or the github repo?

The documentation uses the google code, i assume this is something to do with paths, also the updater uses the google code url. It is just not clear when to use which repo.

I guess the simplest version of this question is, if documenting the installation is it correct to use the google code repo?

Or does it not make a difference?

nickserv tries to register wrong nick

in my autodl.cfg :
[server irc.p2p-network.net]
port = 6667
nick = 7tutti

10:56:49 -!- Irssi: Starting query in p2p-network with NickServ
10:56:49 <_tutti> IDENTIFY blablablabla.........

Make manual configuration easier

To promote better organization and ease of use, the structure of the configuration file should be changed.

Some options:

  • Use multiple set configuration files (tracker.cfg, irc.cfg, filters.cfg, options.cfg)
  • Have one set configuration file with an include feature to arbitrarily include other files
  • Have one set configuration file with enforced, separated sections

One concern is maintaining the organization when editing through the ruTorrent plugin or future GUIs.

Add freeleech percent filter

Many trackers have tiered freeleech systems. We should add a filter to support matching freeleech percentages.

Add support for tracker StellarWinds / SW / www.stellarwinds.me (old SuperTorrents / ST / www.supertorrents.org)

Hi,

As you might know, SuperTorrents / ST / www.supertorrents.org is now StellarWinds / SW / www.stellarwinds.me, so support for the new tracker needs to be added.

Someone from the community already prepared a new tracker file for autodl-irssi and it appers to be working ok; you may find the changed code under the following link:

http://pastebin.com/PPLBuB62

Please feel free to commit this change to the main code. Thanks!

Cheers,
Hax.

FTP SSL/TLS support for torrent completion action

I was wondering if it would be possible to add support for FTP SSL/TLS. This way I would be able to have the files transfered to my home server upon completion using the secure protocol. Since security is much appreciated when downloading files from the seed box I would imagine this is a loose end that needs to be fixed.

I tried getting this to work yesterday, but it does not accept the certificate which in turn makes the whole feature return: "530 Have to use explicit SSL/TLS before logging on."

[Warning] Github organization name change

If you're here, you already know that we changed our name for brevity and future-proofing. Since then, someone has taken our old name and started doing some strange things. This is not us. If you see anyone referring to that page instead of this, please correct them.

Change coloring of "Not downloaded." text.

The coloring profile of rejected downloads is very similar to the that of successful downloads, making it harder to read the log.

I would suggest to change the color of the entire message containing the "Not downloaded." text, However, if that is too much to ask, I would at least appreciate a distinct red color for the two words: " Not downloaded."

Acid-Lounge / AL / www.acid-lounge.org.uk tracker script not working anymore.

Hi,

While setting up autodl-irssi for tracker Acid-Lounge / AL / www.acid-lounge.org.uk, I verified that it was no longer working since I was getting an HTTP GET 302 error probably related to a change on the download link or maybe because cookie base download is no longer supported.

Anyway, to solve the issue I have changed the Acid-Lounge.tracker code to support the RSS direct download link using torrentId, passkey and uid as parameters, just like Waffles.

You may find the changed code under the following link:

http://pastebin.com/zpULtjL5

Please feel free to commit this change to the main code.

Cheers,
Hax.

Add Tracker File for GazelleGames (GG)

Server: irc.gazellegames.net
Channel: #gazellegames
Bot: Vertigo

Announces

<&Vertigo> user - Uploaded: || PC - Big_Rigs_Over_the_Road_Racing_NFO_FIX-Razor1911 in Big Rigs: Over the Road Racing [-2003-] - (English, Scene) - http://gazellegames.net/torrents.php?id=4684 -OR- http://gazellegames.net/torrents.php?action=download&id=7018 - racing
<&Vertigo> user - Uploaded: || Hatoful Boyfriend Holiday Star in Hatoful Boyfriend Holiday Star [-2012-] - (English, Home Rip) - http://gazellegames.net/torrents.php?id=4687 -OR- http://gazellegames.net/torrents.php?action=download&id=7019 - visual.novel,indie, adventure
<&Vertigo> camdo2 - Uploaded: || Halo.Wars.XBOX360-GLoBAL in Halo Wars [-2009-] - (English, PAL, Home Rip) - http://gazellegames.net/torrents.php?id=4543 -OR- http://gazellegames.net/torrents.php?action=download&id=6809 - real.time.strategy, space.simulation
<&Vertigo> Klaster_1 - Uploaded: || God.of.War.Ghost.of.Sparta.HD.PSN.PS3-DUPLEX in God of War: Ghost of Sparta [-2011-] - (Multi-Language, Region-Free, Scene) - http://gazellegames.net/torrents.php?id=4544 -OR- http://gazellegames.net/torrents.php?action=download&id=6810 - action, adventure, beat.em.up
<&Vertigo> Ently - Uploaded: ||  in Modern Combat 4: Zero Hour [-2012-] - (English, Region-Free, Home Rip) - http://gazellegames.net/torrents.php?id=4545 -OR- http://gazellegames.net/torrents.php?action=download&id=6811 - first.person.shooter, action

Constants (and related variables) overhaul

The constants groups are unnecessarily disjointed and lacking.

  • Having them named with tv and music prefixes is really not correct. Video or audio would be preferable for most. Some may not need prefixes at all.
  • musicMedia and tvSources could be combined into one group.
  • The media and sources filter options should be changed to aliases of one another for consistency and backward compatibility.
  • musicFormats should be changed to a general formats or container group with video and ebook info added.
  • An audioEncoders group could be added to support a new filter option useful for grabbing video torrents based on the audio track.

The changes to Constants.pm would generally be invisible to users. Changes to related variables may or may not be depending on how they are handled.

Improve automatic release name parsing

autodl-irssi tries to parse the torrentName for information (season, episode, resolution, encoder, etc) when not explicitly captured in the tracker file. There are some issues with the parsing that can cause some issues for users. As well as some specific fixes, it could probably use a general tune up.

  • If it finds the source to be Blu-ray or HD-DVD without a resolution it recognizes (mainly width x height notation), it will set the encoder to x264 and resolution to 720p when it could be Xvid and/or 480p/576p/SD.
  • It parses all numbers separated by an x to be Season x Episode. This could be made smarter since seasons should only ever be two digits long.
  • Remove invalid assumptions.
  • Add specific release format regexes to allow consistent capturing of certain things (e.g. SD resolution).

Add support for Deluge RPC

Though the documentation is sparse, some projects such as flexget have successfully implemented deluge RPC. This would allow someone to manage multiple deluge instances across several servers.

Useful Links

http://dev.deluge-torrent.org/wiki/Development/DelugeRPC
http://deluge-torrent.org/docs/1.2/core/rpc.html#remote-api
http://dev.deluge-torrent.org/wiki/Development/WebUi/Json
http://code.google.com/p/transdroid/source/browse/lib/src/org/transdroid/daemon/Deluge/DelugeAdapter.java
http://search.cpan.org/~dmaki/JSON-RPC-1.03/lib/JSON/RPC.pm

As I delve into the code that flexget uses, I realize it's all based on python modules with deluge, so this is probably not going to happen.

There is a json web rpc so it may still be possible.

Tags/releaseTags

The tags variable has bothered me for awhile. I know that Gazelle trackers (possibly others) use the term tag to refer to genres. But, they're just that, genres. In the context of announces, I think of blocks like AVI | XViD | WEB-DL | SD | P2P | FastTorrent as the tags. Frankly, the original author seemed to as well as these blocks are handled by a local variable $releaseTags which is used to map the parts to individual filter options. The problem with this is that not all parts of these blocks map to a filter option while possibly being useful for the user to have access to.

The backward compatible option is to just add release-tags as a filter option and change all the local references in tracker files to global ones. The user would then be able to use this and/or the individual filter options to match based on release tags. The only downside I see to this is possibly the confusion of tags and release-tags for some users.

The incompatible option is to change the tags filter options to genres. This would require changing tags to genres in all tracker files and open up changing the $releaseTags references to tags. For the user, this would mean having to make changes to their autodl.cfg. Even if a simple script was provided to do it automatically for them, this would probably not be a smooth transition.

I'm interested in hearing what people think about either option or the idea as a whole.

Complete support for connecting to IRC Bouncers.

The initial support for this was rudimentary. It was released in order to get some testing since nobody was responding to the issue on our tracker. This issue will track some of the current limitations and possible solutions.

  • Under some conditions, a blank server password prevented connection to some normal IRC servers. A simple conditional will fix this and has already been addressed in my local repo.
  • ZNC usually will send a /who list to the status window when you connect with another client. Currently it is doing this almost constantly. Must determine the cause and if there is a solution.
  • Allow multiple connections aka server headers with the same server. This is a more general change that could end up being backward-incompatible.
  • Rewrite AutoConnector to support connecting to the same server multiple times.

Add log score filter

Downloading torrents based on log score is common on music trackers. We should add a filter to support this.

Enable the usage of "max-downloads-per" on an hourly basis.

This will provide a "safety mechanism" to help users avoid overloading of the BT client.

The ability to define max-downloads-per 2 \ 4 \ 6 hours, will support an efficient load status for the BT client. This can be handy in a situation where very broad filter definitions have been provided, and the user risks overloading the BT client with too many active downloads.

[Note that an alternative and perhaps easier method to achieve control on BT client load status would be to enable a rule for skipping matches. For example, for a chosen filter, only 1 out of 4 matches will actually get the torrent, thus enabling a sort of counter.]

Add support for limiting the number of active downloads

Similar to limiting the number of active uploads, setting this value to, for example, 1 would que additional torrents added via autodl until torrent 1 is fully completed.

This feature would be helpful to those users who cross seed among multiple trackers and would eliminate 1) The issues that can arise from downloading the same files simultaneously and 2) the bandwidth hit you take from repeating an unnecessary download, both in regard to the transfer seen by the trackers and bandwidth used by your server.

Update mechanics change

Using git to update rather than using external archives would seem to be a good method to use.

This would allow us to seamlessly implement the removal of dead tracker files rather than just emptying the file like done in the official version. It's no more difficult to recover if the tracker returns in the future.

This would be a new major version that would not be backward compatible or linked with the current version. It would likely require users to remove the prior version and install the new one manually (or through a provided script for the general case).

Add nCore.cc tracker

It would be nice if you could add one more tracker with more than half million users. nCore.cc
Their irc channel host: irc.ncore.cc
The announce channel: #ncore-bot
Thanks in advance!

wheezy doesn't have libdigest-sha1-perl

so you can't make the script work unless you change it that way ๐Ÿ‘

diff --git a/AutodlIrssi/MatchedRelease.pm b/AutodlIrssi/MatchedRelease.pm
index c7b59d4..f10f5c6 100644
--- a/AutodlIrssi/MatchedRelease.pm
+++ b/AutodlIrssi/MatchedRelease.pm
@@ -51,7 +51,7 @@ use AutodlIrssi::WOL;
use AutodlIrssi::Scgi;
use AutodlIrssi::XmlRpcSimpleCall;
use AutodlIrssi::RtorrentCommands;
-use Digest::SHA1 qw/ sha1 /;
+use Digest::SHA qw/ sha1 /;
use Time::HiRes qw/ gettimeofday /;
use File::Spec;
use Errno qw/ :POSIX /;

Update GFTracker to capture added torrent size to announce

                           <regex value="^NEW\s*::(.*)::(.*)::\s*https?\:\/\/([^\/]+\/).*[&amp;\?]id=(\d+)\s*::(.*)::(.*)"/>
                            <vars>
                                    <var name="torrentName"/>
                                    <var name="category"/>
                                    <var name="$baseUrl"/>
                                    <var name="$torrentId"/>
                                    <var name="torrentSize"/>
                                    <var name="preTime"/>

Decide on long-term solution for update hosting

With Google Code removing the ability to add binary downloads as of January 15th, 2014, update hosting will be moved to our Bitbucket mirror for the time being. The Github releases feature is suitable for release archival, but not update hosting.

Add Tracker for Empornium.me

Hi,
Is it possible to get the announce channel for empornium.me added too the tracker list?
the irc details are: irc.empornium.me channel #empornium-announce and I will post some captures of announces as soon as I have them :)
Thanks!

Major revision - v2.0.0

These are changes that would break compatibility or might otherwise warrant a new major revision. This issue will keep track of these issues.

  • Add FTPS and SFTP support to the FTP action [#3]
  • Change to semantic-style versioning (Perl doesn't support the full spec, but we don't really need those features)
  • Constants overhaul [ #25 ]
  • Filter options refresh and refactor [#88]

Update Issue..

Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): Error getting files listing: Error: Could not connect: (111) Connection refused
Command failed: Error: Could not connect: (111) Connection refused

In rutorrent Log. Update URL must have changed.

Add support for tracker TDS / The Dark Syndicate / thedarksyndicate.me

Hi,

Would it be possible to add support for tracker TDS / The Dark Syndicate / thedarksyndicate.me to autodl-irrsi?

I have already done this manually, so I can I provide you the .tracker file I have created for validation and eventual improve and posterior inclusion on the default list of supported trackers.

Please let me know how I can do this and how we can proceed.

Thanks,
Hax.

[Discussion] Debug Levels

Would love to see the debug levels documented somewhere. To the best of my knowledge (and Google's) it isn't documented anywhere. I know 5 is pretty much everything. I think 4 is matches only. Or maybe that is 3.

Anyway, I was hoping someone might know so that we can document it to better help people with troubleshooting.

Change tracker file for Torrent-Damage / TD / www.torrent-damage.net

Hi,

As you might know Torrent-Damage / TD / www.torrent-damage.net has gone through a major revamp on the past months and so autodl-irssi support needs to be changed.

Someone from the community already prepared a new tracker file for autodl-irssi and it appers to be working ok; you may find the changed code under the following link:

http://pastebin.com/9Qtmik28

Please feel free to commit this change to the main code. Thanks!

Cheers,
Hax.

Add DIGEST::SHA compat

Some new distro releases are using this over the older DIGEST::SHA1 which has not seen development in years. This module is only used for the $(InfoHash) macro, but compat should be rather trivial to add.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.