Closed RemiRigal closed 3 years ago
The latest file isn't yet updated with this change, when I pull from this URL, the script does not work on DSM 7 https://github.com/cowboy/synology-update-plex/releases/latest/download/update-plex.sh
Hi @epheterson, the latest release has not been updated with the changes made in this PR. Please use this link instead: https://github.com/cowboy/synology-update-plex/blob/master/update-plex.sh
DSM 7 comes with two changes:
PlexMediaServer
instead ofPlex Media Server
, which causes thesynopkg
calls to fail.Synology (DSM 7)
.I've added a new function called
retrieve_dsm_version
that check wether the DSM version is <6 or 7. The subsequent calls are then adapted to the right DSM version.Important note: I could only test this on DSM 7 (DS920+), can someone test the PR on DSM 6 to check that everything is still working as intended ?