|
PluginAutodlirssi
Plugin Autodl-Irssi
DescriptionPlugin for rutorrent which uses irssi to monitor IRC announce channels and download torrents based on user defined filters. 3rd party download sitehttp://sourceforge.net/projects/autodl-irssi/ InstallationNote There is a script now designed to make installation a much more simple processes. Install script Method
cd wget --no-check-certificate -O autodl-setup http://sourceforge.net/projects/autodl-irssi/files/autodl-setup/download sudo sh autodl-setup
Become root: su - Then: wget --no-check-certificate -O autodl-setup http://sourceforge.net/projects/autodl-irssi/files/autodl-setup/download sh autodl-setup Manual Install (old method)This plugin depends on irssi and several perl modules. Check your distribution for info on installing irssi This method works, but be sure to check http://sourceforge.net/projects/autodl-irssi/files/ for the latest version and modify these instructions accordingly. Perl modulesDebian/Ubuntu apt-get -y install libarchive-zip-perl libnet-ssleay-perl libhtml-parser-perl libxml-libxml-perl libdigest-sha1-perl libjson-perl libjson-xs-perl libxml-libxslt-perl Fedora/Centos yum -y install perl-Archive-Zip perl-Net-SSLeay perl-HTML-Parser perl-XML-LibXML perl-Digest-SHA1 perl-JSON perl-JSON-XS perl-XML-LibXSLT OpenSUSE yast -i perl-Archive-Zip perl-Net-SSLeay perl-HTML-Parser perl-XML-LibXML perl-Digest-SHA1 perl-XML-LibXSLT # This may fail, so you may need to add a 3rd-party repo to install them or use the cpan utility. yast -i perl-JSON perl-JSON-XS PCLinuxOS apt-get -y install perl-Archive-Zip perl-HTML-Parser perl-XML-LibXML perl-Digest-SHA1 use cpan: perl-Net-SSLeay perl-JSON perl-JSON-XS perl-XML-LibXSLT Mandriva urpmi perl-Archive-Zip perl-Net-SSLeay perl-HTML-Parser perl-XML-LibXML perl-Digest-SHA1 perl-JSON perl-JSON-XS perl-XML-LibXSLT Arch Linux pacman -S perl-archive-zip perl-net-ssleay perl-html-parser perl-xml-libxml perl-digest-sha1 perl-json perl-json-xs perl-xml-libxslt Gentoo emerge dev-perl/Archive-Zip emerge dev-perl/Net-SSLeay emerge dev-perl/HTML-Parser emerge dev-perl/libxml-perl emerge dev-perl/Digest-SHA1 emerge dev-perl/JSON emerge dev-perl/JSON-XS emerge dev-perl/XML-LibXSLT Note: On Gentoo, if any packages are masked, use ACCEPT_KEYWORDS to fix the issue...for instance, when i installed these packages, JSON and JSON-XS wouldn't install unless i used the following ACCEPT_KEYWORDS="~amd64" emerge dev-perl/JSON ACCEPT_KEYWORDS="~amd64" emerge dev-perl/JSON-XS Also, keep in mind that the keywords will be different based on your cpu architecture FreeBSD pkg_add -r p5-Archive-Zip p5-Net-SSLeay p5-HTML-Parser p5-XML-LibXML p5-Digest-SHA1 p5-JSON p5-JSON-XS p5-XML-LibXSLT Note on FreeBSD, you may need to install the following php packages as well:
Other os/Generic method via CPAN cpan Archive::Zip Net::SSLeay HTML::Entities XML::LibXML Digest::SHA1 JSON JSON::XS XML::LibXSLT Installing autodl-irssiFor the rtorrent plugin to work, you need to install the irssi script. After installing the perl dependencies, login as your rtorrent user and do the following: mkdir -p ~/.irssi/scripts/autorun cd ~/.irssi/scripts wget https://sourceforge.net/projects/autodl-irssi/files/autodl-irssi-v1.10.zip unzip -o autodl-irssi-v*.zip rm autodl-irssi-v*.zip cp autodl-irssi.pl autorun/ mkdir -p ~/.autodl touch ~/.autodl/autodl.cfg (or to install via svn) mkdir -p ~/.irssi/ cd ~/.irssi/ svn export https://autodl-irssi.svn.sourceforge.net/svnroot/autodl-irssi/trunk/src scripts mkdir scripts/autorun/ cp scripts/autodl-irssi.pl scripts/autorun/ mkdir -p ~/.autodl touch ~/.autodl/autodl.cfg Install the rutorrent pluginInstalling the autodl-irssi-rutorrent plugin is like installing any other plugin Assuming rutorrent is intalled at /var/www/ issue the following commands: cd /var/www/rutorrent/plugins sudo svn co https://autodl-irssi.svn.sourceforge.net/svnroot/autodl-irssi/trunk/rutorrent/autodl-irssi sudo cp autodl-irssi/_conf.php autodl-irssi/conf.php sudo chown -R www-data:www-data autodl-irssi Edit the conf.php file, adding a port and password. assuming port 12345 and password as the password it would look like the following: <?php $autodlPort = 12345; $autodlPassword = "password"; ?> Note: As of version 1.10 the gui-server settings can be kept in a separate file in order to keep users who do not have shell access from altering the settings. if you wish to use this option, save the gui-server options in ~/.autodl/autodl2.cfg otherwise, edit the ~/.autodl/autodl.cfg in the rtorrent user's home directory adding the port/password: [options] gui-server-port = 12345 gui-server-password = password It's possible to disable exec otions, or limit them to watch directories, or ftp, or any combination. Create /etc/autodl.cfg and add this: [options] allowed = watchdir This will limit users to the "save to watch directory" option. Other options you can add to the "allowed" line (separated by a comma are:
like so: [options] allowed = watchdir, ftp Usageautodl-irssi adds the following menu item to the top bar:
Clicking on this icon brings up the following menu:
FiltersUnder this section you can add and edit your filters. The main filter menu looks like this: This is all really self explanatory but as you can see, the first tab has the following items: General
TV/Movies
Music
Advanced
Upload Method
Announce ChannelsThis is just a gui display of the servers and their announce channels. Nothin can be edited here.
TrackersThis tab is for setting tracker specific settings. Follow the on screen instructions for each tracker you wish to use. This mostly includes saving passkey info and/or cookies. This is needed in order to actually fetch the torrents.
IRC ServersNote: This is only available in the svn version at the time of writing this wiki This is a gui menu which allows you to display and configure the IRC servers you wish to connect to. Left hand side display window and buttons
In this area you can view IRC servers already configured, add new servers or remove servers. You can also disable servers by using the check boxes to the left of each entry. IRC Server Section
Note: - If you haven't registered your nick, autodl-irssi will attempt to register it using the settings here IRC Channel Section
In this section you can set up the channels you wish autodl-irssi to join and monitor.
PreferencesThis is where you set the general plugin preferences. General
Upload Method
WebuiThese are the settings for the uTorrent web uploader mentioned earlier. I'm going to bet you won't be needing these for rutorrent.
FTPThese are the settings for the FTP uploader, mentioned earlier.
ProgramsPath to utorrent.exe (doubtful we'll be needing this either)
AdvancedAdvanced settings. Probably shouldn't change anything here unless the author tells you to or you know what you are doing.
SourcesThis information is from the following pages and forum posts: http://forums.rutorrent.org/index.php?topic=517.0 http://sourceforge.net/apps/phpbb/autodl-irssi/viewtopic.php?f=1&t=3 | |
