fixed ass fixing process
This commit is contained in:
parent
e1d36be2d7
commit
e3c823d599
@ -20,14 +20,16 @@ export async function downloadCRSub(
|
||||
|
||||
var parsedASS = parse(await response.text())
|
||||
|
||||
// Disabling Changing ASS because still broken in vlc
|
||||
parsedASS.info['Original Script'] = 'crd [https://github.com/stratuma/]'
|
||||
|
||||
// parsedASS.info.PlayResX = "1920";
|
||||
// parsedASS.info.PlayResY = "1080";
|
||||
parsedASS.info.PlayResX = "1920";
|
||||
parsedASS.info.PlayResY = "1080";
|
||||
|
||||
// for (const s of parsedASS.styles.style) {
|
||||
// (s.Fontsize = "54"), (s.Outline = "4");
|
||||
// }
|
||||
for (const s of parsedASS.styles.style) {
|
||||
if (s.Fontname === 'Arial') {
|
||||
(s.Fontsize = "54"), (s.Outline = "4");
|
||||
}
|
||||
}
|
||||
|
||||
const fixed = stringify(parsedASS)
|
||||
|
||||
|
Reference in New Issue
Block a user