diff --git a/.idea/misc.xml b/.idea/misc.xml
index 1c9e3220..6832b13e 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,7 +3,7 @@
-
+
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index d5d07cad..126ee7de 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -23,7 +23,17 @@
-
+
+
+
+
+
+
+
+
+
+
+
@@ -86,39 +96,28 @@
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
-
+
@@ -127,61 +126,64 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
+
+
@@ -194,14 +196,22 @@
-
+
+
+
@@ -209,30 +219,30 @@
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
@@ -260,6 +270,8 @@
+
+
@@ -318,38 +330,52 @@
-
+
-
-
-
+
+
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -506,38 +532,43 @@
1370584979416
1370584979416
+
+ 1370596209522
+ 1370596209522
+
+
-
-
+
+
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -582,7 +613,7 @@
-
+
@@ -596,133 +627,127 @@
+
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index e4c45f96..2d0152c4 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2,8 +2,8 @@
+ a:versionCode="31"
+ a:versionName="1.2.0.4" >
diff --git a/src/com/thejoshwa/ultrasonic/androidapp/service/RESTMusicService.java b/src/com/thejoshwa/ultrasonic/androidapp/service/RESTMusicService.java
index 36dcfa13..0e3f4a22 100644
--- a/src/com/thejoshwa/ultrasonic/androidapp/service/RESTMusicService.java
+++ b/src/com/thejoshwa/ultrasonic/androidapp/service/RESTMusicService.java
@@ -968,16 +968,23 @@ public class RESTMusicService implements MusicService {
// received intact. Remember, HTTP POST requests are converted to GET
// requests during HTTP redirects, thus
// loosing its entity.
- if (parameterNames != null && parameterNames.size() < 10) {
- StringBuilder builder = new StringBuilder(url);
- for (int i = 0; i < parameterNames.size(); i++) {
- builder.append("&").append(parameterNames.get(i)).append("=");
- builder.append(URLEncoder.encode(String.valueOf(parameterValues.get(i)), "UTF-8"));
- }
- url = builder.toString();
- parameterNames = null;
- parameterValues = null;
- }
+
+ if (parameterNames != null) {
+ int parameters = parameterNames.size();
+
+ if (parameters < 10) {
+ StringBuilder builder = new StringBuilder(url);
+
+ for (int i = 0; i < parameters; i++) {
+ builder.append("&").append(parameterNames.get(i)).append("=");
+ builder.append(URLEncoder.encode(String.valueOf(parameterValues.get(i)), "UTF-8"));
+ }
+
+ url = builder.toString();
+ parameterNames = null;
+ parameterValues = null;
+ }
+ }
String rewrittenUrl = rewriteUrlWithRedirect(context, url);
return executeWithRetry(context, rewrittenUrl, url, requestParams, parameterNames, parameterValues, headers, progressListener, task);
@@ -986,15 +993,14 @@ public class RESTMusicService implements MusicService {
private HttpResponse executeWithRetry(Context context, String url, String originalUrl, HttpParams requestParams, List parameterNames, List