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.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java b/subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java
index c63fc0f3..b4c48bde 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/OfflineMusicService.java
@@ -92,6 +92,15 @@ public class OfflineMusicService extends RESTMusicService {
return -1;
}
+ int index = lhs.indexOf("The ");
+ if(index == 0) {
+ lhs = lhs.substring(4, 0);
+ }
+ index = rhs.indexOf("The ");
+ if(index == 0) {
+ rhs = rhs.substring(4, 0);
+ }
+
return lhs.compareTo(rhs);
}
});