Skip to content

kazejka/py.ape-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

APE Splitter

A Python script that splits a single .ape (Monkey's Audio) audio file into individual tracks (e.g., MP3, FLAC) using the metadata from a .cue sheet and the powerful ffmpeg codec.

Usage

  1. Place your .ape file and its corresponding .cue file in the same directory.

  2. Run the script from the command line, specifying the .cue file:

    python ape_splitter.py album.cue

    The script will automatically search for an .ape file with the same name as the .cue file.

Command Line Arguments

Argument Description Example
--ffmpeg Specify a custom path to the ffmpeg executable. Use this if ffmpeg is not in your system's PATH or not installed in the default location. --ffmpeg "path\to\ffmpeg"
-o, --output Choose a custom directory for the output files. If not specified, tracks will be saved in the current directory. -o "your\output\folder"

Examples

Example 1: Using a custom ffmpeg path and a custom output directory.

python ape_splitter.py "path\to\album.cue" --ffmpeg "C:\ffmpeg\bin\ffmpeg.exe" -o ".\Output\Album"

Example 2: Simply splitting a file when all tools are installed correctly.

python ape_splitter.py "album.cue"

Requirements

Python 3.6+
FFmpeg installed system-wide or specified via --ffmpeg argument

About

A Python script for splitting .ape files using .cue metadata and the ffmpeg codec.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages