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.
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.
pip3 install audiosegment
git clone https://github.com/jimtuttle/flac-to-mp3.git
Call with source and destintation directories.
./flac-to-mp3.py -s /path/to/source -d /path/to/destination
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details
Thanks to AudioSegement.