Releases: m1lkman/Update-PlexMediaServer
Releases · m1lkman/Update-PlexMediaServer
2.0.6
v2.0.6 2023.3.11 (Updates by m1lkman)
- Fixed Token Regex verification (added - and _)
- Fixed logic for searching registry for InstallLocation and PlexOnlineToken that were causing issues on systems that have had both x86 and x64 builds installed previously
- Improved Update Channel detection logic
- Improved some error messages
- Added additional logic to uninstall x64 build first before installing x86 build if present
- Improved exit code matching specifically for x64 installer
- Other various cleanups, fixes, & improvements
2.0.5
v2.0.5 2023.3.10 (Updates by m1lkman)
- Added support for windows-x86_64 PMS build. Update-PlexMediaServer will continue to update the currently installed Build unless forced by Build parameter (i.g.
-Build 'windows-x86_64'
) - Fix logic to detect active sessions for "in-use" check
- Fix Invoke-WebRequest errors by adding UseBasicParsing parameter (Thanks SAS-1)
- Added logic to retry checking Plex Web after process restart to allow for 30 seconds while web server is launching
- Added Hostname parameter for plex web checks to bypass detecting public hostname using reverse IP lookup (helps for when running multiple PMS instances behind a single public IP)
- Added ReportOnly parameter, script will report if update is reqiured and exit
- Add support for https url scheme when using custom port 443
-PlexServerPort 443
- Other general improvments/fixes
2.0.3
v2.0.3 2017.11.10 (Updates by m1lkman)
- Added -IncludeLog parameter for including log text in notification email (renamed EmailLog to AttachLog)
- Added -EmailIsBodyHtml parameter to switch email to mobile friendly HTML format
- Improved notification logic and general logging content
- Added support for #Slack notifications with -SlackNotify parameter (Slack OAuth token required)
2.0.2
2.0.1
v2.0.1 2017.11.1 (Updates by m1lkman)
- Corrected some error handling when PMS exe was not detected
- Added -UpdateCleanup parameter and logic to remove old updates from updates folder
- Improved error capture for Send-ToEmail function to return exception with passthru
2.0.0
v2.0.0 2017.10.31 (Updates by m1lkman)
- Significant updates to validate and download the latest version from Plex.tv (Public or PlexPass/Beta)
- Supports authenticating against Plex.tv and local server using Plex.tv credentials or Tokens
- Default execution leverages PMS Server Online Authentication token, honors Update Channel setting.
- Added logic to validate checksum on downloaded updates
- Updated logic to pull PMS user context from Plex Media Server.exe process
- "In-Use Check" will exit when active Sessions are detected on Plex Media Server
- Validates PMS process and Plex Web availability after update
- Added Email notification function
- Added Get-PlexToken function for fetching Plex authentication token via command-line
- Added -force option to force install of PMS even when version isn't newer.