I nearly wrote a script that transfers my iTunes logic from 2015-03-16-ruby-itunes-ratings-fun to Rhythmbox. Instead I used Edgar Salgado’s version of iTunesToRhythm.
See, I have been spending most of my time lately in GNOME 3 on openSUSE Linux. All of my music is copied over and loaded into Rhythmbox, but I wanted to continue my quest to rate all of my music. I spent roughly an hour starting my own solution before realizing that this was probably a solved problem.
Salgado’s code is a fork of another project, but he won my heart because he wrote how to use his version.
Some things about the process annoyed me. For some strange reason, not every iTunes entry included a file location. I manually fixed those. More annoying: the iTunes XML showed roughly 7,000 tracks as rated even though the iTunes application showed over 10,000 as rated. I chose to live with that. It’s only 3,000 tracks that I need to rate again.
sigh
Hey, let’s make a pretty picture.
graph-ratings.rb
This calls for Nokogiri instead of plist, which gives me the opportunity to flex my amazing XPath skills. Nothing too complex. Thank goodness.
How about that pretty picture?
I’ve made progress since March. It looks less like Pac Man now.