{"id":17048229,"url":"https://github.com/fabricionaweb/qbit-toggle-speed","last_synced_at":"2025-09-07T14:42:42.339Z","repository":{"id":77567957,"uuid":"534833117","full_name":"fabricionaweb/qbit-toggle-speed","owner":"fabricionaweb","description":"Small script without dependencies to toggle the speed mode just by using qBitTorrent web api","archived":false,"fork":false,"pushed_at":"2025-01-12T16:27:17.000Z","size":3,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-26T09:56:17.947Z","etag":null,"topics":["bash","python","qbittorrent","tautulli"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabricionaweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-09T23:12:35.000Z","updated_at":"2025-05-06T21:11:35.000Z","dependencies_parsed_at":"2025-04-30T15:49:02.475Z","dependency_job_id":"6639189d-0e0b-45be-bdf6-21b1b277a5e6","html_url":"https://github.com/fabricionaweb/qbit-toggle-speed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fabricionaweb/qbit-toggle-speed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabricionaweb%2Fqbit-toggle-speed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabricionaweb%2Fqbit-toggle-speed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabricionaweb%2Fqbit-toggle-speed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabricionaweb%2Fqbit-toggle-speed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabricionaweb","download_url":"https://codeload.github.com/fabricionaweb/qbit-toggle-speed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabricionaweb%2Fqbit-toggle-speed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274050837,"owners_count":25213950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","python","qbittorrent","tautulli"],"created_at":"2024-10-14T09:51:24.637Z","updated_at":"2025-09-07T14:42:42.286Z","avatar_url":"https://github.com/fabricionaweb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What\n\nTwo versions for the same script to toggle the speed limits via [qBittorrent WebUI API](\u003chttps://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)\u003e).  \nPick just one.\n\n## How\n\nFirst you need to edit the script you choose and change the url and credentials (if you are not bypass them).  \nTo run both scripts you need to tell what you want to do:\n\n- bash `./qbit_toggle_speed.sh enable` and `./qbit_toggle_speed.sh disable`\n- python `python3 qbit_toggle_speed.py --action enable` and `python3 qbit_toggle_speed.py --action disable`\n\n## Tautulli setup\n\nUse Tautulli notifications agent to determine when to trigger them. This way you slow qbit when streaming.  \nYou need to have access to the script in the file system, it is easier to add it to your config folder.\n\n\u003e **Note**\n\u003e If you choose the bash version check user and permisions.\n\n1. Go to `Tautulli Settings \u003e Notification Agents` add click in `Add a new notification agent`\n1. Select `Script`\n1. Under `Script Folder` you select the folder that contain the script\n1. `Script File` you select the script\n1. Add a description like `play = enable speed limit` since we're gonna the stop version later\n1. Go to `Triggers`\n   - Pick `Playback Start`\n1. Go to `Conditions`:\n   1. Condition {1}\n      - --Parameter-- set to `Streams`\n      - --Operator-- set to `is`\n      - --Value-- set to `1`\n1. Go to `Arguments`\n   - Click in `Playback Start` and set the `Script Arguments`:\n     - If you're using the bash version, set to `enable`\n     - If you're using the python version, set to `--action enable`\n1. Save\n\nWe need to repeat it to create (or duplicate) another to **trigger when stop** stream to disable the speed limit.  \nThe reason we need two notifications is because we are using Tautulli conditions to match number of stream with the action.\n\n1. Add a description like `stop = disable speed limit`\n1. Go to `Triggers`\n   - Pick `Playback Stop` ⚠️\n1. Go to `Conditions`:\n   1. Condition {1}\n      - --Parameter-- set to `Streams`\n      - --Operator-- set to `is`\n      - --Value-- set to `0` ⚠️\n1. Go to `Arguments`\n   - Click in `Playback Stop` ⚠️ and set the `Script Arguments`:\n     - If you're using the bash version, set to `disable` ⚠️\n     - If you're using the python version, set to `--action disable` ⚠️\n1. Save\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabricionaweb%2Fqbit-toggle-speed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabricionaweb%2Fqbit-toggle-speed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabricionaweb%2Fqbit-toggle-speed/lists"}