Note: This script requires external tools such as shnsplit, cuetag.sh, and flac. It is a command-line utility for splitting .flac audio files using a .cue sheet.
splitflac is a minimal CLI tool that splits a single .flac album file into individual tracks using a .cue file.
It also applies tags using cuetag.sh if available.
- 🎵 Splits
.flacfiles based on.cuesheets - 🏷️ Adds tags automatically using
cuetag.sh(if present) - 📁 Organises output into a separate directory
- 🐧 Designed for Linux systems
shntoolcuetag.sh(part of cuetools)flac- Bash-compatible shell
Make sure these are installed and available in your $PATH.
git clone https://github.com/loglux-lab/splitflac.git
cd splitflac
chmod +x split.pypython split.py album.flac album.cueThe script will:
- Create a folder named
album_split - Use
shnsplitto split the.flacfile - Add tags with
cuetag.sh(if found) - Move the resulting
.flacfiles into the folder
python split.py "Pink Floyd - Animals.flac" "Pink Floyd - Animals.cue"MIT License — see LICENSE for details.