https://github.com/vb2007/music-sorter
A simple Python script for sorting music files into folders according to their album names contained in their metadata.
https://github.com/vb2007/music-sorter
music python
Last synced: about 13 hours ago
JSON representation
A simple Python script for sorting music files into folders according to their album names contained in their metadata.
- Host: GitHub
- URL: https://github.com/vb2007/music-sorter
- Owner: vb2007
- Created: 2024-04-21T21:31:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-04T20:50:48.000Z (9 months ago)
- Last Synced: 2025-10-04T22:19:08.707Z (9 months ago)
- Topics: music, python
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A simple music sorter made with Python
A script, that runs through a specified folder's songs, then puts them into their album's folders.
It's made to be used with [spotyDL](https://github.com/spotDL/spotify-downloader).
## Usage
### Generally on Windows
Install dependencies with `pip`:
```shell
pip install -r requirements.txt
```
Then run the script:
```shell
python main.py
```
### Using venv
#### Install required packages using your package manager
Using apt:
```shell
sudo apt install python3.11 python3.11-venv pip
```
Using pacman:
```shell
sudo pacman -S python3
```
#### Create & use a venv
Creating a venv:
```shell
python3 -m venv music-sorter
```
Activating the venv:
```shell
source music-sorter/bin/activate
```
Installing dependencies:
```shell
pip install -r requirements.txt
```
Running the script:
```shell
python3 main.py
```
Deactivating the venv (when done):
```shell
deactivate
```