Use Playlist.Add json command to update playlist.

Pep8'd the code.
Use json format when using Last.fm api.
Renamed some variables.