lib/spotify_to_mp3/app.rb in spotify-to-mp3-0.6.0 vs lib/spotify_to_mp3/app.rb in spotify-to-mp3-0.6.1
- old
+ new
@@ -16,17 +16,16 @@
track = @track_id_resolver.resolve(track_id)
puts "Searching \"#{track}\" on Grooveshark"
grooveshark_track = @grooveshark.get_track(track.grooveshark_query)
- print "Found \"#{grooveshark_track}\""
if File.exists?(grooveshark_track.filename)
# To know about songs no longer in download list
FileUtils.touch grooveshark_track.filename
- puts ", already exists, skipping"
+ puts "Skipping \"#{grooveshark_track}\", it already exists"
else
- puts ", downloading..."
+ puts "Downloading \"#{grooveshark_track}\""
@grooveshark.download(grooveshark_track)
end
rescue Exception => exception # For some reason without the "Exception" it is ignored
puts exception.message.red
# Continue with the next track