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:
parent
480b1b28e5
commit
6956ca5915
1 changed files with 1 additions and 1 deletions
|
@ -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]:\\\\*")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue