Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] scrobble stuck even after reformatting #275

Open
ymyogev opened this issue Jan 27, 2024 · 3 comments
Open

[BUG] scrobble stuck even after reformatting #275

ymyogev opened this issue Jan 27, 2024 · 3 comments
Labels
needs-more-info Awaiting more info from the user's end

Comments

@ymyogev
Copy link

ymyogev commented Jan 27, 2024

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):

  • OS and Version: Windows 11 Enterprise 23H2
  • Python Version: 3.12.0 (64-bit)
  • Player and Version: MPC-HC 2.1.4, VLC 3.0.20

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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FC694C0>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE8380>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFDAF60>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FC69310>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFDBE00>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFDB7D0>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE9C40>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFEA120>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE8980>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE88C0>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFEAE70>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFEA960>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1EA82390>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE8290>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE8E90>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE9880>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FC6AFC0>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1EA80D40>: 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': [

@iamkroot
Copy link
Owner

iamkroot commented Jan 29, 2024

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)

@iamkroot
Copy link
Owner

Also, are you sure this is the entire log? There should be a few more lines at the end with more details.

@iamkroot iamkroot added the needs-more-info Awaiting more info from the user's end label Jan 29, 2024
@ymyogev
Copy link
Author

ymyogev commented Jan 31, 2024

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:

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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FC694C0>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE8380>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFDAF60>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FC69310>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFDBE00>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFDB7D0>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE9C40>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFEA120>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE8980>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE88C0>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFEAE70>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFEA960>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1EA82390>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE8290>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE8E90>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FFE9880>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1FC6AFC0>: 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('<urllib3.connection.HTTPSConnection object at 0x000001FD1EA80D40>: 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': [

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info Awaiting more info from the user's end
Projects
None yet
Development

No branches or pull requests

2 participants