Skip to content

Installation

iamkroot edited this page Jul 17, 2021 · 15 revisions

Installation Steps

  1. Open a terminal/powershell.
  2. Ensure you have Python 3.7 or higher installed, and in your system PATH. (Check by running python --version)
  3. Ensure pip is installed. (Check: pip --version)
  4. Install pipx:
    • MacOS:
      brew install pipx
      pipx ensurepath
    • Linux and windows (replace python3 with python if the commands fail):
      python3 -m pip install --user pipx
      python3 -m pipx ensurepath
      (Windows users may require a reboot after this step)
  5. Run pipx install trakt-scrobbler
    • Check out the Variations section for extra modifications to the installation.
    • You will now have the trakts command available!
  6. Run trakts init
    • You will be prompted to select the players to be monitored, and authorize the app to access the Trakt.tv API on your behalf. Follow the steps on screen to finish the process.
    • It is okay if you mess up at this step. It is completely safe to re-run the command if you need to restart from the top.

Next Steps

  1. Players Setup (Mandatory!)
  2. Read FAQ
  3. How to use the trakts command

Updating

The scrobbler keeps getting updated with bug fixes and new features. Make sure to regularly (once a month should be enough) run the update command to fetch the latest changes. See How to update.

Variations

In the following commands, replace install with install --force --pip-args='--force-reinstall' if you have already installed the scrobbler and want to upgrade.

Installing other versions

  • To install a beta (non-stable) version: pipx install --pip-args="--pre" trakt-scrobbler

  • To install an unreleased version, directly from the master branch: pipx install git+https://github.com/iamkroot/trakt-scrobbler.git@master

SOCKS Proxy support

In step 5, use pipx install "trakt-scrobbler[socks]". See Configuration Reference section to see how to set up the proxy.

Notification support in Linux

  • For normal notifications, use libnotify. Nothing fancy, simple installation.
    • Arch/Manjaro: pacman -S libnotify
    • Ubuntu: apt install libnotify-bin
  • For updatable notifications, use pygobject. This allows a later notifications to replace a previous one, useful when multiple actions are done is a short span of time. Installation can be painful, and increases the dependencies a lot.
    1. Install your distribution's package for pygobject
    2. Run pipx install "trakt-scrobbler[linux_gobject]".
Clone this wiki locally