Skip to content

Latest commit

 

History

History
84 lines (64 loc) · 3.39 KB

README.md

File metadata and controls

84 lines (64 loc) · 3.39 KB

Trakt.tv and NRK integration

This project was forked from a similar plugin for Netflix and trakt.tv

download

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 NRK, so i created this extension. Every time you click to play something on NRK, it will send the scrobble to Trakt.tv. Cool, isn't it?

How this works?

Unfortunately NRK doesn't provide a public API, so the movie or episodes info is extracted from the HTML of the web TV.

Limitations

Obviously the plugin is only able to match and scrobble series and movies which is available on trakt.tv. See Trakt help page on how to add TV shows and movies. Since most of the international titles on NRK web-TV has a Norwegian translation, it might not always match content. Some of these mismatches may be fixed in a future update. Also some series use a different season numbering (usually years) than the ones on trakt.tv. This will probably never be supported.

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

The following examples uses npm, but yarn may also be used.

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 (currently not working)

npm test

Credits

This product uses the TMDb API but is not endorsed or certified by TMDb.
This product uses the Trakt.tv API.
This product is forked from traktflix by tegon and other contributors.

LICENSE