Giter Site home page Giter Site logo

traktflix's Introduction


Traktflix
traktflix

A Trakt.tv scrobbler for Netflix.

github release travis Coverage Status

Get the extension on Chrome

Get the extension on Firefox

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 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

Multi-Account Containers / Temporary Containers (Firefox)

If you are using Multi-Account Containers on Firefox, make sure to enable the cookies permission in the options, otherwise the extension will not work properly. If you are using Temporary Containers in automatic mode, it might duplicate tabs when trying to login.

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.

LICENSE

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.