simon-weber/Unofficial-Google-Music-API — pull request #50 by shanet (2012-11-20 08:22:56+00:00)
Title: changed gm_type to type

I was getting the following errors on a small playlist sync script I made:

2012-11-20 03:01:28,417 - gmusicapi.Api - WARNING - Received an unexpected response from call loadplaylist.
2012-11-20 03:01:28,433 - gmusicapi.Api - WARNING - error was: Failed to validate field 'playlists' list schema: Failed to validate field 'playlist' list schema: additional properties not defined by 'properties' are not allowed in list item

2012-11-20 03:01:37,912 - gmusicapi.Api - WARNING - Received an unexpected response from call loadalltracks.
2012-11-20 03:01:37,938 - gmusicapi.Api - WARNING - error was: Failed to validate field 'playlist' list schema: additional properties not defined by 'properties' are not allowed in list item

After inspecting the log and reading about issue #36, I figured something similar was the cause. I'm not terribly familiar with this project, or Python in general, but changing "gm_type" to just "type" made the errors go away. I'm not sure if this is a proper fix, or if I broke something else, but here's the commit with my fix for consideration regardless.