aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/service/CachedMusicService.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/CachedMusicService.java b/src/github/daneren2005/dsub/service/CachedMusicService.java
index f68adb7b..6f9597c0 100644
--- a/src/github/daneren2005/dsub/service/CachedMusicService.java
+++ b/src/github/daneren2005/dsub/service/CachedMusicService.java
@@ -1244,7 +1244,14 @@ public class CachedMusicService implements MusicService {
public abstract void updateResult(Entry result);
public void execute() {
- new MusicDirectoryUpdater(context, "directory", entry.getParent()) {
+ String cacheName;
+ if(Util.isTagBrowsing(context, musicService.getInstance(context))) {
+ cacheName = "album";
+ } else {
+ cacheName = "directory";
+ }
+
+ new MusicDirectoryUpdater(context, cacheName, entry.getParent()) {
@Override
public boolean checkResult(Entry check) {
return GenericSongUpdater.this.checkResult(check);