Skip to content

tsimbalyuk-sergiy/music-sorter

Repository files navigation

MUSIC-SORTER

Small tool to sort new music albums.

Sorting based on format(mp3, flac) and genre.

At first start app will create sample configuration file in directory:

$HOME/.config/music-sorter/music-sorter.properties

WARNING

Application will overwrite existing files

All folders with be moved to corresponding directories based on file extensions and metadata genre

e.g.:

■ root
├──■ flac
│  └──■  Some Genre
│     └──■  First Folder
│        ├── ■ file.jpg
│        ├── ■ file.m3u
│        └── ■ file.flac
└──■ mp3
   ├──■  Another Genre
   │  └──■  Second Folder
   │     ├── ■ file.jpg
   │     └── ■ file.mp3
   └──■  Another One Genre
      └──■  Third Folder
         ├── ■ file.jpg
         └── ■ file.mp3

Native binary

To build native binary update paths in variables:

GRAAL
UPX

or you can comment out upx part

music-sorter.properties example

source=/some/folder/in
target=/some/folder/out                
live_releases_skip=true
live_releases_patterns=-SAT-,-DVBS-,-SBD-

TODO

  • clean up parent directory
  • if folder doesn't contain any MP3/FLAC files - move it to some specific dir?
  • check sfv/md5 (if enabled)