Giter Club home page Giter Club logo

qbittorrent-notify's Introduction

qBittorrent notify

GitHub Workflow Status Docker Pulls Docker Image Version (latest by semver) Docker Image Size (latest by date)

qBittorrent notify when torrents complete

Only run on qBittorrent v4.1+

Usage

Binary

go build
./qbittorrent-notify -botToken=your_token -chatID=your_chat_id -qbHost=your_qb_host -qbUsername=your_qb_username -qbPassword=your_qb_password

Docker

docker run -d --restart=always \
    -e BOT_TOKEN=your_token \
    -e CHAT_ID=your_chat_id \
    -e QBITTORRENT_HOST=your_qb_host \
    -e QBITTORRENT_USERNAME=your_qb_username \
    -e QBITTORRENT_PASSWORD=your_qb_password \
    adevjoe/qbittorrent-notify:latest

Docker compose

Download docker-compose.yaml file, and run with docker-compose in same dir.

docker-compose up -d

Telegram Bot

How can i get telegram bot chat id?

Follow this link

qbittorrent-notify's People

Contributors

adevjoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

yrmuq

qbittorrent-notify's Issues

status code 405

Tag and notification not working on qbittorrent 4.5.0 on docker (raspberry pi4, bullseye x64).

err, torrents/addTags request fail, status code: 405
kép_2022-12-05_175258923

first path segment in URL cannot contain colon

logs:

2021/03/27 15:20:53 parse "192.168.0.10:32769/api/v2/torrents/info?": first path segment in URL cannot contain colon

how i started container:

docker run -d --restart=always --name adevjoe-qbittorrent-notify \
    -e BOT_TOKEN='9999999999:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' \
    -e CHAT_ID='-349099999' \
    -e QBITTORRENT_HOST='192.168.0.10:32769' \
    -e QBITTORRENT_USERNAME='olvier' \
    -e QBITTORRENT_PASSWORD='passwordwithlettersandnumbers' \
    adevjoe/qbittorrent-notify:latest

sends last 5 messages again and again

As mentioned in topic, it sends the last 5 notifications again and again.

On first start, it floods the channel/group with ALL ended torrents.
In my case Some.Linux.Torrent.Bigger.1000

Made many stops because of "Too Many Requests: retry after ...",
but finishes with endless loop like this:

# created new group and new container ;)
2021/03/27 18:22:16 Authorized on account thisismyindividual_bot,
2021/03/27 18:22:16 login success,
2021/03/27 18:23:05 notify Some.Linux.Torrent.1 err, Too Many Requests: retry after 12,
2021/03/27 18:23:05 notify Some.Linux.Torrent.2 err, Too Many Requests: retry after 12,
2021/03/27 18:23:06 notify Some.Linux.Torrent.1 err, Too Many Requests: retry after 12,
2021/03/27 18:23:06 notify Some.Linux.Torrent.3 err, Too Many Requests: retry after 11,
2021/03/27 18:23:06 notify Some.Linux.Torrent.3 err, Too Many Requests: retry after 11,
2021/03/27 18:24:05 notify Some.Linux.Torrent.1 err, Too Many Requests: retry after 12,
2021/03/27 18:24:06 notify Some.Linux.Torrent.2 err, Too Many Requests: retry after 12,
2021/03/27 18:24:06 notify Some.Linux.Torrent.1 err, Too Many Requests: retry after 11,
2021/03/27 18:24:06 notify Some.Linux.Torrent.3 err, Too Many Requests: retry after 11,
2021/03/27 18:24:06 notify Some.Linux.Torrent.3 err, Too Many Requests: retry after 11,

I'm on qbittorrent 4.3.4.1

But I have to correct myself... Meanwhile there was finished Some.Linux.Torrent.4,
but it still sends above mentioned 1-3.

Any idea why?

PS: getting groupID is so easy with: IDBot

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.