From 6956ca5915c99675a5ff721f393db1b4fd9c7ff2 Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Sun, 24 Dec 2023 11:35:10 -0700 Subject: [PATCH] music: fix m3u windows path importing Forgot that Regex always matches the entire string, so I have to tack on a wildcard. --- app/src/main/java/org/oxycblt/auxio/music/external/M3U.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/oxycblt/auxio/music/external/M3U.kt b/app/src/main/java/org/oxycblt/auxio/music/external/M3U.kt index 1139cf87b..53767789a 100644 --- a/app/src/main/java/org/oxycblt/auxio/music/external/M3U.kt +++ b/app/src/main/java/org/oxycblt/auxio/music/external/M3U.kt @@ -262,6 +262,6 @@ class M3UImpl @Inject constructor(@ApplicationContext private val context: Conte } private companion object { - val WINDOWS_VOLUME_PREFIX_REGEX = Regex("^[A-Za-z]:\\\\") + val WINDOWS_VOLUME_PREFIX_REGEX = Regex("^[A-Za-z]:\\\\*") } }