Coder Social home page Coder Social logo

qbtmanager's People

Contributors

webreaper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

tailslide

qbtmanager's Issues

Option to delete files

On top of the deleteTasks option, have a deleteFiles option to remove all files upon task deletion. Maybe have this as a per tracker option for higher specificity? Otherwise just simply as a server-wide setting.

Request: Add option to bypass SSL Certificate Verification

Hi Mark,

I'm attempting to use this on a Qbt instance running under SSL using a self-signed certificate in order to register the Web UI as a handler for magnet links. This works fine for my purposes as this is just running on the local network.

When attempting to use the application however I get the following error:

Exception! The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.

It would be useful to add the option to bypass this check.

Platform: Windows 10.
Release: 1.1

[Bug] Keeping when it should delete

{
  "logLocation": "./dscleanup.log",
  "deleteTasks": false,
  "deleteFiles": false,
  "qbt": {
    "username": "asdf",
    "password": "secure",
    "url": "http://192.168.x.x:1234/api/v2"
  },
  "trackers": [
    {
      "tracker":"aprivate.tracker",
      "maxDaysToKeep" : 11365,
      "up_limit" : -1,
      "deleteMessages" : [
        "unregistered torrent"
      ] 
    },   
    {
      "tracker":"*",
      "maxDaysToKeep" : 0,
      "up_limit" : 30
    }      
  ]
}

[09:50:05.021--INF] Task publicTrackerFile.rar deleted - too old
[09:50:05.022--INF] - Delete: * publicTrackerFile.rar (pausedUP, 6 days)
[09:50:05.022--INF] - Keep: * samepublicTrackerFile.rar (uploading, 34.97 seconds)
[09:50:05.036--INF] Pausing 68 tasks...

I've found this program super useful so far. For some reason, it's deciding to keep a file that finished downloading though, even though it should be covered by the "*" tracker list. It's already paused all the other torrents from that tracker(since i don't actually have deleting enabled just yet"). However, despite this most recent one looking the same to me, it won't stop it.

I run the qbtmanager.exe as an external program on torrent completion. But even when I manually run, the logs show that it's uploading and marked as a Keep. How can I get a torrent that is finished downloading to stop if it's from my tracker: "*" list?

I'm on QBT 4.2.5 by the way. What version is supported?

max_seeding_time AND max_ratio - max_seeding_time OR max_ratio ?

Hello!
This is a question about how the script is designed to work.
If i set a 'max_seeding_time' and a 'max_ratio' for a tracker - will the stop/delete action be applied as soon as one of those criteria is reached or do both of them need to hit to get the job done?

I was searching for a solution where both settings ratio AND time are mached.

Feature to limit total seeded size per tracker

Hello,

Seems like this isn’t yet supported. To keep some amount of free space and vary total seeded size per tracker, I’d like to auto delete torrents above some ratio. Thus if for example I have a limit of 1 TB, torrents above some ratio or seeded time would be deleted to keep under size limit.

Error Initialising...

On Linux Mint 19.2..

Since 1.2, setting deleteFiles to either true or false and not setting email or rssfeeds, as not needed for me, I get the following error on execution:

[21:14:24.604--INF] Getting Seeding Task list and mapping trackers...
[21:14:24.953--INF] Processing torrent list...
[21:14:24.968--INF] Error initialising. System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.Contains[TSource](IEnumerable1 source, TSource value, IEqualityComparer1 comparer)
at QbtManager.MainClass.<>c__DisplayClass4_0.b__0(Tracker x)
at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
at QbtManager.MainClass.ProcessTorrents(qbtService service, IList`1 tasks, Settings settings)
at QbtManager.MainClass.Main(String[] args)

Qbittorrent 4.4.5 API issue?

After installing QBT4.4.5 I started seeing this in my logs:

[04:00:06.520--INF] === QbtCleanup Log Started ===
[04:00:07.018--INF] LogLevel: "Information"
[04:00:07.837--INF] Filtered torrents will be deleted with their content.
[04:00:07.837--INF] Signing in to QBittorrent.
[04:00:07.857--INF] No password specified - assuming local auth is disabled in QBT
[04:00:08.885--INF] Exception! The remote server returned an error: (405) Method Not Allowed.
[04:00:08.886--INF] Login failed.

If I test the API through python it's working properly. Anyone else having this issue?

logLocation option in Settings.json is ignored

Regardless of the option t makes a log file in the format of QbtManager-yyyymmdd.log
Also there is no way to disable logging. Running every 5 minutes on a qbittorrent instance with 5k torrents produces huge log files that should really not be there at all unless troubleshooting.

Request: Filter items and apply settings per filter

This is useful if you use RSS to download different TV-Shows. You could filter a RSS url for specific items, and then apply a different download destination path for all of them. Example:

filter: The.100*
path: /path/to/tv-show

Auth not working on Linux

Using Fedora 36 with 4.4.4. Auth not working no matter what, requiring to leave access from the localhost open which is a BIG security hole. It also prevents remote usage eg from outside a container.

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.