Skip to main content

CUE sheet Splitter, based on shntool and cuetools libraries.

Project description

Pysplitcue - CUE sheet splitter, based on shntool and cuetools libraries.

Pysplitcue is a stupid wrapper for the shntool and cuetools libraries. It splits big audio tracks using informations contained in the associated "CUE" sheet. It supports Wav, Flac and Ape audio formats and auto tag only for flac format. Requires related '*.cue' file to read audio metadata and execute commands for splitting and tagging.

Requires

  • Python >=3.6
  • cuetools (includes: cuebreakpoints, cueconvert, cueprint, cuetag)
  • shntool (includes: shnsplit)
  • flac
  • mac (monkey's-audio, name depends to your O.S., try search: libmac2, mac)
  • wavpack

Usage

usage: pysplitcue [-h] [-v] [-c] [-p {wav,flac,ape}] -i IMPUTFILE [-o OUTPUTDIR]

optional arguments:

-h, --help show this help message and exit
-v, --version Show the current version and exit
-c, --check-requires List of installed or missing dependencies
-p {wav,flac,ape}, --preferred-format {wav,flac,ape} Preferred audio format to output, default is flac
-i INPUTFILE, --input-cuefile INPUTFILE INPUTFILE must be a CUE sheet with .cue filename extension
-o OUTPUTDIR, --output-dir OUTPUTDIR Output directory, default '.'

Example

pysplitcue -i 'inputfile.cue'

To split and convert wav or ape audio format into the relative individual flac format audio tracks.

pysplitcue -i '/User/music/collection/inputfile.cue' -p wav -o 'my-awesome-tracklist'

This command splits the individual audio tracks into wav format and saves them in the 'my-awesome-tracklist' folder.

Installation

python3 -m pip install pysplitcue

License and Copyright

Copyright © 2010 - 2021 Gianluca Pernigotto
Author and Developer: Gianluca Pernigotto
Mail: jeanlucperni@gmail.com
License: GPL3 (see LICENSE file in the docs folder)

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

pysplitcue-2.1.1.tar.gz (22.3 kB view hashes)

Uploaded Source

Built Distribution

pysplitcue-2.1.1-py3-none-any.whl (37.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