From 925aed0d26050c4f943adc39120b51bf06974fd0 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Wed, 27 Jun 2012 16:32:18 +0530 Subject: [PATCH 1/2] Grab the artist id for getArtistArt/getAlbumArt javascript queries from the img id rather than the artist href title --- data/interfaces/default/artist.html | 4 ++-- data/interfaces/default/index.html | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/data/interfaces/default/artist.html b/data/interfaces/default/artist.html index 2c1349fc..1e00b281 100644 --- a/data/interfaces/default/artist.html +++ b/data/interfaces/default/artist.html @@ -109,7 +109,7 @@ %> - + ${album['AlbumTitle']} ${album['ReleaseDate']} ${album['Type']} @@ -161,7 +161,7 @@ function getAlbumArt() { $("table#album_table tr td#albumart").each(function(){ - var id = $(this).children('img').attr('title'); + var id = $(this).children('img').attr('id'); var image = $(this).children('img'); if ( !image.hasClass('done') ) { image.addClass('done'); diff --git a/data/interfaces/default/index.html b/data/interfaces/default/index.html index 68fb3492..bcd8cf2b 100644 --- a/data/interfaces/default/index.html +++ b/data/interfaces/default/index.html @@ -53,8 +53,8 @@ %> -
- ${artist['ArtistName']} +
+ ${artist['ArtistName']} ${artist['Status']} ${albumdisplay}
${havetracks}/${totaltracks}
@@ -72,9 +72,9 @@