Triggering Searches¶
Nemorosa can immediately search for cross-seeds when torrents finish downloading by adding an on-completion script to your torrent client (or the Sonarr/Radarr import script) that calls Nemorosa's HTTP API.
Overview¶
By configuring the client, you can automatically send webhooks to nemorosa when downloads complete, providing immediate cross-seeding without waiting for scheduled jobs.
Setting Up Your Torrent Client¶
Transmission¶
-
Create
transmission-nemorosa.sh, replacing<BASE_URL>and<API_KEY>with the correct values: -
Make it executable:
-
In Settings > Transfers > Management, select the script in the "Call script when download completes" menu item.
qBittorrent¶
- Go to Tools > Options > Downloads.
- Enable Run external program on torrent completion, replacing
<BASE_URL>and<API_KEY>with the correct values:
Deluge¶
-
Create a file called
deluge-nemorosa.sh, replacing<BASE_URL>and<API_KEY>with the correct values: -
Make the script executable:
-
In Deluge:
- Enable the Execute plugin
- Under Add Command, select the event Torrent Complete and input:
/path/to/deluge-nemorosa.sh- Press Add and Apply - Restart your Deluge client/daemon
rTorrent¶
-
Create a script named
rtorrent-nemorosa.sh, replacing<BASE_URL>and<API_KEY>with the correct values: -
Make it executable:
-
Add to
.rtorrent.rc:echo 'method.insert=d.data_path,simple,"if=(d.is_multi_file),(cat,(d.directory),/),(cat,(d.directory),/,(d.name))"' >> ~/.rtorrent.rc echo 'method.set_key=event.download.finished,nemorosa,"execute={/full/path/to/rtorrent-nemorosa.sh,$d.name=,$d.hash=,$d.data_path=}"' >> ~/.rtorrent.rcNote: Replace
/full/path/to/rtorrent-nemorosa.shwith the absolute path to your script. -
Restart rTorrent