diff --git a/app/src/main/java/org/oxycblt/auxio/music/external/ExternalPlaylistManager.kt b/app/src/main/java/org/oxycblt/auxio/music/external/ExternalPlaylistManager.kt index 1a7eed2be..1cf0b0810 100644 --- a/app/src/main/java/org/oxycblt/auxio/music/external/ExternalPlaylistManager.kt +++ b/app/src/main/java/org/oxycblt/auxio/music/external/ExternalPlaylistManager.kt @@ -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)