We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a16f71d commit 64b916eCopy full SHA for 64b916e
1 file changed
musikr/src/main/java/org/oxycblt/musikr/playlist/m3u/M3U.kt
@@ -208,9 +208,9 @@ private class M3UImpl(private val volumeManager: VolumeManager) : M3U() {
208
if (config.windowsPaths) {
209
// Assume the plain windows C volume, since that's probably where most music
210
// libraries are on a windows PC.
211
- "C:\\\\${song.path.components.windowsString}"
+ "C:\\\\${song.path.volume.components?.let { it.windowsString + "\\" } ?: ""}${song.path.components.windowsString}"
212
} else {
213
- "/${song.path.components.unixString}"
+ "/${song.path.volume.components?.let { it.unixString + "/" } ?: ""}${song.path.components.unixString}"
214
}
215
216
// First need to make this path relative to the working directory of the M3U
0 commit comments