Skip to main content

A helping hand for managing Traktor collections.

Project description

Traktor Buddy

GPL-v3.0 PyPI - Python Version PyPI - Version

A helping hand for managing Traktor collections.

Installation

Traktor Buddy is a pure Python project. It requires at least Python 3.8.

You can install Traktor Buddy by typing the following in a terminal window:

pip install TraktorBuddy

Usage from the command line

Traktor Buddy supports various commands, sometimes with one or more extra arguments:

tktbud <options> <command> <arguments>

The following commands are supported:

help <topic>       - Show a help message. topic is optional (use 'help topics' for a list).
version            - Print the current version.
tag <arguments>    - Add or remove tags (use 'help tag' for a list of arguments).
purge              - Purge all collection backups apart from the most recent.

The following options are supported:

--test/-t          - Run in test mode. Affected tracks are printed out. No changes are saved.
--all/-a           - Apply command to all tracks instead of just ones in a playlist/folder.

Always keep backups. Traktor Buddy creates a backup of your collection in the Backup folder of Traktor before modifying anything but it's best to have your own too just in case.

What is a tag?

Tags are words used to add custom properties or information to tracks. They can then be used to sort tracks more efficiently in smart playlists.

Tags are either single word, which describe a on/off type of value, or can use a name:value format which allows for sorting tracks based on a given value.

Most people will use playlists for sorting tracks in their collections but doing this requires manual upkeep. If you wanted to automatically sort your tracks based on, for example, the spot at which those tracks work in your set, you could add tags like settime:early, settime:late, etc.. and create smart playlists in Traktor that automatically filter for Comments2 contains settime:early.

Another example is, since Traktor doesn't let you create smart playlists based on Playlist membership, you can tag all the tracks in a playlist and then create smart playlists to filter tracks that are in a given playlist and other criterias.

The possibilities are endless.

Usage as a module

You can use Traktor Buddy in your own Python scripts to read and modify Traktor collections.

import TraktorBuddy

collection = TraktorBuddy.Collection()

for track in collection.tracks():
    print(track.title())

The module exposes classes for Collection, Folder, Playlist, Track, etc...

License

TraktorBuddy is distributed under the terms of the GPLv3.0 or later license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

traktorbuddy-1.1.1.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

traktorbuddy-1.1.1-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file traktorbuddy-1.1.1.tar.gz.

File metadata

  • Download URL: traktorbuddy-1.1.1.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for traktorbuddy-1.1.1.tar.gz
Algorithm Hash digest
SHA256 228aac6b5a00e030d8fd361f5a4e0b7e026b3e4ed19362a9b81e3746ad46d0c5
MD5 125d549f7d7b82b0453b982f9159f670
BLAKE2b-256 39f320eab044043323dc1cf44ad1ebe4f7b51e48fea9b5ccf3835e7970a93474

See more details on using hashes here.

File details

Details for the file traktorbuddy-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for traktorbuddy-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e9a48d0990e5c5c21a38deef5c90e70b04a7c24510af2c86ef22e9a0006a908
MD5 d46e4d1320f0f723e334b81c56eae7b8
BLAKE2b-256 b81690ef9e293ed67c82ec4884478b6c40b8e9fe9c9afea1c4e3a560df915de9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page