Fetching token from Plex server
Retrieving list of available distributions
RELEASE="label":"Ubuntu 64-bit (14.04 or newer)","build":"linux-ubuntu-x86_64","distro":"ubuntu","url":"https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/plexmediaserver_1.14.1.5488-cc260c476_amd64.deb","checksum":"1bd274026c4d7038ec57bad7c3735ce47f73b887"
DOWNLOAD=https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/plexmediaserver_1.14.1.5488-cc260c476_amd64.deb
CHECKSUM=1bd274026c4d7038ec57bad7c3735ce47f73b887
INSTALLED_VERSION=1.14.1.5488-cc260c476
FILE_VERSION=1.14.1.5488-cc260c476
Your OS reports the latest version of Plex (1.14.1.5488-cc260c476) is already installed. Use -f to force download.
@usnhobbz That’s only for the actual file download. The relevant endpoint for getting the version information in plexupdate is https://plex.tv/api/downloads/1.json.
;; ANSWER SECTION:
plex.tv. 20 IN A 54.171.147.115
plex.tv. 20 IN A 54.76.255.232
plex.tv. 20 IN A 54.171.218.244
plex.tv. 20 IN A 52.31.211.151
plex.tv. 20 IN A 54.154.198.3
plex.tv. 20 IN A 63.32.177.143
plex.tv. 20 IN A 52.16.101.236
plex.tv. 20 IN A 54.171.5.253
That API shows all downloads for a particular release. If you are wanting to query the plex.tv API for the latest beta download for a particular platform you will need to use the same API that PMS uses
I can confirm changing to 5.json and adding the auth header is returning the right value. What is the difference between 5.json and 1.json? Should we be making this a perm change in the update process or wait for the 1.json to start returning the right values?
1.json is the old CI/build system (PMS 1.14.1 and older), 5.json is the new CI/build system (1.15.0 and newer)
Currently we have plex.tv mapping from 1.json to 5.json to allow as little disruption. Once we get PMS 1.15.0 into public then that will be the endpoint to use going forward (1.json will live on only as a redirect to 5.json)
in the past, i would target my query to build vs distro to distinguish from 32 vs. 64 bit and deb vs rpm. now, under releases, even releases with distro value of redhat have a build value of “linux-ubuntu-x86_64” has it always been like this?