Closed yvbeek closed 1 year ago
We prefer not to touch the preferences xml as we don't control the upstream and any changes they make to it would break our image.
With that said, I'm pretty sure the server name defaults to the container hostname (in bridge network), which you can set in your docker arguments.
If you use the Plex claim token, you don't need to set allowed networks. Once set up, you can edit them in the gui settings.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity
Desired Behavior
It would be very useful to be able to pass the following arguments for the first run:
PLEX_SERVER_NAME
FriendlyName
setting in thePreferences.xml
file, making it easier to recognize this serverX-Plex-Device-Name
header when the server is claimed, making sure the correct name shows up in Authorized Devices underneath your Plex Account, and prevents confusion when you have multiple serversPLEX_ALLOWED_NETWORKS
allowedNetworks
setting in thePreferences.xml
file, making it easier to reach the server when it is in a different subnet or vlan. Otherwise it can be difficult to run setup.Example:
Current Behavior
In
/etc/cont-init.d/45-plex-claim
the server name is hardcoded toPlexMediaServer
. It would be great if we could use thePLEX_SERVER_NAME
environment variable here. And then also write the server name asFriendlyName
inPreferences.xml
There currently is no easy way to get it under a different name.
Alternatives Considered
For the server name I don't see an alternative. It is hard to edit
45-plex-claim
.To set the
allowedNetworks
, you would currently have to run the docker at least once. Then go into thePreferences.xml
file and addallowedNetworks
manually. This can be error prone and could make setup more complex.