Permalink
e757208 Nov 8, 2017
3 contributors

Users who have contributed to this file

@tegon @juaoose @edvorg
103 lines (79 sloc) 3.67 KB


Traktflix
traktflix

Netflix and trakt.tv integration.

github release travis coveralls downloads

Table of Contents

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 I found nothing to integrate with Netflix, so I created this extension. Every time you click to play something on Netflix, it will send the scrobble 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://{extensionId}.chromiumapp.org

In Javascript (cors) origins: put https://{extensionId}.chromiumapp.org and chrome-extension://{extensionId}

Copy the config.json example file and change Trakt.tv credentials:

cp config.json.dev 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 (generates app.zip, ready for chrome store)

npm run build
npm run zip

To run tests

npm test

Credits

TMDB TMDB

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

LICENSE