aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-03-18 17:32:22 -0700
committerScott Jackson <daneren2005@gmail.com>2016-03-18 17:32:22 -0700
commit6e772d15f9407162d24773198b7f95ad700e4510 (patch)
tree7bee3de1b18691b31242c7d5ccd26ea8eb61e2d0 /app/src/main
parent2b4ab7e4f365f7c36158a4d30b27ce104c537f7e (diff)
downloaddsub-6e772d15f9407162d24773198b7f95ad700e4510.tar.gz
dsub-6e772d15f9407162d24773198b7f95ad700e4510.tar.bz2
dsub-6e772d15f9407162d24773198b7f95ad700e4510.zip
Offline Mode: fix error with root level album art
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/service/OfflineMusicService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/OfflineMusicService.java b/app/src/main/java/github/daneren2005/dsub/service/OfflineMusicService.java
index 3048a0db..e1929bf8 100644
--- a/app/src/main/java/github/daneren2005/dsub/service/OfflineMusicService.java
+++ b/app/src/main/java/github/daneren2005/dsub/service/OfflineMusicService.java
@@ -95,7 +95,7 @@ public class OfflineMusicService implements MusicService {
artist.setIndex(file.getName().substring(0, 1));
artist.setName(file.getName());
artists.add(artist);
- } else {
+ } else if(!file.getName().equals("albumart.jpg") && !file.getName().equals(".nomedia")) {
entries.add(createEntry(context, file));
}
}