mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
Fix formatting
This commit is contained in:
parent
deb3e2407f
commit
958296c900
1 changed files with 12 additions and 16 deletions
12
crunchy.ts
12
crunchy.ts
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue