trakt-scrobbler icon indicating copy to clipboard operation
trakt-scrobbler copied to clipboard

[BUG] Max retries exceeded with url

Open JourneyOver opened this issue 7 months ago • 3 comments

Describe the bug

Seems to be throwing a Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url <URL> (Caused by ResponseError('too many 500 error responses')) when it needs to search for a new series or movie to add the trakt cache file.

if the series or movie is already in the cache file then there is no issues.

Desktop (please complete the following information):

  • OS and Version: Ubuntu 24.10
  • Python Version: Python 3.12.7
  • Player and Version: Plex 1.41.7.9823
  • Trakt Scrobbler Version: 1.7.2

To Reproduce

Steps to reproduce the behavior:

  1. Play anything you don't have in your trakt_cache.json file
  2. See error in log file

Log file

Click to see log contents

2025-05-26 17:02:54,232 - DEBUG - plex - monitor - action=scrobble
2025-05-26 17:02:54,232 - DEBUG - plex - monitor - {'state': 2, 'progress': 0.0, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 1, 'year': 2025}, 'updated_at': 1748296974.2323542}
2025-05-26 17:02:54,232 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for The Librarians: The Next Chapter
2025-05-26 17:02:54,232 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-26 17:03:24,780 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-26 17:03:24,781 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-26 17:03:24,781 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-26 17:03:24,781 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-26 17:08:34,319 - DEBUG - plex - monitor - action=scrobble
2025-05-26 17:08:34,319 - DEBUG - plex - monitor - {'state': 1, 'progress': 11.07, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 1, 'year': 2025}, 'updated_at': 1748297314.3197756}
2025-05-26 17:08:34,320 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 11.07% for The Librarians: The Next Chapter
2025-05-26 17:08:34,320 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-26 17:09:04,836 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-26 17:09:04,836 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-26 17:09:04,836 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-26 17:09:04,836 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-26 17:10:04,342 - DEBUG - plex - monitor - action=scrobble
2025-05-26 17:10:04,342 - DEBUG - plex - monitor - {'state': 2, 'progress': 11.34, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 1, 'year': 2025}, 'updated_at': 1748297404.3424616}
2025-05-26 17:10:04,342 - DEBUG - scrobbler - scrobbler - Scrobbling start at 11.34% for The Librarians: The Next Chapter
2025-05-26 17:10:04,342 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-26 17:10:34,821 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-26 17:10:34,821 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-26 17:10:34,821 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-26 17:10:34,821 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-26 17:36:24,737 - DEBUG - plex - monitor - action=scrobble
2025-05-26 17:36:24,737 - DEBUG - plex - monitor - {'state': 1, 'progress': 63.89, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 1, 'year': 2025}, 'updated_at': 1748298984.737807}
2025-05-26 17:36:24,738 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 63.89% for The Librarians: The Next Chapter
2025-05-26 17:36:24,738 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-26 17:36:55,424 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-26 17:36:55,424 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-26 17:36:55,425 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-26 17:36:55,425 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-26 18:06:05,176 - DEBUG - plex - monitor - action=scrobble
2025-05-26 18:06:05,176 - DEBUG - plex - monitor - {'state': 2, 'progress': 64.09, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 1, 'year': 2025}, 'updated_at': 1748300765.176535}
2025-05-26 18:06:05,176 - DEBUG - scrobbler - scrobbler - Scrobbling start at 64.09% for The Librarians: The Next Chapter
2025-05-26 18:06:05,176 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-26 18:06:35,741 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-26 18:06:35,741 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-26 18:06:35,742 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-26 18:06:35,742 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-26 18:23:35,377 - DEBUG - plex - monitor - action=stop_previous
2025-05-26 18:23:35,377 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 98.78% for The Librarians: The Next Chapter
2025-05-26 18:23:35,377 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-26 18:24:05,943 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-26 18:24:05,943 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-26 18:24:05,943 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-26 18:24:05,944 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-26 18:24:17,474 - DEBUG - MainThread - notifier - Notifications enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2025-05-26 18:24:17,474 - INFO - notify_loop - notifier - Starting notif loop
2025-05-26 18:24:17,475 - DEBUG - MainThread - notifier - Notif actions enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2025-05-26 18:24:17,661 - INFO - MainThread - scrobbler - Started scrobbler thread.
2025-05-26 18:24:17,665 - INFO - MainThread - monitor - Started monitor for plex
2025-05-27 13:27:40,974 - DEBUG - plex - monitor - action=scrobble
2025-05-27 13:27:41,021 - DEBUG - plex - monitor - {'state': 2, 'progress': 0.57, 'media_info': {'type': 'episode', 'title': 'Rick and Morty', 'season': 8, 'episode': 1, 'year': 2013}, 'updated_at': 1748370460.9746902}
2025-05-27 13:27:41,021 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.57% for Rick and Morty
2025-05-27 13:27:41,216 - INFO - scrobbler - scrobbler - Scrobble start successful for Rick and Morty S08E01 at 0.57%
2025-05-27 13:50:51,300 - DEBUG - plex - monitor - action=stop_previous
2025-05-27 13:50:51,301 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 99.40% for Rick and Morty
2025-05-27 13:50:51,630 - INFO - scrobbler - scrobbler - Scrobble stop successful for Rick and Morty S08E01 at 99.40%
2025-05-27 13:58:31,396 - DEBUG - plex - monitor - action=scrobble
2025-05-27 13:58:31,396 - DEBUG - plex - monitor - {'state': 2, 'progress': 1.26, 'media_info': {'type': 'episode', 'title': 'The Walking Dead: Dead City', 'season': 2, 'episode': 4, 'year': 2023}, 'updated_at': 1748372311.396868}
2025-05-27 13:58:31,397 - DEBUG - scrobbler - scrobbler - Scrobbling start at 1.26% for The Walking Dead: Dead City
2025-05-27 13:58:31,590 - INFO - scrobbler - scrobbler - Scrobble start successful for The Walking Dead: Dead City S02E04 at 1.26%
2025-05-27 14:09:41,550 - DEBUG - plex - monitor - action=scrobble
2025-05-27 14:09:41,550 - DEBUG - plex - monitor - {'state': 1, 'progress': 25.12, 'media_info': {'type': 'episode', 'title': 'The Walking Dead: Dead City', 'season': 2, 'episode': 4, 'year': 2023}, 'updated_at': 1748372981.5500293}
2025-05-27 14:09:41,550 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 25.12% for The Walking Dead: Dead City
2025-05-27 14:09:41,781 - INFO - scrobbler - scrobbler - Scrobble pause successful for The Walking Dead: Dead City S02E04 at 25.12%
2025-05-27 14:23:31,741 - DEBUG - plex - monitor - action=scrobble
2025-05-27 14:23:31,741 - DEBUG - plex - monitor - {'state': 2, 'progress': 25.26, 'media_info': {'type': 'episode', 'title': 'The Walking Dead: Dead City', 'season': 2, 'episode': 4, 'year': 2023}, 'updated_at': 1748373811.7414918}
2025-05-27 14:23:31,741 - DEBUG - scrobbler - scrobbler - Scrobbling start at 25.26% for The Walking Dead: Dead City
2025-05-27 14:23:31,934 - INFO - scrobbler - scrobbler - Scrobble resume successful for The Walking Dead: Dead City S02E04 at 25.26%
2025-05-27 14:31:11,845 - DEBUG - plex - monitor - action=scrobble
2025-05-27 14:31:11,846 - DEBUG - plex - monitor - {'state': 1, 'progress': 40.81, 'media_info': {'type': 'episode', 'title': 'The Walking Dead: Dead City', 'season': 2, 'episode': 4, 'year': 2023}, 'updated_at': 1748374271.8458805}
2025-05-27 14:31:11,846 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 40.81% for The Walking Dead: Dead City
2025-05-27 14:31:12,017 - INFO - scrobbler - scrobbler - Scrobble pause successful for The Walking Dead: Dead City S02E04 at 40.81%
2025-05-27 14:33:31,878 - DEBUG - plex - monitor - action=scrobble
2025-05-27 14:33:31,878 - DEBUG - plex - monitor - {'state': 2, 'progress': 40.91, 'media_info': {'type': 'episode', 'title': 'The Walking Dead: Dead City', 'season': 2, 'episode': 4, 'year': 2023}, 'updated_at': 1748374411.8786168}
2025-05-27 14:33:31,878 - DEBUG - scrobbler - scrobbler - Scrobbling start at 40.91% for The Walking Dead: Dead City
2025-05-27 14:33:32,013 - INFO - scrobbler - scrobbler - Scrobble resume successful for The Walking Dead: Dead City S02E04 at 40.91%
2025-05-27 14:34:51,897 - DEBUG - plex - monitor - action=scrobble
2025-05-27 14:34:51,897 - DEBUG - plex - monitor - {'state': 1, 'progress': 43.72, 'media_info': {'type': 'episode', 'title': 'The Walking Dead: Dead City', 'season': 2, 'episode': 4, 'year': 2023}, 'updated_at': 1748374491.8971741}
2025-05-27 14:34:51,897 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 43.72% for The Walking Dead: Dead City
2025-05-27 14:34:51,993 - INFO - scrobbler - scrobbler - Scrobble pause successful for The Walking Dead: Dead City S02E04 at 43.72%
2025-05-27 14:36:01,913 - DEBUG - plex - monitor - action=scrobble
2025-05-27 14:36:01,913 - DEBUG - plex - monitor - {'state': 2, 'progress': 43.75, 'media_info': {'type': 'episode', 'title': 'The Walking Dead: Dead City', 'season': 2, 'episode': 4, 'year': 2023}, 'updated_at': 1748374561.9132948}
2025-05-27 14:36:01,913 - DEBUG - scrobbler - scrobbler - Scrobbling start at 43.75% for The Walking Dead: Dead City
2025-05-27 14:36:02,171 - INFO - scrobbler - scrobbler - Scrobble resume successful for The Walking Dead: Dead City S02E04 at 43.75%
2025-05-27 15:03:22,310 - DEBUG - plex - monitor - action=stop_previous
2025-05-27 15:03:22,310 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 99.46% for The Walking Dead: Dead City
2025-05-27 15:03:22,635 - INFO - scrobbler - scrobbler - Scrobble stop successful for The Walking Dead: Dead City S02E04 at 99.46%
2025-05-27 23:15:18,234 - DEBUG - plex - monitor - action=scrobble
2025-05-27 23:15:18,234 - DEBUG - plex - monitor - {'state': 2, 'progress': 0.0, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 2, 'year': 2025}, 'updated_at': 1748405718.2340877}
2025-05-27 23:15:18,234 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for The Librarians: The Next Chapter
2025-05-27 23:15:18,234 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-27 23:15:48,769 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-27 23:15:48,769 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-27 23:15:48,769 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-27 23:15:48,769 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-27 23:25:58,358 - DEBUG - plex - monitor - action=scrobble
2025-05-27 23:25:58,358 - DEBUG - plex - monitor - {'state': 1, 'progress': 25.19, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 2, 'year': 2025}, 'updated_at': 1748406358.358847}
2025-05-27 23:25:58,359 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 25.19% for The Librarians: The Next Chapter
2025-05-27 23:25:58,359 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-27 23:26:28,864 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-27 23:26:28,864 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-27 23:26:28,864 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-27 23:26:28,864 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-27 23:27:28,376 - DEBUG - plex - monitor - action=scrobble
2025-05-27 23:27:28,376 - DEBUG - plex - monitor - {'state': 2, 'progress': 25.27, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 2, 'year': 2025}, 'updated_at': 1748406448.3763995}
2025-05-27 23:27:28,376 - DEBUG - scrobbler - scrobbler - Scrobbling start at 25.27% for The Librarians: The Next Chapter
2025-05-27 23:27:28,376 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-27 23:27:58,803 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-27 23:27:58,803 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-27 23:27:58,803 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-27 23:27:58,803 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-27 23:58:28,738 - DEBUG - plex - monitor - action=stop_previous
2025-05-27 23:58:28,740 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 98.53% for The Librarians: The Next Chapter
2025-05-27 23:58:28,740 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "The Librarians: The Next Chapter", Year: 2025
2025-05-27 23:58:59,346 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-27 23:58:59,346 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/show', 'params': {'query': 'The Librarians: The Next Chapter', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-27 23:58:59,346 - WARNING - scrobbler - trakt_interface - Invalid trakt id for The Librarians: The Next Chapter
2025-05-27 23:58:59,346 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-28 00:01:53,400 - DEBUG - MainThread - notifier - Notifications enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2025-05-28 00:01:53,401 - INFO - notify_loop - notifier - Starting notif loop
2025-05-28 00:01:53,401 - DEBUG - MainThread - notifier - Notif actions enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2025-05-28 00:01:53,571 - INFO - MainThread - scrobbler - Started scrobbler thread.
2025-05-28 00:01:53,576 - INFO - MainThread - monitor - Started monitor for plex
2025-05-28 00:03:28,184 - DEBUG - MainThread - notifier - Notifications enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2025-05-28 00:03:28,185 - INFO - notify_loop - notifier - Starting notif loop
2025-05-28 00:03:28,185 - DEBUG - MainThread - notifier - Notif actions enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2025-05-28 00:08:34,815 - DEBUG - MainThread - notifier - Notifications enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2025-05-28 00:08:34,816 - INFO - notify_loop - notifier - Starting notif loop
2025-05-28 00:08:34,816 - DEBUG - MainThread - notifier - Notif actions enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2025-05-28 00:08:34,944 - INFO - MainThread - scrobbler - Started scrobbler thread.
2025-05-28 00:08:34,949 - INFO - MainThread - monitor - Started monitor for plex
2025-05-29 19:04:33,437 - DEBUG - plex - monitor - action=scrobble
2025-05-29 19:04:33,441 - DEBUG - plex - monitor - {'state': 2, 'duration': 2649.935, 'progress': 0.0, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 3, 'year': 2025}, 'updated_at': 1748563473.4369643}
2025-05-29 19:04:33,442 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for The Librarians: The Next Chapter
2025-05-29 19:04:33,741 - INFO - scrobbler - scrobbler - Scrobble start successful for The Librarians: The Next Chapter S01E03 at 0.00%
2025-05-29 19:48:44,145 - DEBUG - plex - monitor - action=stop_previous
2025-05-29 19:48:44,145 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 99.55% for The Librarians: The Next Chapter
2025-05-29 19:48:44,775 - INFO - scrobbler - scrobbler - Scrobble stop successful for The Librarians: The Next Chapter S01E03 at 99.55%
2025-05-29 20:29:44,676 - DEBUG - plex - monitor - action=scrobble
2025-05-29 20:29:44,676 - DEBUG - plex - monitor - {'state': 2, 'duration': 2649.836, 'progress': 0.0, 'media_info': {'type': 'episode', 'title': 'The Librarians: The Next Chapter', 'season': 1, 'episode': 4, 'year': 2025}, 'updated_at': 1748568584.676218}
2025-05-29 20:29:44,676 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for The Librarians: The Next Chapter
2025-05-29 20:29:44,849 - INFO - scrobbler - scrobbler - Scrobble start successful for The Librarians: The Next Chapter S01E04 at 0.00%
2025-05-29 21:13:55,211 - DEBUG - plex - monitor - action=stop_previous
2025-05-29 21:13:55,212 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 99.55% for The Librarians: The Next Chapter
2025-05-29 21:13:55,496 - INFO - scrobbler - scrobbler - Scrobble stop successful for The Librarians: The Next Chapter S01E04 at 99.55%
2025-05-29 22:31:45,927 - DEBUG - plex - monitor - action=scrobble
2025-05-29 22:31:45,927 - DEBUG - plex - monitor - {'state': 2, 'duration': 8258.542, 'progress': 0.0, 'media_info': {'type': 'movie', 'title': 'Sinners', 'year': 2025}, 'updated_at': 1748575905.9276404}
2025-05-29 22:31:45,927 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for Sinners
2025-05-29 22:31:45,927 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Sinners", Year: 2025
2025-05-29 22:31:45,928 - INFO - scrobbler - trakt_auth - Trakt access token expired. Refreshing.
2025-05-29 22:31:46,064 - INFO - scrobbler - trakt_auth - Refreshed access token.
2025-05-29 22:32:16,605 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Sinners&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-29 22:32:16,605 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Sinners', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-29 22:32:16,605 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Sinners
2025-05-29 22:32:16,605 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-29 22:33:15,949 - DEBUG - plex - monitor - action=scrobble
2025-05-29 22:33:15,949 - DEBUG - plex - monitor - {'state': 1, 'duration': 8258.542, 'progress': 1.13, 'media_info': {'type': 'movie', 'title': 'Sinners', 'year': 2025}, 'updated_at': 1748575995.949393}
2025-05-29 22:33:15,996 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 1.13% for Sinners
2025-05-29 22:33:15,996 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Sinners", Year: 2025
2025-05-29 22:33:46,490 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Sinners&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-29 22:33:46,490 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Sinners', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-29 22:33:46,490 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Sinners
2025-05-29 22:33:46,490 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-29 22:48:36,198 - DEBUG - plex - monitor - action=scrobble
2025-05-29 22:48:36,198 - DEBUG - plex - monitor - {'state': 2, 'duration': 8258.542, 'progress': 1.13, 'media_info': {'type': 'movie', 'title': 'Sinners', 'year': 2025}, 'updated_at': 1748576916.1988413}
2025-05-29 22:48:36,199 - DEBUG - scrobbler - scrobbler - Scrobbling start at 1.13% for Sinners
2025-05-29 22:48:36,199 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Sinners", Year: 2025
2025-05-29 22:49:06,759 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Sinners&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-29 22:49:06,760 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Sinners', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-29 22:49:06,760 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Sinners
2025-05-29 22:49:06,760 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-29 22:55:36,291 - DEBUG - plex - monitor - action=scrobble
2025-05-29 22:55:36,291 - DEBUG - plex - monitor - {'state': 1, 'duration': 8258.542, 'progress': 6.21, 'media_info': {'type': 'movie', 'title': 'Sinners', 'year': 2025}, 'updated_at': 1748577336.2912638}
2025-05-29 22:55:36,291 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 6.21% for Sinners
2025-05-29 22:55:36,291 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Sinners", Year: 2025
2025-05-29 22:56:06,742 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Sinners&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-29 22:56:06,742 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Sinners', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-29 22:56:06,788 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Sinners
2025-05-29 22:56:06,788 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-29 22:56:46,306 - DEBUG - plex - monitor - action=scrobble
2025-05-29 22:56:46,306 - DEBUG - plex - monitor - {'state': 2, 'duration': 8258.542, 'progress': 6.21, 'media_info': {'type': 'movie', 'title': 'Sinners', 'year': 2025}, 'updated_at': 1748577406.3068125}
2025-05-29 22:56:46,307 - DEBUG - scrobbler - scrobbler - Scrobbling start at 6.21% for Sinners
2025-05-29 22:56:46,307 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Sinners", Year: 2025
2025-05-29 22:57:16,735 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Sinners&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-29 22:57:16,735 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Sinners', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-29 22:57:16,735 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Sinners
2025-05-29 22:57:16,735 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-05-30 01:01:07,939 - DEBUG - plex - monitor - action=stop_previous
2025-05-30 01:01:07,939 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 99.88% for Sinners
2025-05-30 01:01:07,939 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Sinners", Year: 2025
2025-05-30 01:01:08,050 - DEBUG - scrobbler - trakt_interface - Trakt ID: 997581
2025-05-30 01:01:08,340 - INFO - scrobbler - scrobbler - Scrobble stop successful for Sinners at 99.88%
2025-05-30 16:02:46,414 - DEBUG - plex - monitor - action=scrobble
2025-05-30 16:02:46,414 - DEBUG - plex - monitor - {'state': 2, 'duration': 2568.085, 'progress': 0.0, 'media_info': {'type': 'episode', 'title': 'SurrealEstate', 'season': 3, 'episode': 9, 'year': 2021}, 'updated_at': 1748638966.4141073}
2025-05-30 16:02:46,414 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for SurrealEstate
2025-05-30 16:02:46,608 - INFO - scrobbler - scrobbler - Scrobble start successful for SurrealEstate S03E09 at 0.00%
2025-05-30 16:03:16,466 - DEBUG - plex - monitor - action=scrobble
2025-05-30 16:03:16,466 - DEBUG - plex - monitor - {'state': 1, 'duration': 2568.085, 'progress': 1.09, 'media_info': {'type': 'episode', 'title': 'SurrealEstate', 'season': 3, 'episode': 9, 'year': 2021}, 'updated_at': 1748638996.4665852}
2025-05-30 16:03:16,466 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 1.09% for SurrealEstate
2025-05-30 16:03:16,599 - INFO - scrobbler - scrobbler - Scrobble pause successful for SurrealEstate S03E09 at 1.09%
2025-05-30 16:07:06,509 - DEBUG - plex - monitor - action=scrobble
2025-05-30 16:07:06,510 - DEBUG - plex - monitor - {'state': 2, 'duration': 2568.085, 'progress': 1.32, 'media_info': {'type': 'episode', 'title': 'SurrealEstate', 'season': 3, 'episode': 9, 'year': 2021}, 'updated_at': 1748639226.509946}
2025-05-30 16:07:06,510 - DEBUG - scrobbler - scrobbler - Scrobbling start at 1.32% for SurrealEstate
2025-05-30 16:07:06,666 - INFO - scrobbler - scrobbler - Scrobble resume successful for SurrealEstate S03E09 at 1.32%
2025-05-30 16:11:46,562 - DEBUG - plex - monitor - action=scrobble
2025-05-30 16:11:46,562 - DEBUG - plex - monitor - {'state': 1, 'duration': 2568.085, 'progress': 12.11, 'media_info': {'type': 'episode', 'title': 'SurrealEstate', 'season': 3, 'episode': 9, 'year': 2021}, 'updated_at': 1748639506.5625296}
2025-05-30 16:11:46,562 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 12.11% for SurrealEstate
2025-05-30 16:11:46,671 - INFO - scrobbler - scrobbler - Scrobble pause successful for SurrealEstate S03E09 at 12.11%
2025-05-30 16:13:26,581 - DEBUG - plex - monitor - action=scrobble
2025-05-30 16:13:26,581 - DEBUG - plex - monitor - {'state': 2, 'duration': 2568.085, 'progress': 12.27, 'media_info': {'type': 'episode', 'title': 'SurrealEstate', 'season': 3, 'episode': 9, 'year': 2021}, 'updated_at': 1748639606.5816317}
2025-05-30 16:13:26,581 - DEBUG - scrobbler - scrobbler - Scrobbling start at 12.27% for SurrealEstate
2025-05-30 16:13:26,770 - INFO - scrobbler - scrobbler - Scrobble resume successful for SurrealEstate S03E09 at 12.27%
2025-05-30 16:50:37,001 - DEBUG - plex - monitor - action=stop_previous
2025-05-30 16:50:37,002 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 98.71% for SurrealEstate
2025-05-30 16:50:37,722 - INFO - scrobbler - scrobbler - Scrobble stop successful for SurrealEstate S03E09 at 98.71%
2025-05-30 20:19:29,016 - DEBUG - plex - monitor - action=scrobble
2025-05-30 20:19:29,016 - DEBUG - plex - monitor - {'state': 2, 'duration': 1298.006, 'progress': 0.0, 'media_info': {'type': 'episode', 'title': 'Family Guy', 'season': 23, 'episode': 13, 'year': 1999}, 'updated_at': 1748654369.0162804}
2025-05-30 20:19:29,016 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for Family Guy
2025-05-30 20:19:29,522 - INFO - scrobbler - scrobbler - Scrobble start successful for Family Guy S23E13 at 0.00%
2025-05-30 20:39:19,253 - DEBUG - plex - monitor - action=scrobble
2025-05-30 20:39:19,254 - DEBUG - plex - monitor - {'state': 1, 'duration': 1298.006, 'progress': 95.45, 'media_info': {'type': 'episode', 'title': 'Family Guy', 'season': 23, 'episode': 13, 'year': 1999}, 'updated_at': 1748655559.2539241}
2025-05-30 20:39:19,254 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 95.45% for Family Guy
2025-05-30 20:39:19,554 - INFO - scrobbler - scrobbler - Scrobble pause successful for Family Guy S23E13 at 95.45%
2025-05-30 20:50:49,387 - DEBUG - plex - monitor - action=scrobble
2025-05-30 20:50:49,387 - DEBUG - plex - monitor - {'state': 2, 'duration': 1298.006, 'progress': 95.84, 'media_info': {'type': 'episode', 'title': 'Family Guy', 'season': 23, 'episode': 13, 'year': 1999}, 'updated_at': 1748656249.3870003}
2025-05-30 20:50:49,387 - DEBUG - scrobbler - scrobbler - Scrobbling start at 95.84% for Family Guy
2025-05-30 20:50:49,655 - INFO - scrobbler - scrobbler - Scrobble resume successful for Family Guy S23E13 at 95.84%
2025-05-30 20:51:19,392 - DEBUG - plex - monitor - action=stop_previous
2025-05-30 20:51:19,393 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 97.38% for Family Guy
2025-05-30 20:51:19,662 - INFO - scrobbler - scrobbler - Scrobble stop successful for Family Guy S23E13 at 97.38%
2025-05-30 20:52:09,400 - DEBUG - plex - monitor - action=scrobble
2025-05-30 20:52:09,400 - DEBUG - plex - monitor - {'state': 2, 'duration': 1297.792, 'progress': 0.0, 'media_info': {'type': 'episode', 'title': 'Family Guy', 'season': 23, 'episode': 14, 'year': 1999}, 'updated_at': 1748656329.4005983}
2025-05-30 20:52:09,400 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for Family Guy
2025-05-30 20:52:09,599 - INFO - scrobbler - scrobbler - Scrobble start successful for Family Guy S23E14 at 0.00%
2025-05-30 21:12:59,637 - DEBUG - plex - monitor - action=stop_previous
2025-05-30 21:12:59,637 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 97.24% for Family Guy
2025-05-30 21:12:59,942 - INFO - scrobbler - scrobbler - Scrobble stop successful for Family Guy S23E14 at 97.24%
2025-05-31 14:44:21,559 - DEBUG - plex - monitor - action=scrobble
2025-05-31 14:44:21,560 - DEBUG - plex - monitor - {'state': 2, 'duration': 4007.136, 'progress': 0.2, 'media_info': {'type': 'episode', 'title': 'Doctor Who', 'season': 2, 'episode': 8, 'year': 2023}, 'updated_at': 1748720661.5594566}
2025-05-31 14:44:21,560 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.20% for Doctor Who
2025-05-31 14:44:21,779 - INFO - scrobbler - scrobbler - Scrobble start successful for Doctor Who S02E08 at 0.20%
2025-05-31 14:44:51,567 - DEBUG - plex - monitor - action=scrobble
2025-05-31 14:44:51,567 - DEBUG - plex - monitor - {'state': 1, 'duration': 4007.136, 'progress': 1.22, 'media_info': {'type': 'episode', 'title': 'Doctor Who', 'season': 2, 'episode': 8, 'year': 2023}, 'updated_at': 1748720691.5673094}
2025-05-31 14:44:51,567 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 1.22% for Doctor Who
2025-05-31 14:44:51,679 - INFO - scrobbler - scrobbler - Scrobble pause successful for Doctor Who S02E08 at 1.22%
2025-05-31 14:48:01,606 - DEBUG - plex - monitor - action=scrobble
2025-05-31 14:48:01,606 - DEBUG - plex - monitor - {'state': 2, 'duration': 4007.136, 'progress': 1.32, 'media_info': {'type': 'episode', 'title': 'Doctor Who', 'season': 2, 'episode': 8, 'year': 2023}, 'updated_at': 1748720881.6065009}
2025-05-31 14:48:01,606 - DEBUG - scrobbler - scrobbler - Scrobbling start at 1.32% for Doctor Who
2025-05-31 14:48:01,755 - INFO - scrobbler - scrobbler - Scrobble resume successful for Doctor Who S02E08 at 1.32%
2025-05-31 15:05:11,817 - DEBUG - plex - monitor - action=scrobble
2025-05-31 15:05:11,817 - DEBUG - plex - monitor - {'state': 1, 'duration': 4007.136, 'progress': 27.05, 'media_info': {'type': 'episode', 'title': 'Doctor Who', 'season': 2, 'episode': 8, 'year': 2023}, 'updated_at': 1748721911.8177001}
2025-05-31 15:05:11,817 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 27.05% for Doctor Who
2025-05-31 15:05:11,957 - INFO - scrobbler - scrobbler - Scrobble pause successful for Doctor Who S02E08 at 27.05%
2025-05-31 15:10:51,886 - DEBUG - plex - monitor - action=scrobble
2025-05-31 15:10:51,886 - DEBUG - plex - monitor - {'state': 2, 'duration': 4007.136, 'progress': 27.2, 'media_info': {'type': 'episode', 'title': 'Doctor Who', 'season': 2, 'episode': 8, 'year': 2023}, 'updated_at': 1748722251.8866634}
2025-05-31 15:10:51,886 - DEBUG - scrobbler - scrobbler - Scrobbling start at 27.20% for Doctor Who
2025-05-31 15:10:52,038 - INFO - scrobbler - scrobbler - Scrobble resume successful for Doctor Who S02E08 at 27.20%
2025-05-31 15:59:32,480 - DEBUG - plex - monitor - action=stop_previous
2025-05-31 15:59:32,480 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 99.82% for Doctor Who
2025-05-31 15:59:32,780 - INFO - scrobbler - scrobbler - Scrobble stop successful for Doctor Who S02E08 at 99.82%
2025-05-31 23:46:28,450 - DEBUG - plex - monitor - action=scrobble
2025-05-31 23:46:28,451 - DEBUG - plex - monitor - {'state': 2, 'duration': 6203.739, 'progress': 0.0, 'media_info': {'type': 'movie', 'title': 'Until Dawn', 'year': 2025}, 'updated_at': 1748753188.4507153}
2025-05-31 23:46:28,451 - DEBUG - scrobbler - scrobbler - Scrobbling start at 0.00% for Until Dawn
2025-05-31 23:46:28,452 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Until Dawn", Year: 2025
2025-05-31 23:46:59,035 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Until+Dawn&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-05-31 23:46:59,035 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Until Dawn', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-05-31 23:46:59,035 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Until Dawn
2025-05-31 23:46:59,035 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-06-01 00:11:08,771 - DEBUG - plex - monitor - action=scrobble
2025-06-01 00:11:08,771 - DEBUG - plex - monitor - {'state': 1, 'duration': 6203.739, 'progress': 24.15, 'media_info': {'type': 'movie', 'title': 'Until Dawn', 'year': 2025}, 'updated_at': 1748754668.7712638}
2025-06-01 00:11:08,771 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 24.15% for Until Dawn
2025-06-01 00:11:08,771 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Until Dawn", Year: 2025
2025-06-01 00:11:39,318 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Until+Dawn&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-06-01 00:11:39,318 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Until Dawn', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-06-01 00:11:39,319 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Until Dawn
2025-06-01 00:11:39,319 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-06-01 00:11:58,782 - DEBUG - plex - monitor - action=scrobble
2025-06-01 00:11:58,782 - DEBUG - plex - monitor - {'state': 2, 'duration': 6203.739, 'progress': 24.15, 'media_info': {'type': 'movie', 'title': 'Until Dawn', 'year': 2025}, 'updated_at': 1748754718.78223}
2025-06-01 00:11:58,782 - DEBUG - scrobbler - scrobbler - Scrobbling start at 24.15% for Until Dawn
2025-06-01 00:11:58,782 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Until Dawn", Year: 2025
2025-06-01 00:12:29,240 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Until+Dawn&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-06-01 00:12:29,240 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Until Dawn', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-06-01 00:12:29,240 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Until Dawn
2025-06-01 00:12:29,240 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-06-01 00:16:48,844 - DEBUG - plex - monitor - action=scrobble
2025-06-01 00:16:48,844 - DEBUG - plex - monitor - {'state': 1, 'duration': 6203.739, 'progress': 28.68, 'media_info': {'type': 'movie', 'title': 'Until Dawn', 'year': 2025}, 'updated_at': 1748755008.8443165}
2025-06-01 00:16:48,844 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 28.68% for Until Dawn
2025-06-01 00:16:48,844 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Until Dawn", Year: 2025
2025-06-01 00:17:18,850 - DEBUG - plex - monitor - action=scrobble
2025-06-01 00:17:18,850 - DEBUG - plex - monitor - {'state': 2, 'duration': 6203.739, 'progress': 28.68, 'media_info': {'type': 'movie', 'title': 'Until Dawn', 'year': 2025}, 'updated_at': 1748755038.8508325}
2025-06-01 00:17:19,357 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Until+Dawn&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-06-01 00:17:19,357 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Until Dawn', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-06-01 00:17:19,357 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Until Dawn
2025-06-01 00:17:19,357 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-06-01 00:17:19,357 - DEBUG - scrobbler - scrobbler - Scrobbling start at 28.68% for Until Dawn
2025-06-01 00:17:19,357 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Until Dawn", Year: 2025
2025-06-01 00:17:49,857 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Until+Dawn&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-06-01 00:17:49,857 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Until Dawn', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-06-01 00:17:49,857 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Until Dawn
2025-06-01 00:17:49,857 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2025-06-01 01:24:29,718 - DEBUG - plex - monitor - action=stop_previous
2025-06-01 01:24:29,718 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 93.44% for Until Dawn
2025-06-01 01:24:29,718 - DEBUG - scrobbler - trakt_interface - Searching trakt: Title: "Until Dawn", Year: 2025
2025-06-01 01:25:00,246 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /search/movie?query=Until+Dawn&extended=False&field=title&years=2025&page=1&limit=1 (Caused by ResponseError('too many 500 error responses'))
2025-06-01 01:25:00,246 - DEBUG - scrobbler - utils - Request: get {'url': 'https://api.trakt.tv/search/movie', 'params': {'query': 'Until Dawn', 'extended': False, 'field': 'title', 'years': 2025, 'page': 1, 'limit': 1}, 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'APIKEY', 'trakt-api-version': '2', 'Authorization': 'Bearer KEY'}, 'timeout': 30}
2025-06-01 01:25:00,246 - WARNING - scrobbler - trakt_interface - Invalid trakt id for Until Dawn
2025-06-01 01:25:00,246 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.

