diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-01-25 12:57:32 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-01-25 12:57:32 -0800 |
commit | a7825eb5c59ec9fd6e1591b067a9d0a66a30b5d1 (patch) | |
tree | cc3b1d8a7a55ab00891a1e039932ce01944629c3 /src/github | |
parent | 46cc8e0d52946053babff601618b8f2b44a85b31 (diff) | |
download | dsub-a7825eb5c59ec9fd6e1591b067a9d0a66a30b5d1.tar.gz dsub-a7825eb5c59ec9fd6e1591b067a9d0a66a30b5d1.tar.bz2 dsub-a7825eb5c59ec9fd6e1591b067a9d0a66a30b5d1.zip |
Rewrite cover art url as well
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/service/RESTMusicService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/RESTMusicService.java b/src/github/daneren2005/dsub/service/RESTMusicService.java index bd746165..c7301cfd 100644 --- a/src/github/daneren2005/dsub/service/RESTMusicService.java +++ b/src/github/daneren2005/dsub/service/RESTMusicService.java @@ -601,7 +601,9 @@ 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.getCoverArt()); - return builder.toString(); + String url = builder.toString(); + url = rewriteUrlWithRedirect(context, url); + return url; } @Override |