likillo.blogg.se

Deluge torrent labels
Deluge torrent labels










  1. DELUGE TORRENT LABELS MANUAL
  2. DELUGE TORRENT LABELS DOWNLOAD

If you use the above script, make sure the user that runs deluged has the required permissions to execute the script and to write to the log (if so desired).

DELUGE TORRENT LABELS DOWNLOAD

The sleep 5 command is there just to avoid any issues with the script running before or whilst LabelPlus is changing the download directory to where the pre-existing data is.

deluge torrent labels

When you enable the Execute plugin, you must restart the Deluge daemon! Sleep 5 #sleep so that LabelPlus can do it's stuffĭeluge-console "recheck ]"Įcho "$DATE Rechecked: " "$torrentname " "$torrentid " "$torrentpath" > /home/deluge/media/execute_script.logĭeluge-console "resume ]"Įcho "$DATE Unchecked: " "$torrentname " "$torrentid " "$torrentpath" > /home/deluge/media/execute_script.log Meanwhile the script triggered by the Execute plugin is runnning. So YaRSS2 adds the torrent in a paused state, and then the LabelPlus plugin labels it and sets the torrent's download directory. Deluge's built-in "Execute" plugin, I installed the "deluge-console" package to enable me to issue commands to Deluge via the shell / console, and the last piece of the puzzle was a script I've written.ĭeluge is set globally to add torrents in an un-paused state but I've set the YaRSS2 feed to add the torrents in question in a paused state. I've answered my own question using three elements.

deluge torrent labels

DELUGE TORRENT LABELS MANUAL

To make matters worse, because a recheck is not performed, the new version of the torrent starts overwriting existing files, meaning that a manual recheck will fail. Then when the torrent is moved by LaabelPlus, a recheck is not triggered. So what's causing me issues with my current setup is that when a new torrent is added by YaRRS2, it is added to the default download directory. the problem is that with my setup, the torrents in question are added automatically via the YaRSS2 plugin and then they are labelled, moved and have their download directory set by the LabelPlus plugin, which enables me to set per-event labels and download directories (/genre/year/event/name_of_event). I've just been playing around with adding and rechecking torrents and I've found out that when I manually add a torrent to the specific path of the existing download, it automatically rechecks. Is there any way I can get Deluge to recheck certain torrents either match a certain naming scheme or have a specific LabelPlus label, when a new torrent is added? Or is a bash script an option / better solution? When new versions of the torrent are added for download, it re-downloads the existing files (which is undesirable as I use a CoW filesystem, and it wastes bandwidth) but if I manually force a recheck of the newly added torrent, Deluge detects the existing files and when the new download resumes (See EDIT), it only downloads the data that is new or missing. When a new version of the torrent is released, it contains.

deluge torrent labels

The first version of the torrent might contain files called. When the torrent is updated / when a new version of the torrent is released, it uses the exact same name as the previous versions of the torrent, contains all the same files as the previous version(s) of the torrent and I download the torrent to the same directory as the previous versions of the torrent. I download torrents that are updated periodically.












Deluge torrent labels