-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathupdate-plex-in-docker.env.example
More file actions
93 lines (79 loc) · 3.58 KB
/
update-plex-in-docker.env.example
File metadata and controls
93 lines (79 loc) · 3.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Plex token.
# Taken from https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/ - You can find it via:
# 1. Sign in to your Plex account in Plex Web App
# 2. Browse to a library item and view the XML for it
# 3. Look in the address bar and find the token as the X-Plex-Token value
#
# It will appear like:
# http://localhost:32400/?X-Plex-Token=YOURTOKENVALUEHERE
# http://localhost:32400/library/sections/1?X-Plex-Token=YOURTOKENVALUEHERE
# http://192.168.1.12:32400/library/metadata/147?X-Plex-Token=YOURTOKENVALUEHERE
#
plexAccessToken=""
# Plex Port, probably 32400
# TODO: Figure out a way to get this from a Plex config file..somewhere? Can't find it on a cursory search.
plexPort="32400"
# Plex Scheme, probably http
# TODO: Figure out a way to get this from a Plex config file..somewhere? Can't find it on a cursory search.
plexScheme="http"
# Which channel version to update from (plexpass, beta, or public)
plexVersion="public"
# Docker container name
containerName="plex"
# The script will attempt to determine the IP address of the container on its own. If it fails, please file an
# issue with some details so I can look in to why. But as a workaround, you can uncomment this variable and
# define the IP address yourself
#containerIp="127.0.0.1"
# Host OS
# TODO: Automate this variable via 'uname'
# 1 = Windows
# 2 = MacOS
# 3 = Linux
# 4 = FreeBSD
# 5 = nas
# 6 = Netgear
# 7 = QNAP
# 8 = unRAID
# 9 = Drobo
# 10 = ASUSTOR
# 11 = Seagate
# 12 = Western Digital
# 13 = Western Digital (OS 3)
hostOS="3"
# Path to Codecs directory RELATIVE TO THE HOST (*NOT* relative to the container)
hostCodecPath="/path/to/plex/Library/Application Support/Plex Media Server/Codecs/"
# Do you want to run ChuckPA's Plex Database Repair Tool in between upgrades?
# Can be "Yes" "No" "True" "False"
# https://github.com/ChuckPa/PlexDBRepair
repairDatabase="No"
# Are we allowed to check for and notify of updates each time the script runs?
# Can be "Yes" "No" "True" "False"
updateCheck="Yes"
# How verbose should our output be?
# Possible values:
# 1 - Error only
# 2 - Informational
# 3 - Verbose
outputVerbosity="2"
## Optional
# If you want to send a Telegram message notifying of server updates, fill these out.
# Telegram bot API key, obtained from @BotFather
telegramBotId=""
# Telegram channel ID, if you don't know how to get this, use these instructions:
# https://gist.github.com/goose-ws/1c82c98ac4701af433eb5c7562109e51
# This is an array, so you can do multiple channels if you want.
# Format is: ("-100xxxxxxx2" "-100xxxxxxx1")
# Modifiers include threads for super groups, and silent notifications.
# If sending to a super group thread, you can specify the thread by adding '&message_thread_id=[int]',
# where [int] is the interger of the thread ID. (e.g. "-100xxxxxxxxx1&message_thread_id=12")
# For silent notifications, you can add the modifier '&silent=true' (e.g. "-100xxxxxxxxx1&silent=true")
telegramChannelId=("")
# Do you want to send a Telegram message for script errors? Beware, the script is not capable of checking
# to see if an error message has already been sent, so depending on your cron settings this could become
# very spammy. Can be "Yes" "No" "True" "False"
telegramErrorMessages="No"
# If you enabled Telegram messages for script errors, you can define a different channel for errors to
# be sent to, instead of the ones defined in the 'telegramChannelId' array above. This can only be a single
# channel, not an array. If you leave this blank, and have error messages enabled, then they will send to
# all channels in the 'telegramChannelId' array above.
telegramErrorChannel=""