mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
fix m3u bug
This commit is contained in:
parent
ae0cb0181f
commit
db962d0347
@ -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, '/')
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user