diff --git a/lib/m3uWriter.ts b/lib/m3uWriter.ts index fe80a7f..0dff845 100644 --- a/lib/m3uWriter.ts +++ b/lib/m3uWriter.ts @@ -11,7 +11,7 @@ const createM3U = (name: string, songlist: SongMeta[]) => { const path = getLocalPath(song.Path); const name = getSongLocalFileName(song); - m3uWriter.file(nodePath.join(path, name)); + m3uWriter.file('./' + nodePath.join(path, name)); } return m3uWriter.toString(); };