lib/grooveshark/playlist.rb in grooveshark-0.2.8.1 vs lib/grooveshark/playlist.rb in grooveshark-0.2.8.2

- old
+ new

@@ -18,11 +18,11 @@ end end # Fetch playlist songs def load_songs - @songs = @client.request('playlistGetSongs', :playlistID => @id)['songs'] + @songs = @client.request('getPlaylistByID', :playlistID => @id)['songs'] @songs.map! { |s| Song.new(s) } end # Rename playlist def rename(name, description) @@ -39,6 +39,6 @@ # Delete existing playlist def delete @client.request('deletePlaylist', {:playlistID => @id, :name => @name}) end end -end \ No newline at end of file +end