diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-03-18 17:32:22 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-03-18 17:32:22 -0700 |
commit | 6e772d15f9407162d24773198b7f95ad700e4510 (patch) | |
tree | 7bee3de1b18691b31242c7d5ccd26ea8eb61e2d0 /app/src/main | |
parent | 2b4ab7e4f365f7c36158a4d30b27ce104c537f7e (diff) | |
download | dsub-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.java | 2 |
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)); } } |