Skip to main content

Trackma

Trackma aims to be a lightweight and simple but feature-rich program for Unix based systems for fetching, updating and using data from personal lists hosted in several media tracking websites.

Features

  • Manage local list and synchronize when necessary, useful when offline
  • Manage multiple accounts on different media tracking sites
  • Support for several media types (as supported by the site)
  • Multiple user interfaces (Qt, GTK, curses, command-line)
  • Detection of running media player, updates list if necessary
  • Ability to launch media player for a requested media in the list and update list if necessary
  • Highly scalable, easy to code new interfaces and support for other sites
  • Secure, uses HTTPS wherever possible.

Currently supported websites

Screenshots

Qt interface

Qt

GTK interface

GTK

Curses interface

Curses

CLI

CLI

Dependencies

The only required dependencies to run Trackma are:

  • Python 3.9+
  • For installation: python-pip (to install through pip) or python-uv (to install through uv)

But only basic features will work (only CLI interface and no tracker). Everything else is optional.

The following user interfaces are available and their requirements are as follows:

UI Dependencies
Qt PyQt6 (python-pyqt6)
GTK 3 PyGI (python-gi and python-cairo)
curses Urwid (python-urwid)
CLI None

The following media recognition trackers are available and their requirements are as follows:

Tracker Description Dependencies
inotify Instant, but only supported in Linux. Uses it whenever possible. inotify or pyinotify
Polling Slow, but supported in every POSIX platform. Fallback. lsof
Plex Connects to Plex server. Enabled manually. None
Kodi Connects to Kodi server. Enabled manually. None
Jellyfin Connects to Jellyfin server. Enabled manually. None
MPRIS Connects to running MPRIS capable media players. python-jeepney
Win32 Recognition for Windows platforms. None

Additional optional Python dependencies:

  • PIL (python-pil) - for showing preview images in the Qt/GTK interfaces.
  • pypresence (???) - for announcing activity on Discord.
  • anitopy (-) - for the anitopy title parser

Installation

Trackma has user-provided packages for several distributions.

A user from the community also is providing a Docker image:

Manual installation

Make sure you've installed the proper dependencies (listed above) according to the user interface you plan to use, and then run the following command:

$ pip3 install Trackma

You can also install the git (probably unstable, but newer) version like this:

$ pip3 install -U git+https://github.com/z411/trackma.git

Or download the source code and install:

$ git clone --recursive https://github.com/z411/trackma.git
$ cd trackma
$ uv build
$ pip3 install dist/trackma-0.8.5-py3-none-any.whl

Extras (User Interfaces)

All user interfaces except for the default CLI mode require additional dependencies to function. You may specify these as "extras" to be installed by the Python package manager.

The following extras are available:

Extra Description
gtk The GTK interface.
qt The Qt interface.
curses The curses-based TUI.
ui All user interfaces.
trackers All tracker libraries.
discord_rpc Set your watching activity in Discord.
twitter Announce your watching activity on Twitter.

If you want to install any of the extras be sure to specify them during installation:

pip

# With pip
$ pip3 install Trackma[gtk,trackers,curses]
$ pip3 install Trackma[ui,twitter,discord_rpc]

Note that pip does not have a way to install all available extras, so you'll have to provide them all manually if desired.

Then you can run the program with the interface you like.

$ trackma
$ trackma-curses
$ trackma-gtk
$ trackma-qt

uv

When using uv on the cloned repository (see above), you can install your desired extras as follows:

$ uv sync --extra gtk --extra trackers --extra curses
$ uv sync --extra ui --extra discord_rpc
$ uv sync --all-extras

Then you can run the interface you like in your virtual environment managed by uv:

$ uv run trackma
$ uv run trackma-curses
$ uv run trackma-gtk
$ uv run trackma-qt

Configuration

A configuration file will be created in ~/.config/trackma/config.json, make sure to fill in the directory where you store your video files and other settings. Details about what each option does can be done here:

https://github.com/z411/trackma/wiki/Configuration-File

Alternatively, the GTK and Qt interfaces provide a visual Settings panel.

Development

The code is hosted as a git repository on GitHub.

Clone the repo and create the virtual environment using uv:

$ git clone --recursive https://github.com/z411/trackma.git
$ cd trackma
$ uv sync --all-extras

Use the above commands from the uv section for how to run your desired interface.

If you encounter any problems or have anything to suggest, please don't hesitate to submit an issue in the GitHub issue tracker.

License

Trackma is licensed under the GPLv3 license, please see LICENSE for details.

Authors

Trackma was originally written by z411 z411@omaera.org. For other contributors see AUTHORS file. GTK icon designed by shuuichi.

Metadata

Release files for trackma 0.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trackma 0.11.1
File Size Uploaded Provenance Actions
trackma-0.11.1.tar.gz 247.5 kB Without provenance Details for trackma-0.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trackma 0.11.1
File Interpreter ABI Platform Actions
trackma-0.11.1-py3-none-any.whl Python 3 none any Details for trackma-0.11.1-py3-none-any.whl

Total release size: 536.2 kB

Release files / trackma-0.11.1.tar.gz

Download URL trackma-0.11.1.tar.gz
Size 247.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3da86d9406c5186172ad986ce735ea728b943645fd6b2561eebf1480924045fb
BLAKE2b-256 checksum
How to use checksums
37bd128cf2e91057233de81ca376a0ce60eeee71381a854ed780e9fb472e92a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Void","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / trackma-0.11.1-py3-none-any.whl

Download URL trackma-0.11.1-py3-none-any.whl
Size 288.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bee3fcd5de2bac22dd2b321a5f23331dcd333f624e35f315bb9f518b2a2020a
BLAKE2b-256 checksum
How to use checksums
a0179c8daf3851b54d64b34671ceffe5a5e719133169bf497f0f458d13f74050
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Void","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for trackma 0.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page