Skip to content

bigmrstorm/music-sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Sorter 🎵

A powerful Python tool to automatically organize your music library by genre, language, artist, and more.

✨ Features

  • 🌍 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

📦 Installation

\\�ash

Clone the repository

git clone https://github.com/bigmrstorm/music-sorter.git cd music-sorter

Install dependencies

pip install -r requirements.txt \\

🚀 Usage

\\�ash

Sort by language

python music_sorter.py /path/to/music --by-language

Sort by genre

python music_sorter.py /path/to/music --by-genre

Sort by artist

python music_sorter.py /path/to/music --by-artist

Full organization

python music_sorter.py /path/to/music --organize-all

Custom destination

python music_sorter.py /source --destination /dest --by-language \\

📂 Example

Before:

\ Music/ ├── 紅蓮華 - LiSA.mp3 ├── Babydoll - Dominic Fike.mp3 ├── 夜に駆ける - YOASOBI.mp3 └── Avicii - Wake Me Up.mp3 \

After (--organize-all):

\ Music/ ├── Japanese/ │ ├── JPop/ │ │ ├── 紅蓮華 - LiSA.mp3 │ │ └── 夜に駆ける - YOASOBI.mp3 │ └── Electronic/ │ └── Avicii - Wake Me Up.mp3 └── English/ └── Pop/ └── Babydoll - Dominic Fike.mp3 \

🎤 Supported Artists Database

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

Adding Custom Artists

Edit the \ARTIST_DATABASE\ in \music_sorter.py:

\\python ARTIST_DATABASE = { 'your artist': 'Your Genre', } \\

📋 Requirements

  • Python 3.7+
  • Standard library only (no external dependencies!)

🤝 Contributing

Contributions welcome! Open an issue or submit a pull request.

📄 License

MIT License - see LICENSE for details.

👤 Author

bigmrstorm

About

Organize your music library by genre, language, artist, and more

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages