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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file trackcalc-1.0.0.tar.gz.

File metadata

  • Download URL: trackcalc-1.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.27.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for trackcalc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8962dc1fa05888866b34c599812665fcc3d07fb4f884f73a018a2c24e9efeeb2
MD5 e606b9c936488c2d31aea6a3ea4b8a96
BLAKE2b-256 b2e418bc912f6dad0a14b16662289a0547c9d72903b321e458b635ac3ee159a3

See more details on using hashes here.

File details

Details for the file trackcalc-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: trackcalc-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.27.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for trackcalc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a4f30c31c66a0b98439c5ee504bd71ef8bb91b344e60f0ffd3ea31908a38fb3
MD5 b507f5c7700c76d3a81d14558fd89b4b
BLAKE2b-256 435167c89e05d1fce8159cbf5c2e6ccc0165d41f438059943977cc25b505b647

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