diff --git a/app/AndroidManifest.xml b/app/AndroidManifest.xml index 0f6c699d..f3f51355 100644 --- a/app/AndroidManifest.xml +++ b/app/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="fm.last.android" android:versionCode="63" android:versionName="1.9.9.2"> diff --git a/app/src/fm/last/android/player/StreamProxy.java b/app/src/fm/last/android/player/StreamProxy.java index 6c83f1d5..6a8013d2 100644 --- a/app/src/fm/last/android/player/StreamProxy.java +++ b/app/src/fm/last/android/player/StreamProxy.java @@ -157,7 +157,7 @@ private HttpRequest readRequest(Socket client) { if(line != null && line.toLowerCase().startsWith("user-agent: ")) { ua = line.substring(12); } - } while(line != null && reader.ready()); + } while(line != null && !"".equals(line) && reader.ready()); } catch (IOException e) { Log.e(LOG_TAG, "Error parsing request", e); return request; @@ -373,4 +373,4 @@ protected ClientConnectionOperator createConnectionOperator( } } -} \ No newline at end of file +}