aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github/daneren2005/dsub/service/CachedMusicService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/CachedMusicService.java b/src/github/daneren2005/dsub/service/CachedMusicService.java
index aa96dc22..a13772a9 100644
--- a/src/github/daneren2005/dsub/service/CachedMusicService.java
+++ b/src/github/daneren2005/dsub/service/CachedMusicService.java
@@ -179,7 +179,8 @@ public class CachedMusicService implements MusicService {
// Anything remaining has been removed from server
MediaStoreService store = new MediaStoreService(context);
for(Entry entry: oldList) {
- Util.recursiveDelete(entry, store);
+ File file = FileUtil.getEntryFile(context, entry);
+ Util.recursiveDelete(file, store);
}
}
}