Taxel / PlexTraktSync

A python script that syncs the movies, shows and ratings between trakt and Plex (without needing a PlexPass or Trakt VIP subscription)
MIT License
1.56k stars 101 forks source link

After each run it adds another play in Plex Play History #450

Closed Rouzax closed 3 years ago

Rouzax commented 3 years ago

The problem

Running latest git and after each run it will add another play count in Plex to a few entries. For instance Kevin can F*ck himself

INFO: Marking as watched in Plex: <tvdb:355827/1/1:<Episode:131782:Kevin-Can-F**k-Himse-s01e01>>
INFO: Marking as watched in Plex: <tvdb:355827/1/2:<Episode:131783:Kevin-Can-F**k-Himse-s01e02>>
INFO: Marking as watched in Plex: <tvdb:355827/1/3:<Episode:131784:Kevin-Can-F**k-Himse-s01e03>>
INFO: Marking as watched in Plex: <tvdb:355827/1/4:<Episode:131781:Kevin-Can-F**k-Himse-s01e04>>
INFO: Marking as watched in Plex: <tvdb:355827/1/5:<Episode:131785:Kevin-Can-F**k-Himse-s01e05>>
INFO: Marking as watched in Plex: <tvdb:355827/1/6:<Episode:131779:Kevin-Can-F**k-Himse-s01e06>>
INFO: Marking as watched in Plex: <tvdb:355827/1/7:<Episode:131780:Kevin-Can-F**k-Himse-s01e07>>
INFO: Marking as watched in Plex: <tvdb:355827/1/8:<Episode:131866:Kevin-Can-F**k-Himse-s01e08>>

In Plex image

debug

