crisbal / album-splitter

Split single-file MP3 albums into separate tracks. Downloads from YouTube supported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add track number to file names

kjyv opened this issue · comments

The output files are currently unsorted even though the tags are correct.
Alternatively, a custom file name string would be even better.

As this is such a small change I won't create a pull request.
The filenames are properly sorted by replacing split.py:39 with:
track_path = '{}/{:02d} - {}.mp3'.format(FOLDER, index+1, track)

Hey, sorry for not getting back to you on the first message.

Thanks for the fix, create the PR if you want. In the next days I will get back on the project to fix a few of these things.

I fixed it, enjoy!