-
Notifications
You must be signed in to change notification settings - Fork 33
Installation
iamkroot edited this page Jul 17, 2021
·
15 revisions
- For users of Arch Linux (and its derivatives): An AUR package exists at trakt-scrobbler, thanks to @ahmubashshir.
- Open a terminal/powershell.
- Ensure you have Python 3.7 or higher installed, and in your system
PATH
. (Check by runningpython --version
) - Ensure
pip
is installed. (Check:pip --version
) - Install
pipx
:- MacOS:
brew install pipx pipx ensurepath
- Linux and windows (replace
python3
withpython
if the commands fail):(Windows users may require a reboot after this step)python3 -m pip install --user pipx python3 -m pipx ensurepath
- MacOS:
- Run
pipx install trakt-scrobbler
- Check out the Variations section for extra modifications to the installation.
- You will now have the
trakts
command available!
- 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.
- Players Setup (Mandatory!)
- Read FAQ
- How to use the
trakts
command
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.
In the following commands, replace install
with install --force --pip-args='--force-reinstall'
if you have already installed the scrobbler and want to upgrade.
-
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
In step 5, use pipx install "trakt-scrobbler[socks]"
. See Configuration Reference section to see how to set up the proxy.
- For normal notifications, use
libnotify
. Nothing fancy, simple installation.- Arch/Manjaro:
pacman -S libnotify
- Ubuntu:
apt install libnotify-bin
- Arch/Manjaro:
- 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.-
Install your distribution's package for
pygobject
- Run
pipx install "trakt-scrobbler[linux_gobject]"
.
-
Install your distribution's package for