A powerful Python tool to automatically organize your music library by genre, language, artist, and more.
- 🌍 Sort by Language - Automatically detect and organize Japanese, English, Korean, and more
- 🎸 Sort by Genre - Categorize using an extensive built-in artist database
- 👤 Sort by Artist - Organize music by artist name
- 🔄 Full Automation - Sort by Language → Genre → Artist in one command
\\�ash
git clone https://github.com/bigmrstorm/music-sorter.git cd music-sorter
pip install -r requirements.txt \\
\\�ash
python music_sorter.py /path/to/music --by-language
python music_sorter.py /path/to/music --by-genre
python music_sorter.py /path/to/music --by-artist
python music_sorter.py /path/to/music --organize-all
python music_sorter.py /source --destination /dest --by-language \\
\ Music/ ├── 紅蓮華 - LiSA.mp3 ├── Babydoll - Dominic Fike.mp3 ├── 夜に駆ける - YOASOBI.mp3 └── Avicii - Wake Me Up.mp3 \
\ Music/ ├── Japanese/ │ ├── JPop/ │ │ ├── 紅蓮華 - LiSA.mp3 │ │ └── 夜に駆ける - YOASOBI.mp3 │ └── Electronic/ │ └── Avicii - Wake Me Up.mp3 └── English/ └── Pop/ └── Babydoll - Dominic Fike.mp3 \
The tool includes built-in genre detection for thousands of artists:
- JPop: Ado, LiSA, YOASOBI, Vaundy, Kenshi Yonezu, Eve
- KPop: BTS, Blackpink, Twice, NewJeans, Stray Kids
- HipHop: Drake, Kendrick Lamar, Eminem, Jay-Z, Kanye West
- Pop: Taylor Swift, Ed Sheeran, Bruno Mars, Billie Eilish
- Rock: Coldplay, Linkin Park, Foo Fighters, Green Day
- Electronic: Avicii, Marshmello, Calvin Harris
Edit the \ARTIST_DATABASE\ in \music_sorter.py:
\\python ARTIST_DATABASE = { 'your artist': 'Your Genre', } \\
- Python 3.7+
- Standard library only (no external dependencies!)
Contributions welcome! Open an issue or submit a pull request.
MIT License - see LICENSE for details.