traktflix
A Trakt.tv scrobbler for Netflix.
Table of Contents
- What is Trakt?
- Why do I need this extension?
- How does traktflix work?
- Limitations
- Problems
- Development
What is Trakt?
Automatically scrobble TV show episodes and movies you are watching to Trakt.tv! Keep a history of everything you've watched! Sign up for a free account at Trakt.tv and get a ton of features.
Why do I need this extension?
Trakt.tv has a lot of plugins to automatically scrobble the movies and episodes you watch from your media center. But there are none for Netflix. This extension allows you to scrobble from Netflix to Trakt.tv. Cool, isn't it?
How does traktflix work?
Unfortunately Netflix doesn't provide a public API, so the movie or episode info is extracted from the HTML of the player.
Limitations
This extension only works with Netflix HTML player and new layout. If you are in the old layout, please open the new one. See this link for more info: https://help.netflix.com/en/node/23742
Problems
If you find any problems or have suggestions or questions, feel free to open an issue
Development
Create an application in Trakt API.
Don't forget to check /scrobble
permission.
In Redirect uri:
put https://www.netflix.com/Activate
In Javascript (cors) origins:
put https://www.netflix.com, moz-extension:// and chrome-extension://
Copy the config.json
example file and change Trakt.tv credentials:
cp config.dev.json config.json
Use nvm to run in the correct version of node
nvm use
Install the dependencies
npm install
To run in development mode
npm start
To get build version for development mode (unlike npm start this does not watch the files for changes)
npm run build-dev
To get build version for production mode (generates app.zip, ready for deployment)
npm run build
npm run zip
To run tests
npm test
The commands above have only been tested on Linux.
Credits
This product uses the TMDb API but is not endorsed or certified by TMDb.
This product uses the Trakt.tv API.
gsrafael01 Ported this extension to Firefox and also added a lot of improvements. He is the most active maintainer now.