Open ymyogev opened 5 months ago
Hmm it seems that your backlog history might be invalid because of the old remap config. I would try deleting the watched_backlog.json
file, followed by a restart.
If possible, I would also really appreciate if you pasted the contents of the file here before you delete it. Would be nice to understand why the error is ocurring. (Fix would still be to clear the file)
Also, are you sure this is the entire log? There should be a few more lines at the end with more details.
Attached is watched_backlog.json as txt, renamed as .old but still didn't work after restart. watched_backlog.txt
Force re-authorizing doesn't seem to work.
Here's the full log:
```
2024-01-04 23:02:44,050 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 0.65}, 'timeout': 30}
2024-01-04 23:02:44,059 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:02:44,060 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 1.95% for Ghosts
2024-01-04 23:03:14,073 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError('
I would say, try a trakts backlog purge
and trakts start --restart
.
This might be a totally n00b question and might not be the right place to ask for help, but scrobbing hasn't been functioning since beginning of Jan, and even after trying to remap (not sure I did it correctly) won't sync. Adding the remap TOML as txt. Would love some assistance :)
remap_rules .txt
Desktop (please complete the following information):
Log file
Click to see log contents
``` 2024-01-04 23:02:44,050 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 0.65}, 'timeout': 30} 2024-01-04 23:02:44,059 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it. 2024-01-04 23:02:44,060 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 1.95% for Ghosts 2024-01-04 23:03:14,073 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:03:14,074 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/pause', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 1.95}, 'timeout': 30}
2024-01-04 23:03:14,075 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:03:14,076 - DEBUG - scrobbler - scrobbler - Scrobbling start at 3.09% for Ghosts
2024-01-04 23:03:44,086 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:03:44,087 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 3.09}, 'timeout': 30}
2024-01-04 23:03:44,088 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:04:50,866 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:04:50,866 - DEBUG - mpc-hc - monitor - {'state': 1, 'progress': 11.31, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402290.865673}
2024-01-04 23:04:50,867 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 11.31% for Ghosts
2024-01-04 23:05:02,921 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:05:02,922 - DEBUG - mpc-hc - monitor - {'state': 2, 'progress': 11.84, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402302.9215639}
2024-01-04 23:05:14,968 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:05:14,969 - DEBUG - mpc-hc - monitor - {'state': 1, 'progress': 12.25, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402314.9680133}
2024-01-04 23:05:20,879 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:05:20,880 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/pause', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 11.31}, 'timeout': 30}
2024-01-04 23:05:20,880 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:05:20,881 - DEBUG - scrobbler - scrobbler - Scrobbling start at 11.84% for Ghosts
2024-01-04 23:05:27,025 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:05:27,025 - DEBUG - mpc-hc - monitor - {'state': 2, 'progress': 12.44, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402327.0253367}
2024-01-04 23:05:50,893 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:05:50,894 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 11.84}, 'timeout': 30}
2024-01-04 23:05:50,895 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:05:50,895 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 12.25% for Ghosts
2024-01-04 23:06:20,906 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:06:20,907 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/pause', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 12.25}, 'timeout': 30}
2024-01-04 23:06:20,908 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:06:20,908 - DEBUG - scrobbler - scrobbler - Scrobbling start at 12.44% for Ghosts
2024-01-04 23:06:50,920 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:06:50,921 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 12.44}, 'timeout': 30}
2024-01-04 23:06:50,922 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:08:27,761 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:08:27,761 - DEBUG - mpc-hc - monitor - {'state': 1, 'progress': 21.48, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402507.7615547}
2024-01-04 23:08:27,762 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 21.48% for Ghosts
2024-01-04 23:08:57,772 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:08:57,773 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/pause', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 21.48}, 'timeout': 30}
2024-01-04 23:08:57,774 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:09:27,937 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:09:27,938 - DEBUG - mpc-hc - monitor - {'state': 2, 'progress': 21.76, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402567.9377203}
2024-01-04 23:09:27,938 - DEBUG - scrobbler - scrobbler - Scrobbling start at 21.76% for Ghosts
2024-01-04 23:09:57,951 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:09:57,952 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 21.76}, 'timeout': 30}
2024-01-04 23:09:57,953 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:13:28,887 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:13:28,888 - DEBUG - mpc-hc - monitor - {'state': 1, 'progress': 34.68, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402808.8874474}
2024-01-04 23:13:28,888 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 34.68% for Ghosts
2024-01-04 23:13:52,961 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:13:52,961 - DEBUG - mpc-hc - monitor - {'state': 2, 'progress': 34.89, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402832.9614027}
2024-01-04 23:13:58,899 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:13:58,900 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/pause', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 34.68}, 'timeout': 30}
2024-01-04 23:13:58,901 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:13:58,901 - DEBUG - scrobbler - scrobbler - Scrobbling start at 34.89% for Ghosts
2024-01-04 23:14:28,914 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:14:28,915 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 34.89}, 'timeout': 30}
2024-01-04 23:14:28,916 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:14:41,148 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:14:41,149 - DEBUG - mpc-hc - monitor - {'state': 1, 'progress': 37.0, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402881.1484823}
2024-01-04 23:14:41,149 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 37.00% for Ghosts
2024-01-04 23:15:11,160 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:15:11,161 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/pause', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 37.0}, 'timeout': 30}
2024-01-04 23:15:11,162 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:15:41,374 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:15:41,374 - DEBUG - mpc-hc - monitor - {'state': 2, 'progress': 37.42, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704402941.3734345}
2024-01-04 23:15:41,374 - DEBUG - scrobbler - scrobbler - Scrobbling start at 37.42% for Ghosts
2024-01-04 23:16:11,388 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:16:11,389 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 37.42}, 'timeout': 30}
2024-01-04 23:16:11,389 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:26:32,157 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:26:32,157 - DEBUG - mpc-hc - monitor - {'state': 1, 'progress': 72.85, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704403592.1572516}
2024-01-04 23:26:32,157 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 72.85% for Ghosts
2024-01-04 23:27:02,170 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:27:02,171 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/pause', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 72.85}, 'timeout': 30}
2024-01-04 23:27:02,171 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:28:49,917 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:28:49,917 - DEBUG - mpc-hc - monitor - {'state': 2, 'progress': 73.27, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704403729.9167228}
2024-01-04 23:28:49,917 - DEBUG - scrobbler - scrobbler - Scrobbling start at 73.27% for Ghosts
2024-01-04 23:29:19,929 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:29:19,930 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 73.27}, 'timeout': 30}
2024-01-04 23:29:19,931 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:30:50,412 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:30:50,412 - DEBUG - mpc-hc - monitor - {'state': 1, 'progress': 79.9, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704403850.4129565}
2024-01-04 23:30:50,412 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 79.90% for Ghosts
2024-01-04 23:31:20,423 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/pause (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:31:20,424 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/pause', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 79.9}, 'timeout': 30}
2024-01-04 23:31:20,424 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:31:38,607 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:31:38,607 - DEBUG - mpc-hc - monitor - {'state': 2, 'progress': 80.13, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704403898.6073294}
2024-01-04 23:31:38,608 - DEBUG - scrobbler - scrobbler - Scrobbling start at 80.13% for Ghosts
2024-01-04 23:32:08,620 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:32:08,621 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 80.13}, 'timeout': 30}
2024-01-04 23:32:08,622 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:37:15,950 - DEBUG - mpc-hc - monitor - action=scrobble
2024-01-04 23:37:15,950 - DEBUG - mpc-hc - monitor - {'state': 2, 'progress': 92.94, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704404235.9502046}
2024-01-04 23:37:15,951 - DEBUG - scrobbler - scrobbler - Scrobbling start at 92.94% for Ghosts
2024-01-04 23:37:30,028 - INFO - mpc-hc - monitor - Unable to connect to mpc-hc. Ensure that the web interface is running.
2024-01-04 23:37:30,029 - DEBUG - mpc-hc - monitor - action=stop_previous
2024-01-04 23:37:44,133 - INFO - mpc-hc - monitor - Unable to connect to mpc-hc. Ensure that the web interface is running.
2024-01-04 23:37:45,962 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/start (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:37:45,962 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/start', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 92.94}, 'timeout': 30}
2024-01-04 23:37:45,963 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Discarding it.
2024-01-04 23:37:45,963 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 92.94% for Ghosts
2024-01-04 23:38:15,973 - ERROR - scrobbler - utils - Failed to connect: HTTPSConnectionPool(host='api.trakt.tv', port=443): Max retries exceeded with url: /scrobble/stop (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
2024-01-04 23:38:15,974 - DEBUG - scrobbler - utils - Request: post {'url': 'https://api.trakt.tv/scrobble/stop', 'headers': {'Content-Type': 'application/json', 'trakt-api-key': 'ab0133a2365b2c64d70fd2adf3c7e775a4131471b56340933335af1b94785a3a', 'trakt-api-version': '2', 'Authorization': 'Bearer d451507a763d8f6805becf825e4f9c7f7f4085af56c25c1a10fc1ab05f39bfd8'}, 'json': {'movie': {'ids': {'trakt': 24274}}, 'progress': 92.94}, 'timeout': 30}
2024-01-04 23:38:15,974 - WARNING - scrobbler - scrobbler - Scrobble unsuccessful. Will try again later.
2024-01-05 09:37:41,218 - DEBUG - MainThread - notifier - Notifications enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2024-01-05 09:37:41,220 - INFO - notify_loop - notifier - Starting notif loop
2024-01-05 09:37:41,220 - DEBUG - MainThread - notifier - Notif actions enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt
2024-01-05 09:37:41,940 - DEBUG - MainThread - backlog_cleaner - Adding item to history {'state': 2, 'progress': 92.94, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704404235.9502046}
2024-01-05 10:07:46,098 - DEBUG - backlog_cleaner - backlog_cleaner - Adding item to history {'state': 2, 'progress': 92.94, 'media_info': {'type': 'movie', 'title': 'Ghosts'}, 'updated_at': 1704404235.9502046}
2024-01-05 10:07:46,100 - ERROR - backlog_cleaner - __init__ - Unhandled exception
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1052, in _bootstrap_inner
self.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1410, in run
self.function(*self.args, **self.kwargs)
File "C:\Users\Administrator\.local\pipx\venvs\trakt-scrobbler\Lib\site-packages\trakt_scrobbler\backlog_cleaner.py", line 50, in clear
if trakt.add_to_history(**item) is True:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\.local\pipx\venvs\trakt-scrobbler\Lib\site-packages\trakt_scrobbler\trakt_interface.py", line 149, in add_to_history
history = prepare_history_data(watched_at, media_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\.local\pipx\venvs\trakt-scrobbler\Lib\site-packages\trakt_scrobbler\trakt_interface.py", line 140, in prepare_history_data
{'number': media_info['season'], 'episodes': [
```