-
Notifications
You must be signed in to change notification settings - Fork 23
Home
This is a fork of the original ruTorrent plugin for autodl-irssi with the goal to keep up with the needs of the community.
The ruTorrent plugin has the following PHP dependencies:
- json
- sockets
- xml
You can test for the presence of those modules by executing the following command. If you get no output then they're installed:
for module in json xml sockets; do php -m|grep -wq $module || echo "Missing module: $module"; done
Use your package manager to install them unless they're already installed. You may need to edit your php.ini file by adding this:
extension=sockets.so
extension=json.so
extension=xml.so
Don't forget to restart your web server if you make any changes to php.ini.
Navigate to the ruTorrent plugin directory. If using the official version of the ruTorrent plugin, remove the autodl-irssi directory found there.
sudo git clone https://github.com/autodl-community/autodl-rutorrent.git autodl-irssi
-- or --
Download and unzip a [release archive](https://github.com/autodl-community/autodl-rutorrent/releases).
-- then --
sudo chown -R www-data:www-data autodl-irssi
This install assumes ruTorrent is not password protected. For password protected (i.e., multi-user) setup, you need to copy conf.php to the user plugins directory and not to the plugin directory. Eg. you need to copy it to a path similar to /var/www/rutorrent/conf/users/YOUR-USER-NAME/plugins/autodl-irssi.
For users without root access that can customize ruTorrent (some shared seedboxes), navigate to your ruTorrent plugin directory.
git clone https://github.com/autodl-community/autodl-rutorrent.git autodl-irssi
-- or --
Download and unzip a [release archive](https://github.com/autodl-community/autodl-rutorrent/releases).
Now edit conf.php to include your gui-server port and password from config. It should look similar to:
<?php
$autodlPort = 12345;
$autodlPassword = "secretpass";
?>