fix m3u bug

This commit is contained in:
IrosTheBeggar 2021-11-21 19:39:30 -05:00
parent ae0cb0181f
commit db962d0347

View File

@ -125,7 +125,7 @@ exports.setup = (mstream) => {
res.json({
files: songs.map((song) => {
return {
type: getFileType(song),
type: fileExplorer.getFileType(song),
name: path.basename(song),
path: path.join(playlistParentDir, song).replace(/\\/g, '/')
};