mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-25 05:00:22 +00:00
Set CI docker container to default environment LANG="en_US.UTF-8" (#820)
This commit is contained in:
parent
71ceed0d5a
commit
0b39e4eea8
1 changed files with 8 additions and 4 deletions
|
@ -55,15 +55,15 @@ DOCKER_CMD = [
|
|||
"-p",
|
||||
"32414:32414/udp",
|
||||
"-e",
|
||||
'TZ="Europe/London"',
|
||||
"-e",
|
||||
"PLEX_CLAIM=%(claim_token)s",
|
||||
"-e",
|
||||
"ADVERTISE_IP=http://%(advertise_ip)s:32400/",
|
||||
"-e",
|
||||
"TZ=%(timezone)s",
|
||||
"-e",
|
||||
"LANG=%(language)s",
|
||||
"-h",
|
||||
"%(hostname)s",
|
||||
"-e",
|
||||
'TZ="%(timezone)s"',
|
||||
"-v",
|
||||
"%(destination)s/db:/config",
|
||||
"-v",
|
||||
|
@ -352,6 +352,9 @@ if __name__ == "__main__":
|
|||
parser.add_argument(
|
||||
"--timezone", help="Timezone to set inside plex", default="UTC"
|
||||
) # noqa
|
||||
parser.add_argument(
|
||||
"--language", help="Language to set inside plex", default="en_US.UTF-8"
|
||||
) # noqa
|
||||
parser.add_argument(
|
||||
"--destination",
|
||||
help="Local path where to store all the media",
|
||||
|
@ -441,6 +444,7 @@ if __name__ == "__main__":
|
|||
"hostname": opts.server_name,
|
||||
"claim_token": account.claimToken() if account else "",
|
||||
"timezone": opts.timezone,
|
||||
"language": opts.language,
|
||||
"advertise_ip": opts.advertise_ip,
|
||||
"image_tag": opts.docker_tag,
|
||||
"container_name_extra": "" if account else "unclaimed-",
|
||||
|
|
Loading…
Reference in a new issue