I had to remove a decent chunk of the log file to fit into the above, so if you want the full log you can check it in the following:

trakt_scrobbler.log

JourneyOver avatar Jun 01 '25 06:06 JourneyOver

A 500 error code means something is wrong on trakt.tv servers, not much we can do about it. It might be an intermittent issue. Does trakts lookup 'The Librarians: The Next Chapter' --year=2025 --type=show work for you?

iamkroot avatar Jun 01 '25 17:06 iamkroot

A 500 error code means something is wrong on trakt.tv servers, not much we can do about it. It might be an intermittent issue.

The thing is this was only happening on shows or movies that were not in the cache (if I removed something from the cache file it instantly starts throwing a 500 error trying to find things), it didn't seem matter the time or day, there are other shows/movies in the full log I provided that have ran into the same issue, no other api queries where failing either it was just when it was trying to search to find the ID.

if I take the url bit of any of the ones that where broken like the example /search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 and throw it up on trakt like such https://trakt.tv/search/show?query=The+Librarians%3A+The+Next+Chapter&extended=False&field=title&years=2025&page=1&limit=1 it comes up with a 500 page, but if I remove the &years=2025 bit or change it to &year=2025 then it seems to work just fine, but that does cause other problems with the search possibly not grabbing the correct thing (example being Doctor Who).

so I'm thinking it's something to do with the query or how it's done that has changed recently.

Does trakts lookup 'The Librarians: The Next Chapter' --year=2025 --type=show work for you?

Trakts Lookup does work correctly for me most of the time even during the periods of where it's throwing the 500 error.

Image

Funnily enough though another issue I just noticed with Doctor Who when using the lookup for it with the --year bit, it doesn't return any results unless I omit the --year

Image

here it is doing the same search with trakts lookup and then using the the same search (I grabbed the url bit through from the log) through curl --

Image

JourneyOver avatar Jun 01 '25 17:06 JourneyOver

ofc now that I'm trying to get it to do fail at the url in trakts when watching something in plex after removing it from the cache file it's actually picking up things correctly, but when I was doing the testing last night it was failing in trakts (only the search bit, not the lookup) but no where else..

Guess I'll keep an eye on things, and grab more details when it happens again.

JourneyOver avatar Jun 01 '25 18:06 JourneyOver

Closing due to inactivity. Mostly a trakt issue.

iamkroot avatar Aug 11 '25 06:08 iamkroot