photo
Jordan Sissel
geek

Sat, 01 Sep 2007

Music sorting

My music collection was fairly randomly sorted. Until today. In the past, I had ripped some of my CDs to random locations which inevitably moved around over the years, for whatever reason. This made finding a particular song annoying without something that already had parsed the ID3 tags.

I tried to use iTunes to 'consolidate' my library into /path/[artist]/[album]/[title].mp3 but for whatever reason it would get some percentage complete and then die. I assume it has something to do with strange non-alphanumeric upper-ascii characters in filenames and iTunes was using files over a samba share.

Whatever the reason, I had to fix this myself. I have two scripts now. One parses the ID3 tags and stores them in a file, and one uses that data to organize songs into the aforementioned directory structure.

Scripts: findsongs.py and migratemusic.py

Comments: 1 (view comments)
Tags: ,
Permalink: /geekery/music-library-organization
posted at: 07:06


1 responses to 'Music sorting'

macdet posted at Sat Sep 1 12:28:34 2007...
thx for sharing. 1 step closer to sort the things :)

<a href="http://wiki.mobbing-gegner.de/mywiki/?action=fullsearch&context=180&value=player">http://wiki.mobbing-gegner.de/mywiki/?action=fullsearch&context=180&value=player</a>


Leave a reply

You need javascript enabled to use this form. Anti-spam efforts ongoing. Also, if the comment doesn't show up, it's because the form expired. Go back and copy your comment, reload the form, and resubmit. Apologies if this is a hassle, I'm just playing with antispam methods right now. If this insists on not working, please email me about it.

Name (required)
E-mail (optional, if you want me to be able to email you back)
URL (also optional)
Comment:


Search this site

Navigation

Metadata

Home About Resume My Code (SVN)

Articles

ARP Security Dynamic DNS with DHCP OpenLDAP+Kerberos+SASL PPP over SSH SSH Security: /bin/false Week of Unix Tools Work Efficiency

Projects

fex firefox tabsearch firefox urledit grok keynav liboverride newpsm (FreeBSD) nis2ldap pam_captcha poor man's backup Solaris audio utility xboxproxy xdotool xmlpresenter xpathtool misc scripts

Presentations

Yahoo! Hack Day '08 Yahoo! Hack Day '06 Unix Essentials Vi/Vim Essentials SSH Tunneling (Video)

Tag Cloud

Calendar

< September 2007 >
SuMoTuWeThFrSa
       1
2 3 4 5 6 7 8
9101112131415
16171819202122
23242526272829
30      

Friends

BarCamp Kent Brewster Tantek Çelik John Resig Wesley Shields Tyler Shields

Technorati