aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2012-11-16 13:59:26 -0800
committerdaneren2005 <daneren2005@gmail.com>2012-11-16 13:59:26 -0800
commit17f8b7735e0b3352cfa38a015b2cc4ae3d2dee5f (patch)
treee793f21b43012662b767e8598b4631a1ba18bf49 /subsonic-android/src
parent3301af4c340d7d907590591e99c55e52494964d7 (diff)
downloaddsub-17f8b7735e0b3352cfa38a015b2cc4ae3d2dee5f.tar.gz
dsub-17f8b7735e0b3352cfa38a015b2cc4ae3d2dee5f.tar.bz2
dsub-17f8b7735e0b3352cfa38a015b2cc4ae3d2dee5f.zip
Convert invalid characters in playlist names
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java b/subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java
index 2dbf2d26..da7c8fdc 100644
--- a/subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java
+++ b/subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java
@@ -74,7 +74,7 @@ public class FileUtil {
public static File getPlaylistFile(String name) {
File playlistDir = getPlaylistDirectory();
- return new File(playlistDir, name + ".m3u");
+ return new File(playlistDir, fileSystemSafe(name) + ".m3u");
}
public static File getOldPlaylistFile(String name) {
File playlistDir = getPlaylistDirectory();