Skip to content

Commit ccf141b

Browse files
committed
would not ask user to choose default subtitle track if only has 1
1 parent f5b9c2d commit ccf141b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ASFMKV_dev.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3314,6 +3314,9 @@ def getForceSub(media_ass: dict) -> str:
33143314

33153315
maxNum = len(str(len(sublangs)))
33163316

3317+
if len(sublangs) == 1:
3318+
return list(sublangs.keys())[0]
3319+
33173320
def showFocusSub(i: str):
33183321
print('【字幕示例】')
33193322
for index, ii in enumerate(sublangs.keys()):

0 commit comments

Comments
 (0)