Skip to content

Commit

Permalink
Renamed plexpass tag to beta.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbooker committed Dec 5, 2017
1 parent 8438f12 commit 7529bef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ VOLUME /config /transcode
ENV CHANGE_CONFIG_DIR_OWNERSHIP="true" \
HOME="/config"

ARG TAG=plexpass
ARG TAG=beta
ARG URL=

COPY root/ /
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ uid=1001(myuser) gid=1001(myuser) groups=1001(myuser)
In the above case, if you set the `PLEX_UID` and `PLEX_GID` to `1001`, then the permissions will match that of your own user.

## Tags
In addition to the standard version and `latest` tags, two other tags exist: `plexpass` and `public`. These two images behave differently than your typical containers. These two images do **not** have any Plex Media Server binary installed. Instead, when these containers are run, they will perform an update check and fetch the latest version, install it, and then continue execution. They also run the update check whenever the container is restarted. To update the version in the container, simply stop the container and start container again when you have a network connection. The startup script will automatically fetch the appropriate version and install it before starting the Plex Media Server.
In addition to the standard version and `latest` tags, two other tags exist: `beta` and `public`. These two images behave differently than your typical containers. These two images do **not** have any Plex Media Server binary installed. Instead, when these containers are run, they will perform an update check and fetch the latest version, install it, and then continue execution. They also run the update check whenever the container is restarted. To update the version in the container, simply stop the container and start container again when you have a network connection. The startup script will automatically fetch the appropriate version and install it before starting the Plex Media Server.

The `public` restricts this check to public versions only where as `plexpass` will fetch Plex Pass versions. If the server is not logged in or you do not have Plex Pass on your account, the `plexpass` tagged images will be restricted to publicly available versions only.
The `public` restricts this check to public versions only where as `beta` will fetch beta versions. If the server is not logged in or you do not have Plex Pass on your account, the `beta` tagged images will be restricted to publicly available versions only.

To view the Docker images head over to [https://hub.docker.com/r/plexinc/pms-docker/tags/](https://hub.docker.com/r/plexinc/pms-docker/tags/)

Expand Down
2 changes: 1 addition & 1 deletion root/installBinary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "${TAG}" > /version.txt
if [ ! -z "${URL}" ]; then
echo "Attempting to install from URL: ${URL}"
installFromRawUrl "${URL}"
elif [ "${TAG}" != "plexpass" ] && [ "${TAG}" != "public" ]; then
elif [ "${TAG}" != "beta" ] && [ "${TAG}" != "public" ]; then
getVersionInfo "${TAG}" "" remoteVersion remoteFile

if [ -z "${remoteVersion}" ] || [ -z "${remoteFile}" ]; then
Expand Down
2 changes: 1 addition & 1 deletion root/plex-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function getVersionInfo {
local tokenNeeded=1
if [ ! -z "${PLEX_UPDATE_CHANNEL}" ] && [ "${PLEX_UPDATE_CHANNEL}" > 0 ]; then
channel="${PLEX_UPDATE_CHANNEL}"
elif [ "${version,,}" = "plexpass" ]; then
elif [ "${version,,}" = "beta" ]; then
channel=8
elif [ "${version,,}" = "public" ]; then
channel=16
Expand Down

0 comments on commit 7529bef

Please sign in to comment.