25 lines
758 B
Markdown
25 lines
758 B
Markdown
# Music Library Converter
|
|
|
|
A lightweight Python script that copies a music directory structure and automatically converts FLAC files to high-quality MP3s.
|
|
|
|
## Requirements
|
|
- Python 3
|
|
- `ffmpeg` installed and available in your system `PATH`
|
|
|
|
## Usage
|
|
1. Open the script and update the `source` and `dest` paths at the top.
|
|
2. Run it:
|
|
```bash
|
|
python3 convert_music.py
|
|
```
|
|
|
|
## How It Works
|
|
- Recreates the exact folder structure in the destination directory.
|
|
- Copies all files over.
|
|
- Converts `.flac` → `.mp3` (320kbps, preserves ID3 metadata).
|
|
- Deletes the original `.flac` file after conversion.
|
|
|
|
## ⚠️ Notes
|
|
- Paths are hardcoded at the top for simplicity.
|
|
- Designed for personal/local use. **Always back up your library before running!**
|