aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java b/subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java
index ea45b626..395ad6b6 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java
@@ -97,11 +97,11 @@ public class OfflineMusicService extends RESTMusicService {
}
for(String article: ignoredArticles) {
- int index = lhs.indexOf(article.toLowerCase());
+ int index = lhs.indexOf(article.toLowerCase() + " ");
if(index == 0) {
lhs = lhs.substring(article.length() + 1);
}
- index = rhs.indexOf(article.toLowerCase());
+ index = rhs.indexOf(article.toLowerCase() + " ");
if(index == 0) {
rhs = rhs.substring(article.length() + 1);
}