PlexKodiConnect/.tx/pull_languages.py

33 lines
517 B
Python
Raw Normal View History

2017-07-26 04:13:57 +10:00
import os
2018-08-10 16:48:07 +10:00
path = "C:\\Users\\kat\\AppData\\Local\\Continuum\\anaconda3\\envs\\kodi\\Scripts"
command = os.path.join(path, "tx.exe")
2017-07-26 04:13:57 +10:00
languages = [
'nl_NL',
'fr_CA',
'fr_FR',
'de_DE',
'pt_PT',
'pt_BR',
'es_ES',
'es_AR',
'es_MX',
'cs_CZ',
'zh_CN',
'zh_TW',
'da_DK',
'it_IT',
'no_NO',
'el_GR',
'pl_PL',
# 'sv_SE',
2018-04-06 23:32:20 +10:00
'hu_HU',
2017-10-10 07:24:21 +11:00
'ru_RU',
2018-07-04 22:45:56 +10:00
'uk_UA',
2017-07-26 04:13:57 +10:00
]
os.system("cd ..")
for lang in languages:
2018-08-10 16:48:07 +10:00
os.system(command + " pull -f -l %s" % lang)