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
|
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:
|
if test_and(conds, osProc, osver, langs) == True:
|
||||||
newPkgs.append(pkg)
|
newPkgs.append(pkg)
|
||||||
|
|
||||||
# premiere pro
|
# premiere pro/media encoder
|
||||||
elif "-esl_lp_" in pkg["PackageName"]:
|
elif "-esl_lp_" in pkg["PackageName"]:
|
||||||
app, pproLang = pkg["PackageName"].split("-")
|
if "all" in langs or "mul" in langs:
|
||||||
pproLang = pproLang.replace("esl_lp_", "")
|
newPkgs.append(pkg)
|
||||||
for l in langs:
|
else:
|
||||||
if l == "all" or l == "mul":
|
app, pproLang = pkg["PackageName"].split("-")
|
||||||
continue
|
pproLang = pproLang.replace("esl_lp_", "")
|
||||||
main, locale = l.split("_")
|
for l in langs:
|
||||||
if main == pproLang:
|
main, locale = l.split("_")
|
||||||
newPkgs.append(pkg)
|
if main == pproLang:
|
||||||
# for china languages
|
|
||||||
if main == "zh":
|
|
||||||
if pproLang == "cmn" or pproLang == "yue":
|
|
||||||
newPkgs.append(pkg)
|
newPkgs.append(pkg)
|
||||||
|
# for china languages
|
||||||
|
if main == "zh":
|
||||||
|
if pproLang == "cmn" or pproLang == "yue":
|
||||||
|
newPkgs.append(pkg)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
newPkgs.append(pkg)
|
newPkgs.append(pkg)
|
||||||
|
|||||||
Reference in New Issue
Block a user