Drapersniper / Qbitrr

A simple Python script to talk to Qbit and Arr's
MIT License
26 stars 4 forks source link

Radarr balcklisting #5

Closed Skyline404 closed 2 years ago

Skyline404 commented 2 years ago

Strange things happens: when script detecting stalled downloads for sonarr it blacklisting them successfully, but for radarr only deletes from qbt and not blacklisting.

Drapersniper commented 2 years ago

What version or radar and sonarr are you currently using ?

Skyline404 commented 2 years ago

Radarr: 3.2.2.5080 Sonarr: 3.0.6.1342

Drapersniper commented 2 years ago

I just pushed an update that should fix several issues - not you will need to wipe the qBitrr databases found in ~/config/qBitManager as there have been changes to the database structure and a full migration is an overkill.

I suspect this issue will be fixed by the new changes - just wanted to confirm you were running radar v3 which you are.

Skyline404 commented 2 years ago

Updated to latest commit, removed radarr database, but still not blacklisting

Drapersniper commented 2 years ago

Not entirely sure then, try to enable trace logging to see what's happening. It's definitively working for me and I'm using the latest radarr release (develop branch)

Drapersniper commented 2 years ago

Actually I have an idea what may be the issue, the develop branch changed the parameter name from blacklist to blocklist, the script uses blocklist when making the DEL call. I believe your version still expects blacklist.

Although I thought the same should happen with sonarr if this was the case - if you turn on trace logging and you get a debug line saying "blocklisting ...." then my suspicion is true.

Drapersniper commented 2 years ago

I just pushed an update, no need to delete the databases for it, but it should work - I just tested it and it didn't have any issues and everything was processed correctly.

Skyline404 commented 2 years ago

Yes, now works perfectly, thx a lot! You have a great tool which one very hard to find, i think you should promote it somewhere on reddit maybe?