aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/FileUtil.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/FileUtil.java b/app/src/main/java/github/daneren2005/dsub/util/FileUtil.java
index e581173b..9fb39692 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/FileUtil.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/FileUtil.java
@@ -694,6 +694,8 @@ public class FileUtil {
return "";
}
+ // Airsonic 11 appears to be returning backslashes instead of always forcing path with forward slashes
+ path = path.replace("\\", "/");
for (String s : FILE_SYSTEM_UNSAFE_DIR) {
path = path.replace(s, "-");
}