traktarr
traktarr copied to clipboard
Traktarr doesn;t appear to work with Sonarr v4
Describe the bug Since i upgraded to Sonarr v4, traktarr hasn;t been able to add any shows into sonarr.
To Reproduce (venv) traktarr@catwoman:~$ ./traktarr.py shows -t anticipated
__ /________ | | / |___ ______________
| | _ __ __ \ | |/ /\ _ \ __ _ __
| | | | // __ | < | | / __ | | /| | /
|| |__| ( /|_ \ || (____ /| ||
/ / /
#########################################################################
Author: l3uddz
URL: https://github.com/l3uddz/traktarr
--
Part of the Cloudbox project: https://cloudbox.works
#########################################################################
GNU General Public License v3.0
#########################################################################
2022-12-21 16:00:17,718 - INFO - Traktarr - validate_trakt - Validating Trakt API Key... 2022-12-21 16:00:17,823 - INFO - Traktarr - validate_trakt - ...Validated Trakt API Key. 2022-12-21 16:00:17,826 - INFO - Traktarr - validate_pvr - Validated Sonarr URL & API Key. 2022-12-21 16:00:17,830 - INFO - Traktarr - get_quality_profile_id - Retrieved Quality Profile ID for 'TV-Ombi': 7 2022-12-21 16:00:17,836 - ERROR - Traktarr - get_language_profile_id - No Language Profile ID for: English 2022-12-21 16:00:17,838 - ERROR - media.sonarr - get_tags - Failed to retrieve all tags, request response: 404 2022-12-21 16:00:17,838 - WARNING - helpers.misc - backoff_handler - Backing off 0.8 seconds afters 1 tries calling function <function Sonarr.get_tags at 0x7f0b443d7040> with args (<media.sonarr.Sonarr object at 0x7f0b443fae80>,) and kwargs {} 2022-12-21 16:00:18,596 - ERROR - media.sonarr - get_tags - Failed to retrieve all tags, request response: 404 2022-12-21 16:00:18,596 - WARNING - helpers.misc - backoff_handler - Backing off 1.8 seconds afters 2 tries calling function <function Sonarr.get_tags at 0x7f0b443d7040> with args (<media.sonarr.Sonarr object at 0x7f0b443fae80>,) and kwargs {} 2022-12-21 16:00:20,392 - ERROR - media.sonarr - get_tags - Failed to retrieve all tags, request response: 404 2022-12-21 16:00:20,393 - WARNING - helpers.misc - backoff_handler - Backing off 0.6 seconds afters 3 tries calling function <function Sonarr.get_tags at 0x7f0b443d7040> with args (<media.sonarr.Sonarr object at 0x7f0b443fae80>,) and kwargs {} 2022-12-21 16:00:21,009 - ERROR - media.sonarr - get_tags - Failed to retrieve all tags, request response: 404 2022-12-21 16:00:21,009 - ERROR - backoff - _log_giveup - Giving up get_tags(...) after 4 tries (None) 2022-12-21 16:00:21,009 - ERROR - Traktarr - get_profile_tags - Aborting due to failure to retrieve Tag IDs
System Information
- Traktarr Version: 1.2.5
- Operating System: Ubuntu Server 22.04 LTS
Additional context
I see its been a while since traktarr has had any updates, has it been abandoned?
Hello, Thats because you need to change the API call.
Here is the API call you need to change:
config file : /opt/traktarr/media/pvr.py line 75 change api/profile to api/v3/qualityprofile
config file : /opt/traktarr/media/radarr.py line 12 and 41 change Api/movie to Api/v3/movie
config file : /opt/traktarr/media/radarr.py Line 15 change /api/exclusions to /api/v3/exclusions
Then if you have the service installed, you will have to reload the deamon
if the lines are not the same you can still use the command below to find the file and line with the specific API call: grep -rnw "PathToTraktarr" -e "api/profile"
You have to change the sonarr.py /api/tag and /api/series to /api/v3/xxx