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:10 -07:00
parent 480b1b28e5
commit 6956ca5915
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

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]:\\\\*")
}
}