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
- Anilist (Anime, Manga)
- Kitsu (Anime, Manga, Drama)
- MyAnimeList (Anime, Manga)
- Shikimori (Anime, Manga)
- VNDB (VNs)
Screenshots
Qt interface
GTK interface
Curses interface
CLI
Dependencies
The only required dependencies to run Trackma are:
- Python 3.9+
- For installation:
python-pip(to install throughpip) orpython-uv(to install throughuv)
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.
- Arch Linux: https://aur.archlinux.org/packages/trackma, http://aur.archlinux.org/packages/trackma-git
- Fedora: https://copr.fedoraproject.org/coprs/dyskette/trackma/
- Gentoo Linux: http://gpo.zugaina.org/net-misc/trackma
- NixOS: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/trackma/default.nix
- Void Linux: https://github.com/void-linux/void-packages/blob/master/srcpkgs/trackma/template
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
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trackma-0.11.tar.gz | 247.4 kB | Without provenance | Details for trackma-0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trackma-0.11-py3-none-any.whl | Python 3 | none | any | Details for trackma-0.11-py3-none-any.whl |
Total release size: 536.1 kB
Release files / trackma-0.11.tar.gz
| Download URL | trackma-0.11.tar.gz |
|---|---|
| Size | 247.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
387a312a0ec7ad3dc40eb85d7f83b5572e9768e8a2cc90043de63f0799396b79
|
|
BLAKE2b-256 checksum How to use checksums |
eb4b3bbac2bd3511b19fed31489c07359f339f33bd6397ddc7d531345951dcbc
|
| 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-py3-none-any.whl
| Download URL | trackma-0.11-py3-none-any.whl |
|---|---|
| Size | 288.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f8a6f96a428ec9f4d0c59698f195c78d569e7dc62a8a5210af4a2173732f07d
|
|
BLAKE2b-256 checksum How to use checksums |
ac169420a5097d624d6cbae7683195e93fada9d6787a248a9e3d502a151c1f16
|
| 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
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.