2021-08-23 14:59:47,110 DEBUG[requests_cache.backends]:Initializing backend: None
2021-08-23 14:59:47,111 DEBUG[requests_cache.backends.base]:Initializing DbPickleDict with serializer: <module 'pickle' from 'C:\\Python39\\lib\\pickle.py'>
2021-08-23 14:59:47,111 DEBUG[requests_cache.backends.base]:Using a secret key to sign cached items is recommended for this backend
2021-08-23 14:59:47,112 DEBUG[requests_cache.backends.sqlite]:Opening connection to C:\GitHub\PlexTraktSync\trakt_cache.sqlite:responses
2021-08-23 14:59:47,113 DEBUG[requests_cache.backends.base]:Initializing DbDict with serializer: <module 'pickle' from 'C:\\Python39\\lib\\pickle.py'>
2021-08-23 14:59:47,113 DEBUG[requests_cache.backends.base]:Using a secret key to sign cached items is recommended for this backend
2021-08-23 14:59:47,113 DEBUG[requests_cache.backends.sqlite]:Opening connection to C:\GitHub\PlexTraktSync\trakt_cache.sqlite:redirects
2021-08-23 14:59:47,115 DEBUG[requests_cache.backends.sqlite]:Opening connection to C:\GitHub\PlexTraktSync\trakt_cache.sqlite:responses
2021-08-23 14:59:47,117 DEBUG[requests_cache.backends.sqlite]:Opening connection to C:\GitHub\PlexTraktSync\trakt_cache.sqlite:responses
2021-08-23 14:59:47,119 DEBUG[trakt.core]:RESPONSE [get] (https://api-v2launch.trakt.tv/search/tvdb/355827?type=show): <Response [200]>
2021-08-23 14:59:47,120 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/library/metadata/131777/allLeaves
2021-08-23 14:59:47,120 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/library/metadata/131777/allLeaves
2021-08-23 14:59:47,121 DEBUG[requests_cache.backends.sqlite]:Opening connection to C:\GitHub\PlexTraktSync\trakt_cache.sqlite:responses
2021-08-23 14:59:47,123 DEBUG[requests_cache.backends.sqlite]:Opening connection to C:\GitHub\PlexTraktSync\trakt_cache.sqlite:responses
2021-08-23 14:59:47,134 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,134 DEBUG[trakt.core]:get: https://api-v2launch.trakt.tv/shows/153556/seasons?extended=episodes
2021-08-23 14:59:47,134 DEBUG[trakt.core]:headers: {'Content-Type': 'application/json', 'trakt-api-version': '2', 'trakt-api-key': 'TOKEN', 'Authorization': 'Bearer BEARER'}
2021-08-23 14:59:47,134 DEBUG[trakt.core]:method, url :: get, https://api-v2launch.trakt.tv/shows/153556/seasons?extended=episodes
2021-08-23 14:59:47,135 DEBUG[urllib3.connectionpool]:Starting new HTTPS connection (1): api-v2launch.trakt.tv:443
2021-08-23 14:59:47,223 DEBUG[urllib3.connectionpool]:https://api-v2launch.trakt.tv:443 "GET /shows/153556/seasons?extended=episodes HTTP/1.1" 200 None
2021-08-23 14:59:47,229 DEBUG[trakt.core]:RESPONSE [get] (https://api-v2launch.trakt.tv/shows/153556/seasons?extended=episodes): <Response [200]>
2021-08-23 14:59:47,230 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
2021-08-23 14:59:47,230 INFO[PlexTraktSync]:Marking as watched in Plex: <tvdb:355827/1/1:<Episode:131782:Kevin-Can-F**k-Himse-s01e01>>
2021-08-23 14:59:47,235 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,235 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131782&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,235 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131782&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,239 DEBUG[requests_cache.session]:Request for URL https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131782&identifier=com.plexapp.plugins.library is not cacheable
2021-08-23 14:59:47,251 DEBUG[urllib3.connectionpool]:https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400 "GET /:/scrobble?key=131782&identifier=com.plexapp.plugins.library HTTP/1.1" 200 0
2021-08-23 14:59:47,252 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
2021-08-23 14:59:47,252 INFO[PlexTraktSync]:Marking as watched in Plex: <tvdb:355827/1/2:<Episode:131783:Kevin-Can-F**k-Himse-s01e02>>
2021-08-23 14:59:47,257 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,258 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131783&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,258 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131783&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,261 DEBUG[requests_cache.session]:Request for URL https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131783&identifier=com.plexapp.plugins.library is not cacheable
2021-08-23 14:59:47,273 DEBUG[urllib3.connectionpool]:https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400 "GET /:/scrobble?key=131783&identifier=com.plexapp.plugins.library HTTP/1.1" 200 0
2021-08-23 14:59:47,275 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
2021-08-23 14:59:47,276 INFO[PlexTraktSync]:Marking as watched in Plex: <tvdb:355827/1/3:<Episode:131784:Kevin-Can-F**k-Himse-s01e03>>
2021-08-23 14:59:47,282 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,283 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131784&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,283 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131784&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,286 DEBUG[requests_cache.session]:Request for URL https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131784&identifier=com.plexapp.plugins.library is not cacheable
2021-08-23 14:59:47,331 DEBUG[urllib3.connectionpool]:https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400 "GET /:/scrobble?key=131784&identifier=com.plexapp.plugins.library HTTP/1.1" 200 0
2021-08-23 14:59:47,332 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
2021-08-23 14:59:47,332 INFO[PlexTraktSync]:Marking as watched in Plex: <tvdb:355827/1/4:<Episode:131781:Kevin-Can-F**k-Himse-s01e04>>
2021-08-23 14:59:47,335 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,335 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131781&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,335 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131781&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,337 DEBUG[requests_cache.session]:Request for URL https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131781&identifier=com.plexapp.plugins.library is not cacheable
2021-08-23 14:59:47,345 DEBUG[urllib3.connectionpool]:https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400 "GET /:/scrobble?key=131781&identifier=com.plexapp.plugins.library HTTP/1.1" 200 0
2021-08-23 14:59:47,346 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
2021-08-23 14:59:47,347 INFO[PlexTraktSync]:Marking as watched in Plex: <tvdb:355827/1/5:<Episode:131785:Kevin-Can-F**k-Himse-s01e05>>
2021-08-23 14:59:47,349 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,349 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131785&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,349 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131785&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,352 DEBUG[requests_cache.session]:Request for URL https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131785&identifier=com.plexapp.plugins.library is not cacheable
2021-08-23 14:59:47,363 DEBUG[urllib3.connectionpool]:https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400 "GET /:/scrobble?key=131785&identifier=com.plexapp.plugins.library HTTP/1.1" 200 0
2021-08-23 14:59:47,364 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
2021-08-23 14:59:47,365 INFO[PlexTraktSync]:Marking as watched in Plex: <tvdb:355827/1/6:<Episode:131779:Kevin-Can-F**k-Himse-s01e06>>
2021-08-23 14:59:47,369 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,369 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131779&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,369 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131779&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,372 DEBUG[requests_cache.session]:Request for URL https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131779&identifier=com.plexapp.plugins.library is not cacheable
2021-08-23 14:59:47,379 DEBUG[urllib3.connectionpool]:https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400 "GET /:/scrobble?key=131779&identifier=com.plexapp.plugins.library HTTP/1.1" 200 0
2021-08-23 14:59:47,380 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
2021-08-23 14:59:47,380 INFO[PlexTraktSync]:Marking as watched in Plex: <tvdb:355827/1/7:<Episode:131780:Kevin-Can-F**k-Himse-s01e07>>
2021-08-23 14:59:47,384 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,384 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131780&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,384 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131780&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,387 DEBUG[requests_cache.session]:Request for URL https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131780&identifier=com.plexapp.plugins.library is not cacheable
2021-08-23 14:59:47,397 DEBUG[urllib3.connectionpool]:https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400 "GET /:/scrobble?key=131780&identifier=com.plexapp.plugins.library HTTP/1.1" 200 0
2021-08-23 14:59:47,398 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
2021-08-23 14:59:47,399 INFO[PlexTraktSync]:Marking as watched in Plex: <tvdb:355827/1/8:<Episode:131866:Kevin-Can-F**k-Himse-s01e08>>
2021-08-23 14:59:47,401 DEBUG[requests_cache.patcher]:Patching requests.Session with class: Session
2021-08-23 14:59:47,401 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131866&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,401 DEBUG[plexapi]:GET https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131866&identifier=com.plexapp.plugins.library
2021-08-23 14:59:47,401 DEBUG[requests_cache.session]:Request for URL https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400/:/scrobble?key=131866&identifier=com.plexapp.plugins.library is not cacheable
2021-08-23 14:59:47,413 DEBUG[urllib3.connectionpool]:https://192-168-2-13.50f5366c69c94499b5515522c37d9ec1.plex.direct:32400 "GET /:/scrobble?key=131866&identifier=com.plexapp.plugins.library HTTP/1.1" 200 0
2021-08-23 14:59:47,413 DEBUG[requests_cache.patcher]:Patching requests.Session with class: _ConfiguredCachedSession
glensc commented 3 years ago

"latest git" is not a supported version. use a released version and write out the version number.

Rouzax commented 3 years ago

Sorry have now tried with release 0.13.18 with the same result. Python 3.9.5

PS C:\GitHub\PlexTraktSync> python -m plex_trakt_sync
INFO: Syncing with Plex USERand Trakt USER
Sync Movies: True
Sync Shows: True
INFO: Loaded Trakt lists in 4.7 seconds
Plex Server version: 1.24.1.4931-1a38e63c6, updated at: 2021-08-23 12:12:36
Server has 3 libraries: ['Kids Movies', 'Movies', 'TV Shows']
WARNING: <Movie:125511:Addams-Family,-The>: Skipping guid local://125511 because provider local has no external Id
WARNING: <Movie:129053:Big-Trip,-The>: Skipping guid local://129053 because provider local has no external Id
WARNING: <Movie:121397:Ernst,-Bobbie-en-De->: Skipping guid local://121397 because provider local has no external Id
WARNING: <Movie:121394:Ernst,-Bobbie-en-De->: Skipping guid local://121394 because provider local has no external Id
WARNING: <Movie:121395:Ernst,-Bobbie-en-De->: Skipping guid local://121395 because provider local has no external Id
WARNING: <Movie:121400:Ernst,-Bobbie-en-De->: Skipping guid local://116934 because provider local has no external Id
WARNING: <Movie:121399:Ernst,-Bobbie-en-De->: Skipping guid local://121393 because provider local has no external Id
WARNING: <Movie:128712:One-and-Only-Ivan,-T>: Skipping guid local://128712 because provider local has no external Id
WARNING: <Movie:116879:Sprookjesboom-De-Mus>: Skipping guid local://116876 because provider local has no external Id
WARNING: <Movie:116878:Sprookjesboom-De-Mus>: Skipping guid local://116878 because provider local has no external Id
WARNING: <Movie:116880:Woezel-en-Pip-Alles->: Skipping guid local://116880 because provider local has no external Id
Processing Kids Movies: 100%|███████████████████████████████████████████████████████| 252/252 [00:02<00:00, 104.61it/s]
INFO: Kids Movies processed in 2.4 seconds
WARNING: <Movie:130110:The-World-to-Come>: Skipping guid imdb://tt13154774 not found on Trakt
Processing Movies: 100%|█████████████████████████████████████████████████████████████| 133/133 [00:20<00:00,  6.48it/s]
INFO: Movies processed in 20.6 seconds
INFO: Marking as watched in Plex: <tvdb:260586/2/8:<Episode:125964:Cosmos-(2014)-s02e08>>
INFO: Marking as watched in Plex: <tvdb:260586/2/9:<Episode:125965:Cosmos-(2014)-s02e09>>
INFO: Marking as watched in Plex: <tvdb:260586/2/10:<Episode:125966:Cosmos-(2014)-s02e10>>
INFO: Marking as watched in Plex: <tvdb:260586/2/11:<Episode:125967:Cosmos-(2014)-s02e11>>
INFO: Marking as watched in Plex: <tvdb:260586/2/12:<Episode:125968:Cosmos-(2014)-s02e12>>
INFO: Marking as watched in Plex: <tvdb:351424/1/1:<Episode:129544:Devils-s01e01>>
INFO: Marking as watched in Plex: <tvdb:330134/3/6:<Episode:125940:DuckTales-(2017)-s03e06>>
INFO: Marking as watched in Plex: <tvdb:269613/4/1:<Episode:128823:Fargo-s04e01>>
INFO: Marking as watched in Plex: <tvdb:356202/2/4:<Episode:130070:For-All-Mankind-s02e04>>
INFO: Marking as watched in Plex: <tvdb:356202/2/5:<Episode:130103:For-All-Mankind-s02e05>>
INFO: Marking as watched in Plex: <tvdb:356202/2/6:<Episode:130145:For-All-Mankind-s02e06>>
INFO: Marking as watched in Plex: <tvdb:356202/2/7:<Episode:130165:For-All-Mankind-s02e07>>
INFO: Marking as watched in Plex: <tvdb:356202/2/8:<Episode:130221:For-All-Mankind-s02e08>>
INFO: Marking as watched in Plex: <tvdb:356202/2/9:<Episode:130340:For-All-Mankind-s02e09>>
INFO: Marking as watched in Plex: <tvdb:356202/2/10:<Episode:130357:For-All-Mankind-s02e10>>
WARNING: Retry using search for specific Plex Episode
WARNING: <Episode:129871:Gangs-of-London-s01e10>: Skipping guid com.plexapp.agents.thetvdb://364387/1/10?lang=en not found on Trakt
INFO: Marking as watched in Plex: <tvdb:269653/8/8:<Episode:129603:The-Goldbergs-(2013)-s08e08>>
INFO: Marking as watched in Plex: <tvdb:320766/5/4:<Episode:131756:The-Good-Fight-s05e04>>
INFO: Marking as watched in Plex: <tvdb:320766/5/5:<Episode:131818:The-Good-Fight-s05e05>>
INFO: Marking as watched in Plex: <tvdb:320766/5/6:<Episode:131878:The-Good-Fight-s05e06>>
INFO: Marking as watched in Plex: <tvdb:320766/5/7:<Episode:131910:The-Good-Fight-s05e07>>
INFO: Marking as watched in Plex: <tvdb:328577/4/13:<Episode:131743:Good-Girls-s04e13>>
INFO: Marking as watched in Plex: <tvdb:328577/4/14:<Episode:131768:Good-Girls-s04e14>>
INFO: Marking as watched in Plex: <tvdb:328577/4/15:<Episode:131846:Good-Girls-s04e15>>
INFO: Marking as watched in Plex: <tvdb:328577/4/16:<Episode:131847:Good-Girls-s04e16>>
INFO: Marking as watched in Plex: <tvdb:314087/4/3:<Episode:131883:The-Grand-Tour-(2016-s04e03>>
INFO: Marking as watched in Plex: <tvdb:366172/1/7:<Episode:128247:Hightown-s01e07>>
INFO: Marking as watched in Plex: <tvdb:366172/1/8:<Episode:128301:Hightown-s01e08>>
INFO: Marking as watched in Plex: <tvdb:355827/1/1:<Episode:131782:Kevin-Can-F**k-Himse-s01e01>>
INFO: Marking as watched in Plex: <tvdb:355827/1/2:<Episode:131783:Kevin-Can-F**k-Himse-s01e02>>
INFO: Marking as watched in Plex: <tvdb:355827/1/3:<Episode:131784:Kevin-Can-F**k-Himse-s01e03>>
INFO: Marking as watched in Plex: <tvdb:355827/1/4:<Episode:131781:Kevin-Can-F**k-Himse-s01e04>>
INFO: Marking as watched in Plex: <tvdb:355827/1/5:<Episode:131785:Kevin-Can-F**k-Himse-s01e05>>
INFO: Marking as watched in Plex: <tvdb:355827/1/6:<Episode:131779:Kevin-Can-F**k-Himse-s01e06>>
INFO: Marking as watched in Plex: <tvdb:355827/1/7:<Episode:131780:Kevin-Can-F**k-Himse-s01e07>>
INFO: Marking as watched in Plex: <tvdb:355827/1/8:<Episode:131866:Kevin-Can-F**k-Himse-s01e08>>
INFO: Marking as watched in Plex: <tvdb:350869/3/4:<Episode:131696:The-Kominsky-Method-s03e04>>
INFO: Marking as watched in Plex: <tvdb:350869/3/5:<Episode:131697:The-Kominsky-Method-s03e05>>
INFO: Marking as watched in Plex: <tvdb:350869/3/6:<Episode:131698:The-Kominsky-Method-s03e06>>
INFO: Marking as watched in Plex: <tvdb:278518/8/18:<Episode:131868:Last-Week-Tonight-wi-s08e18>>
INFO: Marking as watched in Plex: <tvdb:278518/8/19:<Episode:131899:Last-Week-Tonight-wi-s08e19>>
INFO: Marking as watched in Plex: <tvdb:278518/8/20:<Episode:131943:Last-Week-Tonight-wi-s08e20>>
INFO: Marking as watched in Plex: <tvdb:362540/2/5:<Episode:131514:LEGO-Masters-(AU)-s02e05>>
INFO: Marking as watched in Plex: <tvdb:362540/2/6:<Episode:131515:LEGO-Masters-(AU)-s02e06>>
INFO: Marking as watched in Plex: <tvdb:362540/2/7:<Episode:131517:LEGO-Masters-(AU)-s02e07>>
INFO: Marking as watched in Plex: <tvdb:362540/2/8:<Episode:131518:LEGO-Masters-(AU)-s02e08>>
INFO: Marking as watched in Plex: <tvdb:362540/2/9:<Episode:131519:LEGO-Masters-(AU)-s02e09>>
INFO: Marking as watched in Plex: <tvdb:362540/2/10:<Episode:131521:LEGO-Masters-(AU)-s02e10>>
INFO: Marking as watched in Plex: <tvdb:362540/2/11:<Episode:131520:LEGO-Masters-(AU)-s02e11>>
INFO: Marking as watched in Plex: <tvdb:362540/3/1:<Episode:131723:LEGO-Masters-(AU)-s03e01>>
INFO: Marking as watched in Plex: <tvdb:362540/3/2:<Episode:131724:LEGO-Masters-(AU)-s03e02>>
INFO: Marking as watched in Plex: <tvdb:362540/3/3:<Episode:131717:LEGO-Masters-(AU)-s03e03>>
INFO: Marking as watched in Plex: <tvdb:362540/3/4:<Episode:131726:LEGO-Masters-(AU)-s03e04>>
INFO: Marking as watched in Plex: <tvdb:362540/3/5:<Episode:131720:LEGO-Masters-(AU)-s03e05>>
INFO: Marking as watched in Plex: <tvdb:362540/3/6:<Episode:131719:LEGO-Masters-(AU)-s03e06>>
INFO: Marking as watched in Plex: <tvdb:362540/3/7:<Episode:131718:LEGO-Masters-(AU)-s03e07>>
INFO: Marking as watched in Plex: <tvdb:362540/3/8:<Episode:131727:LEGO-Masters-(AU)-s03e08>>
INFO: Marking as watched in Plex: <tvdb:362540/3/9:<Episode:131725:LEGO-Masters-(AU)-s03e09>>
INFO: Marking as watched in Plex: <tvdb:362540/3/10:<Episode:131715:LEGO-Masters-(AU)-s03e10>>
INFO: Marking as watched in Plex: <tvdb:362540/3/11:<Episode:131716:LEGO-Masters-(AU)-s03e11>>
INFO: Marking as watched in Plex: <tvdb:362540/3/12:<Episode:131721:LEGO-Masters-(AU)-s03e12>>
INFO: Marking as watched in Plex: <tvdb:362540/3/13:<Episode:131722:LEGO-Masters-(AU)-s03e13>>
INFO: Marking as watched in Plex: <tvdb:362540/3/14:<Episode:131500:LEGO-Masters-(AU)-s03e14>>
INFO: Marking as watched in Plex: <tvdb:370112/1/1:<Episode:131577:Mare-of-Easttown-s01e01>>
INFO: Marking as watched in Plex: <tvdb:370112/1/2:<Episode:131578:Mare-of-Easttown-s01e02>>
INFO: Marking as watched in Plex: <tvdb:370112/1/3:<Episode:131579:Mare-of-Easttown-s01e03>>
INFO: Marking as watched in Plex: <tvdb:370112/1/4:<Episode:131580:Mare-of-Easttown-s01e04>>
INFO: Marking as watched in Plex: <tvdb:370112/1/5:<Episode:131581:Mare-of-Easttown-s01e05>>
INFO: Marking as watched in Plex: <tvdb:370112/1/6:<Episode:131582:Mare-of-Easttown-s01e06>>
INFO: Marking as watched in Plex: <tvdb:370112/1/7:<Episode:131583:Mare-of-Easttown-s01e07>>
WARNING: <Show:123041:Mindhunter>: Skipping guid com.plexapp.agents.thetvdb://324852?lang=en not found on Trakt
INFO: Marking as watched in Plex: <tvdb:342818/3/1:<Episode:131770:Miracle-Workers-(201-s03e01>>
INFO: Marking as watched in Plex: <tvdb:342818/3/2:<Episode:131786:Miracle-Workers-(201-s03e02>>
INFO: Marking as watched in Plex: <tvdb:342818/3/3:<Episode:131876:Miracle-Workers-(201-s03e03>>
INFO: Marking as watched in Plex: <tvdb:342818/3/4:<Episode:131902:Miracle-Workers-(201-s03e04>>
INFO: Marking as watched in Plex: <tvdb:349743/3/9:<Episode:131753:Mr-Inbetween-s03e09>>
INFO: Marking as watched in Plex: <tvdb:76316/1/11:<Episode:131030:Mr.-Bean-s01e11>>
INFO: Marking as watched in Plex: <tvdb:76316/1/12:<Episode:131031:Mr.-Bean-s01e12>>
INFO: Marking as watched in Plex: <tvdb:76316/1/13:<Episode:131032:Mr.-Bean-s01e13>>
INFO: Marking as watched in Plex: <tvdb:76316/1/14:<Episode:131033:Mr.-Bean-s01e14>>
INFO: Marking as watched in Plex: <tvdb:348392/2/6:<Episode:130190:Oogappels-s02e06>>
INFO: Marking as watched in Plex: <tvdb:348392/2/7:<Episode:130407:Oogappels-s02e07>>
INFO: Marking as watched in Plex: <tvdb:348392/2/8:<Episode:130195:Oogappels-s02e08>>
INFO: Marking as watched in Plex: <tvdb:348392/2/9:<Episode:130196:Oogappels-s02e09>>
INFO: Marking as watched in Plex: <tvdb:348392/3/1:<Episode:130193:Oogappels-s03e01>>
INFO: Marking as watched in Plex: <tvdb:348392/3/2:<Episode:130194:Oogappels-s03e02>>
INFO: Marking as watched in Plex: <tvdb:348392/3/3:<Episode:130366:Oogappels-s03e03>>
INFO: Marking as watched in Plex: <tvdb:348392/3/4:<Episode:130364:Oogappels-s03e04>>
INFO: Marking as watched in Plex: <tvdb:348392/3/5:<Episode:130365:Oogappels-s03e05>>
INFO: Marking as watched in Plex: <tvdb:348392/3/6:<Episode:130367:Oogappels-s03e06>>
INFO: Marking as watched in Plex: <tvdb:348392/3/7:<Episode:130403:Oogappels-s03e07>>
INFO: Marking as watched in Plex: <tvdb:348392/3/8:<Episode:131501:Oogappels-s03e08>>
INFO: Marking as watched in Plex: <tvdb:348392/3/9:<Episode:131573:Oogappels-s03e09>>
INFO: Marking as watched in Plex: <tvdb:348392/3/10:<Episode:131574:Oogappels-s03e10>>
INFO: Marking as watched in Plex: <tvdb:396346/1/1:<Episode:131796:Physical-s01e01>>
INFO: Marking as watched in Plex: <tvdb:396346/1/2:<Episode:131794:Physical-s01e02>>
INFO: Marking as watched in Plex: <tvdb:396346/1/3:<Episode:131798:Physical-s01e03>>
INFO: Marking as watched in Plex: <tvdb:368813/1/8:<Episode:129876:The-Serpent-s01e08>>
INFO: Marking as watched in Plex: <tvdb:368126/1/1:<Episode:131807:Servant-s01e01>>
INFO: Marking as watched in Plex: <tvdb:368126/1/2:<Episode:131808:Servant-s01e02>>
INFO: Marking as watched in Plex: <tvdb:368126/1/3:<Episode:131809:Servant-s01e03>>
INFO: Marking as watched in Plex: <tvdb:368126/1/4:<Episode:131810:Servant-s01e04>>
WARNING: Retry using search for specific Plex Episode
WARNING: <Episode:120614:Superstore-s01e12>: Skipping guid com.plexapp.agents.thetvdb://295648/1/12?lang=en not found on Trakt
INFO: Marking as watched in Plex: <tvdb:368210/1/1:<Episode:130914:Tales-from-the-Loop-s01e01>>
INFO: Marking as watched in Plex: <tvdb:383203/2/1:<Episode:131842:Ted-Lasso-s02e01>>
INFO: Marking as watched in Plex: <tvdb:383203/2/2:<Episode:131880:Ted-Lasso-s02e02>>
INFO: Marking as watched in Plex: <tvdb:383203/2/3:<Episode:131911:Ted-Lasso-s02e03>>
INFO: Marking as watched in Plex: <tvdb:353764/2/3:<Episode:128629:The-Umbrella-Academy-s02e03>>
INFO: Marking as watched in Plex: <tvdb:353764/2/4:<Episode:128630:The-Umbrella-Academy-s02e04>>
INFO: Marking as watched in Plex: <tvdb:353764/2/5:<Episode:128631:The-Umbrella-Academy-s02e05>>
INFO: Marking as watched in Plex: <tvdb:353764/2/6:<Episode:128632:The-Umbrella-Academy-s02e06>>
INFO: Marking as watched in Plex: <tvdb:353764/2/7:<Episode:128633:The-Umbrella-Academy-s02e07>>
INFO: Marking as watched in Plex: <tvdb:353764/2/8:<Episode:128634:The-Umbrella-Academy-s02e08>>
INFO: Marking as watched in Plex: <tvdb:353764/2/9:<Episode:128635:The-Umbrella-Academy-s02e09>>
INFO: Marking as watched in Plex: <tvdb:353764/2/10:<Episode:128636:The-Umbrella-Academy-s02e10>>
INFO: Marking as watched in Plex: <tvdb:361002/1/7:<Episode:129183:Utopia-(2020)-s01e07>>
INFO: Marking as watched in Plex: <tvdb:361002/1/8:<Episode:128855:Utopia-(2020)-s01e08>>
INFO: Marking as watched in Plex: <tvdb:296762/3/1:<Episode:125223:Westworld-s03e01>>
INFO: Marking as watched in Plex: <tvdb:296762/3/2:<Episode:125332:Westworld-s03e02>>
INFO: Marking as watched in Plex: <tvdb:390430/1/1:<Episode:131789:The-White-Lotus--s01e01>>
INFO: Marking as watched in Plex: <tvdb:390430/1/2:<Episode:131790:The-White-Lotus--s01e02>>
INFO: Marking as watched in Plex: <tvdb:390430/1/3:<Episode:131867:The-White-Lotus--s01e03>>
Processing TV Shows: 100%|███████████████████████████████████████████████████████████| 188/188 [00:31<00:00,  6.02it/s]
INFO: TV Shows processed in 31.2 seconds
INFO: Updated plex watchlist in
INFO: Completed full sync in 58.9 seconds

What does this section refer to in the config?

    "xbmc-providers": {
        "movies": "imdb",
        "shows": "tmdb"
    },
glensc commented 3 years ago

Seems the old problem wasn't solved completely.

Problem workaround:

also, use an issue template when creating issue, that's why it's for these topics.

glensc commented 3 years ago

What agent is configured for the library you have the problem with? (Legacy or the New Agent)

Rouzax commented 3 years ago

What agent is configured for the library you have the problem with? (Legacy or the New Agent)

The old agent but switched to new agent during troubleshooting

Seems the old problem wasn't solved completely.

Problem workaround:

* Rollback to any version older than 0.13.0

also, use an issue template when creating issue, that's why it's for these topics.

Will do

Rouzax commented 3 years ago

Rolled back to 0.12.18 and that seems to have fixed the issue

glensc commented 3 years ago

So, here's what I think what's happening:

  1. with 0.13.18 the items that were scanned by Legacy Agent stay with legacy agent
  2. you changing library agent to New, did not change the existing items
  3. you need to re-scan whole library to upgrade legacy -> new agent
  4. I think there was some menu item in library context menu

with 0.13.18 after having changed agent to New:

  1. all new plays should appear correctly with https://github.com/Taxel/PlexTraktSync/pull/410 fix
  2. all items in same library, not refreshed stick with Legacy Agent

so, if you want to experiment, you may verify the above claims.

after verifying you can fix your library with:

  1. remove trakt cache
  2. all new items should be scanned by new agent
  3. cache state of old media items is removed
Rouzax commented 3 years ago

"latest git" is not a supported version. use a released version and write out the version number.

Would it be possible to then do releases of this project on GitHub? This would help me automate the update process by reading the GitHub API https://api.github.com/repos/Taxel/PlexTraktSync/releases

simonc56 commented 3 years ago

Can't you read https://api.github.com/repos/Taxel/PlexTraktSync/tags ?

Rouzax commented 3 years ago

Sorry I was looking at the releases not the tags. Thanks