music: fix m3u windows path importing

Forgot that Regex always matches the entire string, so I have to tack
on a wildcard.
This commit is contained in:
Alexander Capehart
2023-12-24 11:35:59 -07:00
parent 480b1b28e5
commit 6956ca5915
+1 -1
View File
@@ -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]:\\\\*")
}
}