From c8474701a076159ca5d52767ae14c8238cff5339 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 2 Jul 2016 00:19:31 -0700 Subject: [PATCH] Fixed: Parsing Plex Media Server version 1.0 --- src/NzbDrone.Core/Notifications/Plex/PlexServerService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexServerService.cs b/src/NzbDrone.Core/Notifications/Plex/PlexServerService.cs index 8397013db..b466dadae 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexServerService.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexServerService.cs @@ -69,7 +69,7 @@ namespace NzbDrone.Core.Notifications.Plex try { var rawVersion = GetVersion(settings); - var version = new Version(Regex.Match(rawVersion, @"^(\d+\.){4}").Value.Trim('.')); + var version = new Version(Regex.Match(rawVersion, @"^(\d+[.-]){4}").Value.Trim('.', '-')); if (version >= new Version(0, 9, 12, 0)) {