This commit is contained in:
Luke Pulverenti 2014-05-14 16:20:24 -04:00
commit 377a80caab

View File

@ -484,29 +484,29 @@
var url = ""; var url = "";
if (state.primaryImageTag) { if (state.NowPlayingItem.PrimaryImageTag) {
url = ApiClient.getImageUrl(state.primaryImageItemId, { url = ApiClient.getImageUrl(state.NowPlayingItem.PrimaryImageItemId, {
type: "Primary", type: "Primary",
height: 80, height: 80,
tag: state.primaryImageTag tag: state.NowPlayingItem.PrimaryImageTag
}); });
} }
else if (state.backdropImageTag) { else if (state.NowPlayingItem.BackdropImageTag) {
url = ApiClient.getImageUrl(state.backdropItemId, { url = ApiClient.getImageUrl(state.NowPlayingItem.BackdropItemId, {
type: "Backdrop", type: "Backdrop",
height: 80, height: 80,
tag: state.backdropImageTag, tag: state.NowPlayingItem.BackdropImageTag,
index: 0 index: 0
}); });
} else if (state.thumbImageTag) { } else if (state.NowPlayingItem.ThumbImageTag) {
url = ApiClient.getImageUrl(state.thumbImageItemId, { url = ApiClient.getImageUrl(state.NowPlayingItem.ThumbImageItemId, {
type: "Thumb", type: "Thumb",
height: 80, height: 80,
tag: state.thumbImageTag tag: state.NowPlayingItem.ThumbImageTag
}); });
} }