Code Monkey home page Code Monkey logo

rille111 / opensource.utorrent.extensions Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 1.81 MB

Post processing of Torrents can never be easier. This is a tool that copies & unpacks finished torrents, restarting torrents that stopped due to errors, and it deletes torrents when they're unpacked and seeding goal finishes. It keeps tracks of torrents using the label, so DONT USE labels for anything else or it wont work.

C# 100.00%
torrents torrent-management ugly-code

opensource.utorrent.extensions's Introduction

Rille.uTorrent.Extensions

Post processing to uTorrent/Bittorrent

The code is not elegant, since this is a hobby project that took too much time I just need to finish functionality and therefore code quality is suboptimal. But, the code is free for you to refactor. :) .

What it does

Post processing of Torrents can never be easier. This is a tool that copies & unpacks finished torrents, restarting torrents that stopped due to errors, and it deletes torrents when they're unpacked and seeding goal finishes. It keeps tracks of torrents using the label, so DONT USE labels for anything else or it wont work.

Use at your own risk.

Features

  • Restart torrents in Error status (example, when a NAS reboots you get a lot of errors)
  • Copies non-archives and unpacks archives to a specified folder
  • Supports only 7zip for now
  • You can have different seeding goals set on different trackers (regex will match trackers)
  • Behaviour is configured in the config.json file. You MUST edit this file!
  • Output log to trace errors (c:\log) by default, can be changed in App.config (not config.json!)
  • One exe that has no console (*Hidden.exe) and one for a visible console. Your choice!
  • If you only want to process a folder (not using Bittorrent) you can do this by changing the operating mode (Untested in this version! Dangerous!)
  • Process either one torrent using an argument (torrent hash) or process all by not providing any argument

Installation & Usage

  • Unzip \releases\xxxx.zip to some folder
  • Configure BitTorrent/Utorrent:
    • Preferences - Advanced - Web UI: Enable it, set login & pass, set port
    • Prererences - Advanced - Filter on "token" set 'auth' to false and 'auth_filter' to 0 (otherwise integration will fail)
  • Edit config.json and update all settings to what you want
  • Clear all labels for all torrents (this program relies on it!)
  • Call the chosen .exe file manually or
  • Call the chosen .exe file in BitTorrent/UTorrent whenever a torrent changes state (might clog the calling of the file), see below
  • Call the chosen .exe every 10 minute, by creating a Task in Task Schedule (use the exported .xml, edit it first) to loop through all torrents

Call from BitTorrent whenever one torrent changes state

You can call the executables and pass in a torrent hash as an argument in order to tell the program to only process one torrent instead of the whole list. This is suitable for the BitTorrent client to do, whereas a Task will loop through all torrents.

  • Preferences - Advanced - Run a program
    • Run this program when a torrent changes state, write this:
    • C:\Programs\Rille.uTorrent.Extensions\Rille.uTorrent.Extensions.PostProcess.Hidden.exe "%I"

Future & TODO

  • I'm using it so I'll be updating it when need be. For example the torrent-change-state calling is spamming.
  • There may be bugs but it works for me, feel free to report or merge request :-)

opensource.utorrent.extensions's People

Contributors

rille111 avatar

Watchers

 avatar  avatar

Forkers

dterracino

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.