Skip to content

Instantly share code, notes, and snippets.

@hotchpotch
Created May 16, 2011 13:29
Show Gist options
  • Save hotchpotch/974440 to your computer and use it in GitHub Desktop.
Save hotchpotch/974440 to your computer and use it in GitHub Desktop.
rounzi night playlist
#!ruby
require 'rubygems'
require 'rbosa'
target_playlist = 'rounzi night'
OSA.utf8_strings = true
OSA::ObjectSpecifierList.extend Enumerable
itunes = OSA.app('iTunes')
playlists = itunes.sources.map {|s| s.playlists.to_a }.flatten.select {|pl| pl.name == target_playlist }
playlists.each do |playlist|
playlist.tracks.each do |track|
if track.enabled?
puts "#{track.name} / #{track.album} / #{track.artist}"
end
end
end
Night In Tunisia / Charlie Parker Story On Dial Vol.1 Westcoast Days / Charlie Parker
Laura / Charlie Parker With Strings: The Master Takes / Charlie Parker
I Want To Be Happy / The Amazing Bud Powell, Vol. 2 / Bud Powell
You 'd Be So Nice To Come Home To / Art Pepper Meets The Rhythm Section / Art Pepper
Lotus Blossom / Quiet Kenny / Kenny Dorham
Cheese Cake / Go / Dexter Gordon
Waltz For Debby (Take 2) / Waltz For Debby [Live] / Bill Evans
Work Song / Work Song (Remastered) / Nat Adderley
Love Theme From "Spartacus" / Eastern Sounds / Yusef Lateef
Blues Oriental / Things Are Getting Better / Cannonball Adderley
Down By The Riverside / Jimmy & Wes: The Dynamic Duo / Jimmy Smith & Wes Montgomery
Daahoud / A World Of Piano / Phineas Newborn Jr.
Autumn Leaves / Somethin' Else / Cannonball Adderley
Night Lights (1965 Version) / Night Lights / Gerry Mulligan
So What / Kind Of Blue / Miles Davis
Speak No Evil / Wayne Shorter / Wayne Shorter
Gibraltar / Salt Song / Stanley Turrentine
Nuttville / The Roar Of '74 / Buddy Rich
Road Song / Road Song / Wes Montgomery
Chameleon / Head Hunters / Herbie Hancock
I Can't Help It / Nights In Brazil / Judy Roberts
Airegin / Manhattan Jazz Quintet / Manhattan Jazz Quintet
Give Me The Night / Give Me The Night / George Benson
La Fiesta / 2008- 2-Duet / Chick Corea & Gary Burton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment