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:
@@ -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]:\\\\*")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user