All Projects → cowboy → synology-update-plex

cowboy / synology-update-plex

Licence: other
Script to Auto Update Plex Media Server on Synology NAS

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to synology-update-plex

synology-api
A Python wrapper around Synology API
Stars: ✭ 116 (+30.34%)
Mutual labels:  synology, synology-nas
AirConnect-Synology
Updated AirConnect packages for Synology NAS and Synology Router
Stars: ✭ 200 (+124.72%)
Mutual labels:  synology, synology-nas
plex-music
Web/Desktop app for streaming music from your Plex Media Server
Stars: ✭ 42 (-52.81%)
Mutual labels:  plex, plex-media-server
multi-scrobbler
Scrobble plays from multiple sources to multiple clients
Stars: ✭ 54 (-39.33%)
Mutual labels:  plex, plex-media-server
PlexAutoSkip
Automatically skip content in Plex
Stars: ✭ 95 (+6.74%)
Mutual labels:  plex, plex-media-server
Youtube-DL-Agent.bundle
A plex metadata agent for Youtube-DL downloads
Stars: ✭ 92 (+3.37%)
Mutual labels:  plex, plex-media-server
flixctl
A toolkit for controlling the infrastructure necessary for a true MaSaS (Movies and Shows as a Service) architecture.
Stars: ✭ 43 (-51.69%)
Mutual labels:  plex, plex-media-server
Ultimate Media Server Core
A bunch of scripts that I've collected, written, and forked for the ultimate administration & automation of your Media Server - Think of this as your "Media server in a box"
Stars: ✭ 188 (+111.24%)
Mutual labels:  plex, plex-media-server
BPfM
unofficial Plex web client wrapper for macOS
Stars: ✭ 15 (-83.15%)
Mutual labels:  plex, plex-media-server
plex-utills
Manage your Plex library automatically
Stars: ✭ 258 (+189.89%)
Mutual labels:  plex, plex-media-server
discord-rich-presence-plex
Display your Plex status on Discord using Rich Presence
Stars: ✭ 180 (+102.25%)
Mutual labels:  plex, plex-media-server
PlexServerAutoUpdater
Automatically update Plex when running the Plex service.
Stars: ✭ 94 (+5.62%)
Mutual labels:  plex, plex-media-server
conv2mp4-py
Python script that recursively searches through a user-defined file path and converts all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. If a conversion failure is detected, the script re-encodes the file with HandbrakeCLI. Upon successful encoding, Plex libraries are refreshed and source file is deleted. …
Stars: ✭ 37 (-58.43%)
Mutual labels:  plex, plex-media-server
plex-api
.NET Core SDK for Plex Media Server
Stars: ✭ 70 (-21.35%)
Mutual labels:  plex, plex-media-server
cloudflareddns
DDNS with Cloudflare
Stars: ✭ 33 (-62.92%)
Mutual labels:  synology, synology-nas
synology-decrypt
An open source implementation/description of the Synology Cloud Sync encryption/decryption algorithm
Stars: ✭ 91 (+2.25%)
Mutual labels:  synology, synology-nas
Media Docker
all-in-one deployment and configuration for an all-in-one media server, running on docker.
Stars: ✭ 148 (+66.29%)
Mutual labels:  plex, plex-media-server
Usenet Docker
Docker-compose configuration for Sabnzbd, CouchPotato, Plex, Sonarr, Plexpy, Nzbhydra, Muximux, Radarr, NZBGet and Ombi with a Nginx proxy.
Stars: ✭ 153 (+71.91%)
Mutual labels:  plex, plex-media-server
rpi-nas
🌐👨‍💻💻 Setup your own NAS on a Raspberry Pi
Stars: ✭ 29 (-67.42%)
Mutual labels:  plex, plex-media-server
clusterplex
ClusterPlex is basically an extended version of Plex, which supports distributed Workers across a cluster to handle transcoding requests.
Stars: ✭ 123 (+38.2%)
Mutual labels:  plex, plex-media-server

synology-update-plex

Script to Auto Update Plex Media Server on Synology NAS

Latest Release Test Donate

Goals

  • Make the echoed messages super clear
  • Make the version checking logic as smart as possible
  • Ensure the script fails if there are any errors
  • Ensure temp files are cleaned up properly
  • Write bash code as idiomatically as possible
  • Attempt to find the "Plex Media Server" directory that contains Preferences.xml efficiently
  • Attempt to support all Synology NAS architectures

Usage

First, SSH into your NAS, save the latest release update-plex.sh script somewhere and set it as executable:

$ ssh you@IP_OF_YOUR_NAS
you@yournas:~$ wget "https://github.com/cowboy/synology-update-plex/releases/latest/download/update-plex.sh"
you@yournas:~$ chmod a+x update-plex.sh

Then, create a Scheduled Task with a User-defined script in the Synology DSM Control Panel:

  • Ensure the User is root
  • Ensure the Run command is /path/to/update-plex.sh
  • Add the --plex-pass option (eg. /path/to/update-plex.sh --plex-pass) if you have Plex Pass and want to enable early access / beta releases

Caveats

  • Be careful when SSHing into your NAS. I'm not responsible if you break anything!
  • This script may contain bugs. I'm not responsible if it breaks anything!
  • This script has been tested on a Synology DS918+ NAS. It should work with other Synology NAS models.
  • This script assumes Plex was installed manually from https://www.plex.tv/media-server-downloads/.

Common Issues

  • If the script is trying to download the wrong release file for your NAS, please see the comments at the top of the get_arch test suite.
  • If the script fails with Unable to find "Plex Media Server" directory when --plex-pass is specified, you may need to manually change /volume* in the script to your volume's root path.
  • If the script fails with error = [289] while installing package, add Plex as a trusted publisher for package installations.

If you find a bug or an issue not listed here, please file an issue or create a pull request. Explain the situation and include all script output.

References

Adapted from work first published at:

Inlcuding other update scripts such as:

License

CC0

To the extent possible under law, Ben Alman has waived all copyright and related or neighboring rights to this work.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].