aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/service/OfflineMusicService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/OfflineMusicService.java b/src/github/daneren2005/dsub/service/OfflineMusicService.java
index c26a2fc4..887ad84f 100644
--- a/src/github/daneren2005/dsub/service/OfflineMusicService.java
+++ b/src/github/daneren2005/dsub/service/OfflineMusicService.java
@@ -320,6 +320,10 @@ public class OfflineMusicService implements MusicService {
for(File songFile : FileUtil.listMediaFiles(albumFile)) {
String songName = getName(songFile);
+ if(songName == null) {
+ continue;
+ }
+
if(songFile.isDirectory()) {
recursiveAlbumSearch(artistName, songFile, criteria, context, albums, songs);
}