mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-04 00:35:06 +00:00
fixed slash handling in file names
This commit is contained in:
parent
f1a35a0c6d
commit
dfdf8580be
3 changed files with 4 additions and 4 deletions
|
|
@ -22,8 +22,8 @@ export default async function(obj) {
|
|||
bestQuality = m3u8.find((i) => (Number(quality) === i["resolution"].height));
|
||||
}
|
||||
let fileMetadata = {
|
||||
title: cleanString(play.title.replace(/\p{Emoji}/gu, '').trim()),
|
||||
artist: cleanString(play.author.name.replace(/\p{Emoji}/gu, '').trim()),
|
||||
title: cleanString(play.title.trim()),
|
||||
artist: cleanString(play.author.name.trim()),
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue