Fix copy progress, remove v2.0.0, fix subtitle default naming, enforce strict no-upcoding on audio
Build / Lint & Test (push) Successful in 3m15s

This commit is contained in:
PickleRick committed 2026-09-30 17:26:19 +02:00
1 parent 7ee5a5bc48
commit 86448988ed
12 files changed
+470 -348

No files matched your search

@@ -76,7 +76,8 @@ const buildSuffix = (lang, stream) => {
const title = ((stream.tags && (stream.tags.title || stream.tags.TITLE)) || '').toLowerCase();
const isForced = Boolean(forced || title.includes('forced'));
if (isForced) parts.push('forced');
if (isForced || (stream.disposition && stream.disposition.default)) parts.push('default');
// Only ita.forced can be default. Do not add default to eng, non-forced, or other tracks.
if (lang === 'ita' && isForced) parts.push('default');
if (stream.disposition && stream.disposition.hearing_impaired) parts.push('sdh');
if (!parts.includes('sdh') && (title.includes('sdh') || title.includes('hearing impaired')
|| title.includes('hearing_impaired'))) parts.push('sdh');