trakt / script.trakt

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

Trakt addon crashes when trying to sync (Kodi 19 RC1) #527

Closed guenniguenzelsen closed 3 years ago

guenniguenzelsen commented 3 years ago

I've noticed an issue with Trakt addon version 3.3.2. By starting the addon, it tries to load my Kodi movie-selection for synchronization and freezes in that task. This issue is present on severeal systems, after switching from Kodi Leia to Kodi 19 RC1 (Win 10 PC, Libreelec PC, FireTV 4k). 1: Using local information scraper in Kodi only. All Movies and TV-Shows are scraped with Ember Media Manager.

2: Deleted whole Database and used Phyton movie scraper in Kodi

Trakt freezes when it tries to load my kodi movie selection. No matter of scraped in one or another way.

Trakt is working with Kodi 18.x as expected. kodi.log attached kodi.log

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

Your Environment

razzeee commented 3 years ago

Your nfo files need to have a uniqueId now. You should be able to get these via scraping or a media manager of your choosing.

guenniguenzelsen commented 3 years ago

I don't need this ID for Kodi. Everything in the library is working as expected. Excactly like before. Not clear to me, why I shall change my nfo. Trakt was able to work with these nfo's in Kodi Leia. Kodi is still working with them in Matrix.

ijefferies commented 3 years ago

With version 3.3.2, Kodi 19 RC1 and Libreelec 9.80 nightly.

I'm having exactly the same problem, everything works fine on Kodi 18, no issues at all on Linux/Kodi, Libreelec x86-64 and on RPI4.

My .nfo files do not contain a unique ID as have never needed one before. If that is the issue then it would be helpful for an error message to appear, the sync operation abandoned and Kodi to continue running as normal (without freezing).

Preferred solution though is that the addon can be fixed to run without a unique ID and everything continues to function as before on Kodi 18.

guenniguenzelsen commented 3 years ago

For my understanding the sync routine shall be: Unique ID = Sync No unique ID = Skip w/o sync

Example: My library has 98% movie's and show's with unique ID. 2% of my library have not - they are simply not relevant for online databases (e.g.: private concert recording, or any other material that was never launched officially).

razzeee commented 3 years ago

Can you post a log with the latest version? As I think it should skip the previous error now. But might fail later.

ijefferies commented 3 years ago

Just done some quick checks with the latest version, seems to be working fine now, status on Kodi reflecting correctly on trakt.tv when episodes set as watched.

Thanks for the great work and quick turnaround, have attached Kodi log in case it helps.

kodi.old.log

razzeee commented 3 years ago

Log looks good, at least there's no exception. But you didn't turn on detailed logging.