From 17f8b7735e0b3352cfa38a015b2cc4ae3d2dee5f Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Fri, 16 Nov 2012 13:59:26 -0800 Subject: Convert invalid characters in playlist names --- subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subsonic-android/src') 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(); -- cgit v1.2.3