mirror of
https://github.com/ckamte/adobe-packager-windows.git
synced 2026-11-09 15:17:20 -05:00
Download all Speech to Text Language Pack modules for AME
This commit is contained in:
@@ -52,3 +52,4 @@ python ccdl-win.py -u 6 -l en_US -p win64 -s phsp,idsn,ilst -x
|
||||
```
|
||||
python ccdl-win.py -u 6 -l en_US,fr_FR -p win64 -s phsp,idsn,ilst -x
|
||||
```
|
||||
5. Working on filtering Speech to Text Language Pack modules for AME (v26x). (Current script will download all available modules!!)
|
||||
|
||||
25
ccdl-win.py
25
ccdl-win.py
@@ -873,20 +873,21 @@ def condition_filter(pkgJson: dict, langs: list[str]) -> dict:
|
||||
if test_and(conds, osProc, osver, langs) == True:
|
||||
newPkgs.append(pkg)
|
||||
|
||||
# premiere pro
|
||||
# premiere pro/media encoder
|
||||
elif "-esl_lp_" in pkg["PackageName"]:
|
||||
app, pproLang = pkg["PackageName"].split("-")
|
||||
pproLang = pproLang.replace("esl_lp_", "")
|
||||
for l in langs:
|
||||
if l == "all" or l == "mul":
|
||||
continue
|
||||
main, locale = l.split("_")
|
||||
if main == pproLang:
|
||||
newPkgs.append(pkg)
|
||||
# for china languages
|
||||
if main == "zh":
|
||||
if pproLang == "cmn" or pproLang == "yue":
|
||||
if "all" in langs or "mul" in langs:
|
||||
newPkgs.append(pkg)
|
||||
else:
|
||||
app, pproLang = pkg["PackageName"].split("-")
|
||||
pproLang = pproLang.replace("esl_lp_", "")
|
||||
for l in langs:
|
||||
main, locale = l.split("_")
|
||||
if main == pproLang:
|
||||
newPkgs.append(pkg)
|
||||
# for china languages
|
||||
if main == "zh":
|
||||
if pproLang == "cmn" or pproLang == "yue":
|
||||
newPkgs.append(pkg)
|
||||
|
||||
else:
|
||||
newPkgs.append(pkg)
|
||||
|
||||
Reference in New Issue
Block a user