This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
autodl irssi automatic re uploading
ryelogheat edited this page Apr 29, 2021
·
1 revision
-
autodl (you need to have at least one trackers irc server configured)
-
rtorrent (need access to rtorrent.rc & permissions to edit it)
-
rtorrent_on_complete_reupload.sh (rtorrent triggers this .sh script which in turn triggers auto_upload.py)
- Other auto upload bots exist & the search_for_dupes.py script needs to be heavily improved so the possibility of uploading dupes is real
- Follow all site rules & consider only uploading to BHD drafts until you are comfortable with the scripts reliability/dupe checking
- If you have the system package
unrar
installed & its available at/usr/bin/unrar
we can auto extract from rar archives when uploading- This can be used in "Manual mode" if rar files are detected in a folder you are trying to upload
- Its original purpose though was to extract new Scene releases when being used with this autodl-irssi re-upload
- Currently pretty early in the automatic re-uploading script development so be aware it might break at any time & the design of the automatic re-uploading function will likely change heavily in the near future
-
Set the filters
Action
tortorrent
-
An IMDB ID must be provided (as a label) for each filter
- This means you need to have a specific TV Show or Movie in mind for each filter
-
Under the
Action
tab you need to specify which tracker(s) you want to upload to- In the
Commands
input box paste the following line (Replace ABC_XYZ with the actual trackers you want to upload to) d.custom.set=upload_to_tracker,ABC_XYZ
-
ABC_XYZ
can be replaced with any of the trackers that are currently supported e.g.BHD, BLU, R4E, etc
- If uploading to multiple sites, separate each one with an underscore
- In the
-
The actual matching of releases is left up to you, just keep in mind that each filter needs to be tied to a unique IMDB ID
- Locate your
rtorrent.rc
file & append the following linesmethod.insert = d.data_path, simple, "if=(d.is_multi_file), (cat,(d.directory),/), (cat,(d.directory),/,(d.name))"
- (Next line) Replace
/PATH/TO/rtorrent_on_complete_reupload.sh
with your actual path tortorrent_on_complete_reupload.sh
method.set_key = event.download.finished,complete,"execute=/PATH/TO/rtorrent_on_complete_reupload.sh,$d.name=,$d.data_path=,$d.custom1=,$d.custom=upload_to_tracker"
- save, exit, and restart rtorrent
- Locate & make this file executable
chmod +x rtorrent_on_complete_reupload.sh
- Open this file, then make the following changes
- set
log_location_for_autodl_matches
to a specific .log file you want logs written to - set
location_of_auto_upload_py
to the full path toauto_upload.py
- set
- If you are using rtorrent in Docker!
- Verify that you can actually access the location of
auto_upload.py
from your container - Whatever that path is ^^ set that for
location_of_auto_upload_py
- Verify that you can actually access the location of
(Fill in later)