/flac-to-mp3

Convert FLAC to MP3 in Python

Primary LanguagePythonMIT LicenseMIT

flac-to-mp3

Convert FLAC to MP3 in Python

So, maybe you have a music collection containing FLAC, but you also have an iPod or other device which doesn't understand that format and you also don't care for Rockbox. This script can be pointed at a music collection in an arbitrary organization, copy the MP3 files and convert the FLAC files into a new location containing only MP3s that can be used as a source directory for iTunes or other.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

pip3 install audiosegment

Installing

git clone https://github.com/jimtuttle/flac-to-mp3.git

Usage

Call with source and destintation directories. ./flac-to-mp3.py -s /path/to/source -d /path/to/destination

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Thanks

Thanks to AudioSegement.