Giter Site home page Giter Site logo

Comments (7)

C4illin avatar C4illin commented on June 7, 2024 1

Yup it fixed it, thanks!

from imdb-trakt-sync.

rafae667 avatar rafae667 commented on June 7, 2024 1

Yeah, that's it. I didn't notice that change. After changing that worked without a problem. Thank you šŸ˜„

from imdb-trakt-sync.

cecobask avatar cecobask commented on June 7, 2024

Hi @C4illin, thank you for reporting that issue!

It can happen when you've rated or added tv show seasons to a list on Trakt.
This is an example JSON response from Trakt that includes a season. You can see that the show has an IMDb id, but seasons don't have a unique identifier for IMDb. It is the identifier that I'm using to map IMDb and Trakt entries, and finally perform syncing:

[
  {
    "rank": 1,
    "id": 778973361,
    "listed_at": "2023-01-06T18:31:36.000Z",
    "notes": null,
    "type": "season",
    "season": {
      "number": 5,
      "ids": {
        "trakt": 3954,
        "tvdb": 490110,
        "tmdb": 3578,
        "tvrage": null
      }
    },
    "show": {
      "title": "Breaking Bad",
      "year": 2008,
      "ids": {
        "trakt": 1388,
        "slug": "breaking-bad",
        "tvdb": 81189,
        "imdb": "tt0903747",
        "tmdb": 1396,
        "tvrage": 18164
      }
    }
  },
  ...
]

For now, on IMDb you cannot add tv show seasons to lists or rate them. I doubt this will ever change.
Due to this fact, syncing functionality for seasons between IMDb and Trakt won't be possible.
Your existing and future tv show season list entries and ratings will be ignored by imdb-trakt-sync.

In a moment I will add a commit to handle Trakt seasons in case someone gets this error in the future.
Feel free to express any concerns, feedback or comments here āœŒļø

from imdb-trakt-sync.

C4illin avatar C4illin commented on June 7, 2024

Thanks for the answer!
So I don't need to do anything to make the error go away other than updating to the latest?

from imdb-trakt-sync.

cecobask avatar cecobask commented on June 7, 2024

Yep, that's everything you need to do šŸ™‚
Let me know if that doesn't fix it for you. I tried replicating it locally and it worked šŸ‘šŸ»

from imdb-trakt-sync.

rafae667 avatar rafae667 commented on June 7, 2024

After syncing the fix it stopped having successful syncs. I don't know what happened. My fork is up to date.

from imdb-trakt-sync.

cecobask avatar cecobask commented on June 7, 2024

@rafae667, the first thing Iā€™d do after syncing your fork is to compare the repository secrets list with the one in the instructions.

Each secret is of specific format which must be followed. Recently, I made a change regarding the TRAKT_USERNAME secret. You need to replace it with a new one called TRAKT_EMAIL.

After double checking all secret names and values are up to date, try manually syncing again. Let me know if you still have the same problem afterwards šŸ‘šŸ»

from imdb-trakt-sync.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.