martinorob / plexupdate Goto Github PK
View Code? Open in Web Editor NEWAutomatically update Plex Media Server on Synology NAS
Automatically update Plex Media Server on Synology NAS
Thank you very much for posting this. I was getting sick up updating Plex by hand on my Synology NAS.
Question:
I know that with Plex, you can download the latest update from either the "normal" update channel that everyone sees, or the "beta" update channel that only paid Plex subscribers (or lifetime subscribers) see.
I'm not sure how their "download" api works, so I'm not sure whether this script handles that difference? My guess/hope is that the $TOKEN variable is what controls this. Is this true?
i get an error 289 - google doesn't yield much
if i put the Trust Level from "Synology and trusted 3rd parties" to "anyone", it does work
is there a way to script this in? i'd like to keep that
Output
New Ver: 1.18.1.1973-0f4abfbcc
Cur Ver: 1.18.0.1913-e5cc93306
New Vers Available
--2019-10-27 14:26:17-- https://downloads.plex.tv/plex-media-server-new/1.18.1.1973-0f4abfbcc/synology/PlexMediaServer-1.18.1.1973-0f4abfbcc-x86_64.spk
Resolving downloads.plex.tv... 104.18.156.41, 104.18.157.41, 2606:4700::6812:9c29, ...
Connecting to downloads.plex.tv|104.18.156.41|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 124938240 (119M) [binary/octet-stream]
Saving to: '/volume1/tmp/plex/PlexMediaServer-1.18.1.1973-0f4abfbcc-x86_64.spk'
PlexMediaServer-1.18.1.1973-0f4abfbcc-x86_64.spk 100%[================================================================================================================>] 119.15M 10.1MB/s in 11s
2019-10-27 14:26:28 (10.8 MB/s) - '/volume1/tmp/plex/PlexMediaServer-1.18.1.1973-0f4abfbcc-x86_64.spk' saved [124938240/124938240]
Failed to install package /volume1/tmp/plex/PlexMediaServer-1.18.1.1973-0f4abfbcc-x86_64.spk, error = [289]
package Plex Media Server start successfully
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.