diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-04-14 17:44:16 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-04-14 17:44:16 -0700 |
commit | fc20c13e81a7194c372a9f3bc598840776bcbbf3 (patch) | |
tree | 27cd8d6aa2627bf56cda575ae3a56dc5c8c46072 /src/github/daneren2005 | |
parent | 1bbaf7dbd35e58e599313f96a09cf0b5cf766731 (diff) | |
download | dsub-fc20c13e81a7194c372a9f3bc598840776bcbbf3.tar.gz dsub-fc20c13e81a7194c372a9f3bc598840776bcbbf3.tar.bz2 dsub-fc20c13e81a7194c372a9f3bc598840776bcbbf3.zip |
Using redirects on Chromecast breaks certificate verification
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/service/RESTMusicService.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/service/RESTMusicService.java b/src/github/daneren2005/dsub/service/RESTMusicService.java index bdb61f91..1f128ee8 100644 --- a/src/github/daneren2005/dsub/service/RESTMusicService.java +++ b/src/github/daneren2005/dsub/service/RESTMusicService.java @@ -637,8 +637,7 @@ public class RESTMusicService implements MusicService { public String getCoverArtUrl(Context context, MusicDirectory.Entry entry) throws Exception { StringBuilder builder = new StringBuilder(getRestUrl(context, "getCoverArt")); builder.append("&id=").append(entry.getId()); - String url = rewriteUrlWithRedirect(context, builder.toString()); - return url; + return builder.toString(); } @Override @@ -726,7 +725,7 @@ public class RESTMusicService implements MusicService { builder.append("&id=").append(song.getId()); builder.append("&maxBitRate=").append(maxBitrate); - String url = rewriteUrlWithRedirect(context, builder.toString()); + String url = builder.toString(); Log.i(TAG, "Using music URL: " + stripUrlInfo(url)); return url; } |