fix: remove subtitle type from name unless specified
This commit is contained in:
parent
958a55ff17
commit
04dd2309c6
@ -224,7 +224,7 @@ export default class IntegrityManager {
|
||||
|
||||
if (parts.includes("pgs")) {
|
||||
fields.type = "PGS"
|
||||
} else {
|
||||
} else if (parts.includes("srt")) {
|
||||
fields.type = "SRT"
|
||||
}
|
||||
break
|
||||
@ -316,7 +316,9 @@ export default class IntegrityManager {
|
||||
if (fields.flags.hearing_impaired) {
|
||||
name += " SDH"
|
||||
}
|
||||
if (fields.type) {
|
||||
name += " | " + fields.type
|
||||
}
|
||||
break
|
||||
}
|
||||
return name
|
||||
|
Loading…
x
Reference in New Issue
Block a user