-
Notifications
You must be signed in to change notification settings - Fork 33
Installation
Krut Patel edited this page Jan 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:Linux and windows (replacebrew install pipx pipx ensurepath
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
- Run
pipx install trakt-scrobbler
. You will now have thetrakts
command available. Check out Variations section for extra modifications to the installation. - 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.
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: pipx upgrade trakt-scrobbler
to fetch the latest changes.
In the following commands, replace install
with install --force
if you have already installed the scrobbler.
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