Fix formatting

This commit is contained in:
Denoder 2025-10-08 18:15:08 -04:00
parent deb3e2407f
commit 958296c900

View file

@ -2758,10 +2758,10 @@ export default class Crunchy implements ServiceClass {
// Add PlayResX, PlayResY, Timer and WrapStyle
const idx = lines.findIndex((l) => l.trim() === '[Script Info]');
if (idx !== -1) {
const hasPlayResX = lines.some(l => l.match(/^PlayResX:/));
const hasPlayResY = lines.some(l => l.match(/^PlayResY:/));
const hasTimer = lines.some(l => l.match(/^Timer:/));
const hasWrapStyle = lines.some(l => l.match(/^WrapStyle:/));
const hasPlayResX = lines.some((l) => l.match(/^PlayResX:/));
const hasPlayResY = lines.some((l) => l.match(/^PlayResY:/));
const hasTimer = lines.some((l) => l.match(/^Timer:/));
const hasWrapStyle = lines.some((l) => l.match(/^WrapStyle:/));
const toInsert = [`SubtitleLanguage: ${langItem.name}`];
@ -3319,7 +3319,3 @@ export default class Crunchy implements ServiceClass {
return episodeList;
}
}