Skip to content

Commit

Permalink
music: fix m3u windows path importing
Browse files Browse the repository at this point in the history
Forgot that Regex always matches the entire string, so I have to tack
on a wildcard.
  • Loading branch information
OxygenCobalt committed Dec 24, 2023
1 parent 480b1b2 commit 6956ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/oxycblt/auxio/music/external/M3U.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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]:\\\\*")
}
}

0 comments on commit 6956ca5

Please sign in to comment.