barriellawertheimer/organize-music ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python command line tool that can tidy up a messy music folder by sorting songs into artist and album folders based on their file tags. It should understand common audio files like MP3, FLAC, M4A, OGG, WAV, AAC, OPUS, WMA, AIFF, and ALAC, then rename each file in a clean track number and title format.
I want a preview mode first so I can see what would happen before anything is changed, and then a confirmation step before the real move unless I choose to skip it. It should keep the original file dates by default, write a log of what it did, and optionally copy files instead of moving them. If tags are missing, it should do its best using the folder name or file name. Please also handle duplicate tracks safely, with a duplicates folder option, and let me customize the destination format with a template. If you need to check current library docs while building it, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit