aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
index f417290b..4639ac61 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -403,6 +403,7 @@ public class SubsonicFragment extends SherlockFragment {
@Override
protected void done(final List<Genre> genres) {
List<String> names = new ArrayList<String>();
+ names.add("Blank");
for(Genre genre: genres) {
names.add(genre.getName());
}
@@ -455,6 +456,9 @@ public class SubsonicFragment extends SherlockFragment {
String genre;
if(useCombo) {
genre = genreCombo.getText().toString();
+ if(genre == null || "Blank".equals(genre)) {
+ genre = "";
+ }
} else {
genre = genreBox.getText().toString();
}