A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/LiTO773/trakt-mpv below:

LiTO773/trakt-mpv: A MPV script that checks in your movies and shows with Trakt.tv

A MPV script that checks in your movies and shows with Trakt.tv without the need for an IPC server.

As you can see this repository has been archived. I've archived it since I've beeen busy lately and haven't really used mpv.net for a while. The code stills works perfectly and will scrobble on trakt.tv, however, I'm unable to dedicate more time to this project 😔.

This script is written in both Lua and Python. The Lua part works as a front-end while the Python script is responsible for communicating with Trakt.tv.

This dual-language approach was needed since mpv scripts aren't able to send http requests and/or edit files natively.

In order for this script to work you need to make sure you have Python 3 installed.

After that, make sure you also have the requests module. You can install it like this:

The install is pretty simple and can be done with the following steps:

  1. Move trakt-mpv.lua and trakt-mpv folder to your scripts folder
  2. Create a trakt.tv api. You can do this using: https://trakt.tv/oauth/applications
  3. Copy your client_id and client_secret to trakt-mpv/config_example.json
  4. Rename trakt-mpv/config_example.json to trakt-mpv/config.json

Ok the hard part is done, now you'll do the rest in mpv. If you did everything correctly when you open a file the following message will appear:

Press X and follow the instructions on the screen. After that you are all set 😀.

The current behaviors adopted by the plugin are:

Some improvements that can be done are:

Pull requests are very welcome. I don't have a strict CONTRIBUTING guide since this is a small project, so just make sure you are clear on what you worked on 😉.

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4