Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qbittorrent trigger #1044

Open
mzramna opened this issue Jul 9, 2024 · 2 comments
Open

qbittorrent trigger #1044

mzramna opened this issue Jul 9, 2024 · 2 comments

Comments

@mzramna
Copy link

mzramna commented Jul 9, 2024

Please put plugin requests/bugs at: https://github.com/HaveAGitGat/Tdarr_Plugins

Describe the solution you'd like
there is any way to only convert a file after qbittorrent ends the seeding process?

Describe alternatives you've considered
could exist a webhook trigger to monitor if the qbittorrent already completed the file seeding and only after convert the file format and overwrite/delete the orignal file

@nichols89ben
Copy link

Please put plugin requests/bugs at: https://github.com/HaveAGitGat/Tdarr_Plugins

Describe the solution you'd like there is any way to only convert a file after qbittorrent ends the seeding process?

Describe alternatives you've considered could exist a webhook trigger to monitor if the qbittorrent already completed the file seeding and only after convert the file format and overwrite/delete the orignal file

I dont think there are any connections between tdarr and qbittorrent. I would look into qbit_manage and mess around with category changes and have it change categories when seeding is complete, it would move it to a directory tdarr watches and process.
https://github.com/StuffAnThings/qbit_manage

@HaveAGitGat
Copy link
Owner

You could hold the files for a really long time in Tdarr and then add a qbitorrent trigger to run something like the following to unhold the file in Tdarr

qbittorrent/qBittorrent#9177 (comment)

curl -X POST http://localhost:8266/api/v2/cruddb \
-H "Content-Type: application/json" \
-d '{
    "collection": "FileJSONDB",
    "mode": "update",
    "docID": "C:/files/VP8.mkv",
    "obj": {
        "HealthCheck": "Queued",
        "TranscodeDecisionMaker": "Queued",
        "holdUntil": 0
    }
}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants