Skip to content

Instantly share code, notes, and snippets.

View xtianpaiva's full-sized avatar
👨‍💻

Chris Paiva xtianpaiva

👨‍💻
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.asb.toggleairport</string>
<key>OnDemand</key>
<true/>
<key>ProgramArguments</key>
<array>
@xtianpaiva
xtianpaiva / itunes_match_meta.rb
Created March 18, 2012 18:32
Select tracks in iTunes and this script will search for tracks metadata from iTunes stores and apply metadata to track. <http://forums.macrumors.com/showthread.php?t=1275897> // added 'spanish' support
#!/usr/bin/env ruby
# reviewed by Erik B on January 21 2012
# by @tapbot_paul
# Don't blame me if this nukes your metadata, formats your drive, kills your kids
# This script goes through any iCloud Matched songs in your iTunes library and tries to update the
# metadata from the iTunes Store
# Will run against selected tracks or if nothing selected entire library
# install the required gems with the following commands
# sudo gem install json --no-ri --no-rdoc
# sudo gem install rb-appscript --no-ri --no-rdoc