aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-11-25 15:44:12 -0800
committerScott Jackson <daneren2005@gmail.com>2014-11-25 15:44:12 -0800
commit5a989cbc56f7d17462e9856a8746c56724d3fe5e (patch)
tree67a40ee69cf55f8bc72c6e290895160cae287e78
parent4e6c42db5b69e0a18ca02d40de7e4ec0361e24ba (diff)
downloaddsub-5a989cbc56f7d17462e9856a8746c56724d3fe5e.tar.gz
dsub-5a989cbc56f7d17462e9856a8746c56724d3fe5e.tar.bz2
dsub-5a989cbc56f7d17462e9856a8746c56724d3fe5e.zip
Fix using the wrong id for Chromecast cover art
-rw-r--r--src/github/daneren2005/dsub/service/RESTMusicService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/RESTMusicService.java b/src/github/daneren2005/dsub/service/RESTMusicService.java
index db1504f0..c7ca2708 100644
--- a/src/github/daneren2005/dsub/service/RESTMusicService.java
+++ b/src/github/daneren2005/dsub/service/RESTMusicService.java
@@ -598,7 +598,7 @@ public class RESTMusicService implements MusicService {
@Override
public String getCoverArtUrl(Context context, MusicDirectory.Entry entry) throws Exception {
StringBuilder builder = new StringBuilder(getRestUrl(context, "getCoverArt"));
- builder.append("&id=").append(entry.getId());
+ builder.append("&id=").append(entry.getCoverArt());
return builder.toString();
}