Waterboy1602 / Addarr

Telegram Bot for adding series/movies to Sonarr/Radarr or for changing the download speed of Transmission/Sabnzbd
MIT License
229 stars 55 forks source link

Error at chosse Quality #149

Closed Antxis77 closed 8 months ago

Antxis77 commented 8 months ago

Hi,

I am contacting you because I am getting an error when selecting the quality of the film on Telegram.

I am attaching the written error and some configurations. The commands /allmovies and /allSeries are working.

Error :

2024-01-16 10:18:30,151 - addarr.radarr - INFO - http://192.168.1.95:7878/api/v3/movie/lookup?apikey=a1614895707843d785b8e9f6e4332bb3&term=la%20tresse No error handlers are registered, logging exception. Traceback (most recent call last): File "/home/plex/.local/lib/python3.10/site-packages/telegram/ext/_application.py", line 1234, in process_update await coroutine File "/home/plex/.local/lib/python3.10/site-packages/telegram/ext/_conversationhandler.py", line 857, in handle_update new_state: object = await handler.handle_update( File "/home/plex/.local/lib/python3.10/site-packages/telegram/ext/_basehandler.py", line 157, in handle_update return await self.callback(update, context) File "/opt/Addarr/src/addarr.py", line 684, in selectSeasons return await addSerieMovie(update, context) File "/opt/Addarr/src/addarr.py", line 817, in addSerieMovie service.createTag(str(update.effective_message.chat.id)) File "/opt/Addarr/src/radarr.py", line 147, in createTag "id": max([t["id"] for t in getTags()])+1, ValueError: max() arg is an empty sequence

Config :

Capture d'écran 2024-01-16 112305

Capture d'écran 2024-01-16 112352

Capture d'écran 2024-01-16 112530

Antxis77 commented 8 months ago

I fix problem addRequesterIdTag: true to false