Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request. Trakt scrobbling for custom media IDs #277

Open
sutulustus opened this issue May 6, 2024 · 0 comments
Open

Feature Request. Trakt scrobbling for custom media IDs #277

sutulustus opened this issue May 6, 2024 · 0 comments

Comments

@sutulustus
Copy link

Hello,

I'm currently developing a Stremio addon aimed at serving streams from my database. Most features are operational, except for one particular functionality that I'm struggling to implement.

The problem lies with Trakt scrobbling not functioning properly for videos provided by my addon. After some investigation, I suspect this issue arises because I'm using custom video IDs for the catalogs I'm providing, which are then matched with videos in my database.

I couldn't locate any documentation on how Trakt matching operates within Stremio. Interestingly, when I utilize my addon to provide streams for the Cinemeta library by matching them with IMDB IDs, Trakt successfully tracks my progress. However, when employing my internal video IDs, Trakt fails to scrobble the video progress.

My primary query is whether it's necessary to format all my video IDs in catalogs in the Cinemeta style (e.g., tt123456 or tt123456:2:10) for Trakt scrobbling to function, or if there's a method to instruct Stremio on how to match the Trakt database. For instance, can I provide a parameter in the stream object or even the meta object on movies or episodes to facilitate this?

The crux of the issue is that while I have all my movies in my database matched to Trakt, I lack IMDB IDs for some videos, particularly older movies.

My preference would be to tell stremio in movie or series meta:

{
  metas: [
    {
      id: "my_internal_db_id",
      imdb_id: "tt0096697",
      trakt_id: "shows:455",
      name: "Simpsons"
    }
  ]
}

or even in stream behaviorHints

{
  streams: [
    {
      name: "",
      url: "video url",
      behaviorHints: {
        trakt_id: "episode:25734",
      }
    }
  ]
}

Any guidance or insight you can provide would be greatly appreciated.

Thank you.

@sutulustus sutulustus changed the title Feature Request. Trakt scrobbling for custom catalog IDs Feature Request. Trakt scrobbling for custom media IDs May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant