Skip to main content

An album track calculator

Project description

trackcalc

trackcalc is a tool to help you convert a list of tracks like this:

01:33 first track 03:21 second track …

into something like this:

00:00 first track 01:33 second track … etc

it takes a tracklist as input, and spits the calculated result to stdout.

You can then redirect stdout into a file, or use sponge to update your tracks file in-place.

ie:

trackcalc tracks.txt > tracks_o.txt

You can use my other tool, albumsplit, to use this tracks file to split up an mp3 file into tracks.

here is a vim macro I use to reformat tracks:

$Bd$0Pa 0j

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

trackcalc-1.0.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

trackcalc-1.0.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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