Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://tegon.github.io/traktflix/
Trakt.tv + Netflix = :heart:
https://tegon.github.io/traktflix/
netflix scrobble trakt
Last synced: 3 months ago
JSON representation
Trakt.tv + Netflix = :heart:
- Host: GitHub
- URL: https://tegon.github.io/traktflix/
- Owner: tegon
- License: mit
- Archived: true
- Created: 2015-06-16T01:41:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-10T18:02:44.000Z (about 2 years ago)
- Last Synced: 2024-08-01T19:47:42.568Z (3 months ago)
- Topics: netflix, scrobble, trakt
- Language: JavaScript
- Homepage: https://tegon.github.io/traktflix
- Size: 7.03 MB
- Stars: 403
- Watchers: 50
- Forks: 45
- Open Issues: 64
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
traktflix
A Trakt.tv scrobbler for Netflix.
### Table of Contents
* [What is Trakt?](#what-is-trakt)
* [Why do I need this extension?](#why-do-i-need-this-extension)
* [How does traktflix work?](#how-does-traktflix-work)
* [Limitations](#limitations)
* [Problems](#problems)
* [Development](#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](https://trakt.tv) and get a ton of features.### Why do I need this extension?
Trakt.tv has a [lot of plugins](https://trakt.tv/downloads) 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](https://www.netflix.com/WiHome), please open the [new one](https://www.netflix.com/browse).
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](https://github.com/tegon/traktflix/issues/new)### 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](https://trakt.tv/oauth/applications/new).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:
```bash
cp config.dev.json config.json
```Use [nvm](https://github.com/creationix/nvm) to run in the correct version of node
```bash
nvm use
```Install the dependencies
```bash
npm install
```To run in development mode
```bash
npm start
```To get build version for development mode (unlike npm start this does not watch the files for changes)
```bash
npm run build-dev
```To get build version for production mode (generates app.zip, ready for deployment)
```bash
npm run build
npm run zip
```To run tests
```bash
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](https://github.com/user/gsrafael01) Ported this extension to Firefox and also added a lot of improvements. He is the most active maintainer now.
[LICENSE](LICENSE)