From: David ‘Bombe’ Roden Date: Fri, 23 Sep 2011 09:42:25 +0000 (+0200) Subject: Store album image ID in fingerprint. X-Git-Tag: 0.7^2~2^2~25 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=93f0ede3deb89c56f023a42e8ced4cd4cdc579a3;p=Sone.git Store album image ID in fingerprint. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Album.java b/src/main/java/net/pterodactylus/sone/data/Album.java index 88029e1..2bbbb57 100644 --- a/src/main/java/net/pterodactylus/sone/data/Album.java +++ b/src/main/java/net/pterodactylus/sone/data/Album.java @@ -367,6 +367,9 @@ public class Album implements Fingerprintable { fingerprint.append("ID(").append(id).append(')'); fingerprint.append("Title(").append(title).append(')'); fingerprint.append("Description(").append(description).append(')'); + if (albumImage != null) { + fingerprint.append("AlbumImage(").append(albumImage).append(')'); + } /* add nested albums. */ fingerprint.append("Albums(");