trakt / script.trakt

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

One show (Hunters (2020)) does not sync #497

Open pogman-code opened 4 years ago

pogman-code commented 4 years ago

Has said in the title, only one show do not sync, not on library update, no scrobble, nothing.

You can find a log here : https://paste.kodi.tv/jesarakepu.kodi

As you can see the script tries to sync (see traktAddEpisodes call) and I checked, the TVDB id is the right one (372081).

I cross check episode ids with TheTVDB, they seem OK too, the whole data sent seem OK.

I don't understand what is happening with this show. Anybody had a problem with it, or a suggestion?

razzeee commented 4 years ago

You might actually have to reachout to trakt, maybe there is an issue with the api. We had these before as far as I remember, it always seemed to resolve between @rectifyer and the user, so I'm not actually sure if it was a server problem.

pogman-code commented 4 years ago

I made a python script to manually send the request and ended up with a response filled with 'not_found':

{'added': {'episodes': 0, 'movies': 0},                                                                                                                                                                                                                                                                                        
 'existing': {'episodes': 0, 'movies': 0},                                                                                                                                                                                                                                                                                     
 'not_found': {'episodes': [],                                                                                                                                                                                                                                                                                                 
               'movies': [],                                                                                                                                                                                                                                                                                                   
               'people': [],                                                                                                                                                                                                                                                                                                   
               'seasons': [{'ids': {'imdb': 'tt7456722', 'tvdb': '372081'},                                                                                                                                                                                                                                                    
                            'seasons': [{'episodes': [{'collected_at': '2020-02-21 '                                                                                                                                                                                                                                           
                                                                       '01:44:39+00:00',                                                                                                                                                                                                                                       
                                                       'ids': {'tvdb': '7522390'},                                                                                                                                                                                                                                             
                                                       'number'
[...]

Then I noticed that some episode and the show itself had two ids in the data sent, eg:

'ids': {
    'imdb': 'tt8429368',
    'tvdb': '7523253'
},

I removed the imdb field and the sync (collection & history) worked like a charm

razzeee commented 4 years ago

But is the imdb one wrong? It should be able to handle multiple id's, it will prefer imdb in (some?) cases.

On Fri, 10 Apr 2020, 13:46 POGMAN, notifications@github.com wrote:

I made a python script to manually send the request and ended up with a response filled with 'not_found':

{'added': {'episodes': 0, 'movies': 0}, 'existing': {'episodes': 0, 'movies': 0}, 'not_found': {'episodes': [], 'movies': [], 'people': [], 'seasons': [{'ids': {'imdb': 'tt7456722', 'tvdb': '372081'}, 'seasons': [{'episodes': [{'collected_at': '2020-02-21 ' '01:44:39+00:00', 'ids': {'tvdb': '7522390'}, 'number' [...]

Then I noticed that some episode and the show itself had two ids in the data sent, eg:

'ids': { 'imdb': 'tt8429368', 'tvdb': '7523253' },

I removed the imdb field and the sync (collection & history) worked like a charm

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/trakt/script.trakt/issues/497#issuecomment-611996123, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNLEZDOQI4ZIUITR3AZBJDRL4BJJANCNFSM4MBKF2SA .

pogman-code commented 4 years ago

Yes, as far as I can see all ids are correct (IMDB & TVDB)

I checked on trakt, they have to good ids for this show too, I don't get why it did not work though

razzeee commented 4 years ago

Yeah, at this point only someone from Trakt will be able to solve this.

On Fri, 10 Apr 2020, 14:58 POGMAN, notifications@github.com wrote:

Yes, as far as I can see all ids are correct (IMDB & TVDB)

I checked on trakt, they have to good ids for this show too, I don't get why it did not work though

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/trakt/script.trakt/issues/497#issuecomment-612017693, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNLEZCIWF3V5KGQO3JVMRDRL4JX5ANCNFSM4MBKF2SA .