aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-01-21 06:00:00 -0800
committerScott Jackson <daneren2005@gmail.com>2014-01-21 06:00:00 -0800
commit07cd966b83c84a386dfca985fd3a81de71ffac71 (patch)
tree9bedb6fabd721927e17ee085e88915a176214843 /src
parent25740fa10121aad331c9612420c04334c2f9e8e2 (diff)
downloaddsub-07cd966b83c84a386dfca985fd3a81de71ffac71.tar.gz
dsub-07cd966b83c84a386dfca985fd3a81de71ffac71.tar.bz2
dsub-07cd966b83c84a386dfca985fd3a81de71ffac71.zip
Fix album not showing as cached
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/util/FileUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/util/FileUtil.java b/src/github/daneren2005/dsub/util/FileUtil.java
index 8ee8d0ba..8fa9796e 100644
--- a/src/github/daneren2005/dsub/util/FileUtil.java
+++ b/src/github/daneren2005/dsub/util/FileUtil.java
@@ -213,7 +213,7 @@ public class FileUtil {
} else {
// Do a special lookup since 4.7+ doesn't match artist/album to entry.getPath
String s = Util.getRestUrl(context, null, false) + entry.getId();
- String cacheName = "directory-" + s.hashCode() + ".ser";
+ String cacheName = (Util.isTagBrowsing(context) ? "album-" : "directory-") + s.hashCode() + ".ser";
MusicDirectory entryDir = FileUtil.deserialize(context, cacheName, MusicDirectory.class);
if(entryDir != null) {