aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-06-30 22:10:37 -0700
committerScott Jackson <daneren2005@gmail.com>2013-06-30 22:10:37 -0700
commitba540b9b9218756c479b98616fe9f1000cab0d2d (patch)
treee6658cb0bfe438cc469bf4e3c45277c2b8a59539 /subsonic-android/src
parent07858677d17b21e37652979bd34642698bae4497 (diff)
parent20539ab5b062993cb9c31ac4b4650aff1901db69 (diff)
downloaddsub-ba540b9b9218756c479b98616fe9f1000cab0d2d.tar.gz
dsub-ba540b9b9218756c479b98616fe9f1000cab0d2d.tar.bz2
dsub-ba540b9b9218756c479b98616fe9f1000cab0d2d.zip
Merge branch 'master' of https://github.com/daneren2005/Subsonic.git
Diffstat (limited to 'subsonic-android/src')
-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);
}