trakt / script.trakt

Trakt.tv movie and TV show scrobbler for Kodi
GNU General Public License v2.0
315 stars 149 forks source link

kodi sync not working well #622

Open ArtoniA opened 11 months ago

ArtoniA commented 11 months ago

Expected Behavior

i have 2 kodi 20 and one infuse 6.4 and when I finish watching a movie I expect the playback to be synchronized on all devices. also if i remove the "watched" status from trakt.tv i expect this status to be replicated on all my libraries

Current Behavior

sync not working preperly i check the kodi.log and i see only this: 2023-08-17 09:33:28.917 T:1236 info : start trakt with arguments: {'action': 'sync'}

Your Environment

MasterCATZ commented 7 months ago

Kodi 21 Lost my entire progress because Kodi removed anidb and switched to tvdb and to top it off traktv is not marking the watched items either over 12k shows ....

script.module.trakt v4.4.0+matrix.1 installed script.trakt v3.5.0 installed

 debug <general>: [script.trakt] resources.lib.syncEpisodes: [Episodes Sync] Getting episode collection/watched/rated from Trakt.tv
2023-11-25 16:47:29.839 T:4011767    info <general>: [script.trakt] trakt.core.http: OAuth - Current username is not available ("username" parameter hasn't been defined)
2023-11-25 16:47:29.839 T:4011767    info <general>: [script.trakt] trakt.core.http: OAuth - Token has expired, refreshing token...
2023-11-25 16:47:30.145 T:4011103   debug <general>: CGLContextEGL::SwapBuffers: sync check blocking
2023-11-25 16:47:30.161 T:4011103   debug <general>: CGLContextEGL::SwapBuffers: sync sleep: 15858
2023-11-25 16:47:30.248 T:4011767   debug <general>: [script.trakt] urllib3.connectionpool: https://api.trakt.tv:443 "POST /oauth/token HTTP/1.1" 400 None
2023-11-25 16:47:30.249 T:4011767 warning <general>: [script.trakt] trakt.core.http: OAuth - Unable to refresh expired token (code: 400)
2023-11-25 16:47:30.249 T:4011767   debug <general>: [script.trakt] resources.lib.syncEpisodes: [Episodes Sync] Invalid Trakt.tv show list, possible error getting data from Trakt, aborting Trakt.tv collection/watched/rated update.
2023-11-25 16:47:30.249 T:4011767   debug <general>: [script.trakt] resources.lib.syncEpisodes: [Episodes Sync] Error getting Trakt.tv collected show list, aborting tv show sync.
2023-11-25 16:47:30.291 T:4011767   debug <general>: [script.trakt] resources.lib.sync: [Sync] Finished synchronization with Trakt.tv

I might have to uninstall and reinstall and get it to remake my token ?

yep had to create a new token , how about something to flag you that its expired , looks like the last year or so was not updating traktv ...

razzeee commented 7 months ago

I doubt, that Kodi wants you to use tvdb - should be tmdb

MasterCATZ commented 7 months ago

tmdb for Anime ? isn't that just for movies ?

all I know is tvdb picked up about ~500 out of 12k and tvdbnew picked up 8 and that is even after renaming everything from anidb to tvdb formats with filebot
if filebot can use their system for the renaming why is the kodi scraper so usless ... like how the heck can "Night Raid 1931" be picked up as "Knight Rider"