Parse iTunes xml and algorithmically determine a favourite songs playlist
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
IgorTunes.ipf
README.md
parsenoko.rb

README.md

IgorTunes

Parse iTunes xml and algorithmically determine a "favourite songs" playlist

Working on a copy of 'iTunes Music Library.xml' run the parsenoko.rb script using

find . -name "*.xml" -exec ruby parsenoko.rb {} playlist.tsv \;

This file needs to be cleaned slightly before importing into Igor see this blog post.
You import the data using:
LoadWave /N=Column/O/K=2/J/V={"\t"," $",0,0}
and then run
iTunes()
DateRead()
Predictor()
WritePlayList(50) //whatever length of playlist you'd like
Save as *.m3u file and drag back into iTunes.