sanitize song folder name

This commit is contained in:
Alex
2025-09-01 01:45:28 -07:00
parent 0f53028972
commit 7929d43c1c
3 changed files with 7 additions and 6 deletions
+5
View File
@@ -89,4 +89,9 @@ public static class Utils
return (bool)_ffmpegAvailable!;
}
}
public static string RemoveInvalidFileNameChars(string filename)
{
return string.Concat(filename.Split(['/', '\\', '\"', '\'']));
}
}