diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-01-17 14:23:46 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-01-17 14:23:46 -0800 |
commit | 82c49dc8fda740a06f39c227167e9845b85b7ba9 (patch) | |
tree | aa2062a24c27d3bf832abea47338e5ef2af22c9f | |
parent | b245d3850b5682cad2515be471dfa5b5975464a2 (diff) | |
download | dsub-82c49dc8fda740a06f39c227167e9845b85b7ba9.tar.gz dsub-82c49dc8fda740a06f39c227167e9845b85b7ba9.tar.bz2 dsub-82c49dc8fda740a06f39c227167e9845b85b7ba9.zip |
Don't try to load artistInfo when offline either
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java index 9587ff4e..0d160a59 100644 --- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java @@ -690,7 +690,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter }
// If artist, we want to load the artist info to use later
- if(artist && ServerInfo.checkServerVersion(context, "1.11")) {
+ if(artist && ServerInfo.checkServerVersion(context, "1.11") && !Util.isOffline(context)) {
artistInfo = musicService.getArtistInfo(id, refresh, context, this);
}
|