examples/range.rb in mpd_client-0.0.4 vs examples/range.rb in mpd_client-0.0.5

- old
+ new

@@ -12,8 +12,9 @@ # delete all songs from the current playlist, except for the firts ten client.delete([10,]) # move the first three songs after the fifth number in the playlist -client.move([0, 3], 69) +client.move([0, 3], 5) -pp client.playlistinfo([69, 71]) +# print songs form 5 to 10 +client.playlistinfo([5, 10]).each{ |s| puts "#{s['artist']} - #{s['title']}"}