Skip to content

schteff/universal-trakt-scrobbler

 
 

Repository files navigation


Universal Trakt Scrobbler
Universal Trakt Scrobbler

A universal scrobbler for Trakt.tv.

GitHub Release

WARNING: This extension has not been released yet. For now you can install it manually by downloading the zip for your browser here: https://github.com/trakt-tools/universal-trakt-scrobbler/releases/tag/1.0.0-beta

Loading the extension manually on Chrome

  1. Unzip chrome.zip
  2. Go to chrome://extensions
  3. Enable "Developer mode"
  4. Click "Load unpacked"
  5. Select the folder you unzipped

Loading the extension manually on Firefox

  1. Go to about:debugging#/runtime/this-firefox
  2. Click "Load Temporary Add-on"
  3. Select firefox.zip

We are working on getting the extension in the Chrome and Firefox stores ASAP.

Table of Contents

What is Universal Trakt Scrobbler?

An extension that allows you to automatically scrobble TV shows and movies that you are watching, and sync your history, from your favorite streaming services to Trakt.tv.

Why do I need this extension?

If you want to scrobble / sync from Netflix, this is the only Trakt.tv plugin that does it. In the future, we'll be adding support for more streaming services, so it will also serve as a single extension that works for multiple services.

Which streaming services are supported?

Streaming Service Scrobble Sync Limitations
Amazon Prime ✔️ ✔️ -
DisneyPlus ✔️ -
GoPlay BE ✔️ -
HBO Max ✔️ ✔️ -
Netflix ✔️ ✔️ -
NRK ✔️ ✔️ -
Streamz BE ✔️ -
Viaplay ✔️ ✔️ -
VRTNu BE ✔️ -
VTMGo BE ✔️ -

How does the extension work?

It extracts information about the TV shows / movies that you are watching / have watched by scraping the page or using the stremaing service API and sends the data to Trakt using the Trakt API.

Known Issues

  • You might have to disable the "automatic mode" in the Temporary Containers extension while logging in, if you use it.
  • Make sure you are logged into streaming services before trying to sync history content.

Other Problems

If you find any other problems or have suggestions or questions, feel free to open an issue.

Help Translate

Help us translate the extension through Crowdin at https://crowdin.com/project/universal-trakt-scrobbler. You'll need to create a Crowdin account (you can sign in with your GitHub account). Then select the language you wish to contribute to and start translating (don't forget to save your translations). If a language isn't available yet, open an issue requesting it to be added.

You can also vote for translations, which helps confirm good translations and flag inaccurate ones.

Development

  1. Create an application in the Trakt API (don't forget to check the /scrobble permission).
  2. In Redirect uri:, put https://trakt.tv/apps.
  3. In Javascript (cors) origins:, put moz-extension:// and chrome-extension://.
  4. Copy the config.dev.json example file and change the Trakt.tv credentials.
cp config.dev.json config.json
  1. Use nvm to run the correct version of Node.js.
nvm use
  1. Install the dependencies.
npm install
  • To run in development mode:
npm start
  • To get the build version for development mode (does not watch files):
npm run build-dev
  • To get the build version for production mode (generates app.zip, ready for deployment):
npm run build
npm run zip

How to add more streaming services

  • Run npx trakt-tools dev create-service. It will prompt you a few questions about the service and automatically generate all the necessary files. If you want to provide all the information at once without being prompted, run npx trakt-tools dev create-service --help to see the options.
  • Go to the generated files and adjust them accordingly. You can see the files of the other services for some reference.

How to add scrobbler/sync to streaming services

  • If a service is missing either the scrobbler or the sync function, you can run npx trakt-tools dev update-service to automatically generate all the missing files.

Credits

This extension is based on traktflix, the original Netflix sync developed by tegon, which was discontinued in favor of Universal Trakt Sync.

TMDb API Trakt API

This product uses the TMDb API, but is not endorsed or certified by TMDb.

This product uses the Trakt.tv API.

LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 2.8%
  • Other 0.1%