Skip to content

Commit

Permalink
music: fix working directory in m3u export
Browse files Browse the repository at this point in the history
  • Loading branch information
OxygenCobalt committed Jan 1, 2024
1 parent 244373e commit bf9667f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ constructor(
val filePath = documentPathFactory.unpackDocumentUri(uri) ?: return false
val workingDirectory =
if (config.absolute) {
filePath.directory
} else {
Path(filePath.volume, Components.parseUnix("/"))
} else {
filePath.directory
}
return try {
val outputStream = context.contentResolverSafe.openOutputStream(uri)
Expand Down

0 comments on commit bf9667f

Please sign in to comment.