lib/spotify_to_mp3/grooveshark/track.rb in spotify-to-mp3-0.7.1 vs lib/spotify_to_mp3/grooveshark/track.rb in spotify-to-mp3-0.7.2
- old
+ new
@@ -6,10 +6,10 @@
def initialize(client_track)
@client_track = client_track
end
def to_s
- "#{@client_track.artist} - #{@client_track.name}"
+ "#{@client_track.artist.strip} - #{@client_track.name.strip}"
end
def filename
"#{self}.mp3".tr('/', '-') # / is not allowed in file names
end