rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.05k stars 412 forks source link

Different order for unpack #1128

Open GiovanniK opened 2 years ago

GiovanniK commented 2 years ago

Is it possible to execute unpack first, before the Torrent is marked as finished? Currently it fires at the same time or maybe even after the torrent is finished.

This causes my import to fail because the file is not extracted fully, but is already detected (Sonarr/Radarr).

kannibalox commented 2 years ago

The available event hooks are listed here: https://rtorrent-docs.readthedocs.io/en/latest/cmd-ref.html#event-commands. If you need a method to be called outside of those events, it needs to be scheduled or called manually.