Skip to content

Commit

Permalink
Quick patch to the Last.FM integration, need to url encode the method…
Browse files Browse the repository at this point in the history
… parameters. Fixes #62

Also includes a version bump to 1.9.1
  • Loading branch information
MarshallOfSound committed Nov 28, 2015
1 parent e3591e6 commit 9dad795
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Google Play Music/CoreMusicApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Google_Play_Music
public partial class CoreMusicApp : MaterialForm
{

private const string CURRENT_VERSION = "1.9.0";
private const string CURRENT_VERSION = "1.9.1";
private MaterialSkinManager skin;
private Size rolling_size;
private Size last_size;
Expand Down
1 change: 1 addition & 0 deletions Google Play Music/Google Play Music.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
<HintPath>..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Threading.Tasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
Expand Down
2 changes: 1 addition & 1 deletion Google Play Music/LastFM.Intergration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private string generateMethodParams(Dictionary<string, string> attributes)
keys.Sort();
foreach (string key in keys)
{
methodParams += "&" + key + "=" + attributes[key];
methodParams += "&" + key + "=" + System.Web.HttpUtility.UrlEncode(attributes[key]);
}
return methodParams;
}
Expand Down

0 comments on commit 9dad795

Please sign in to comment.