mirror of
https://github.com/Radarr/Radarr
synced 2024-12-29 03:15:19 +00:00
Fixed: Parsing Plex Media Server version 1.0
This commit is contained in:
parent
c206b83318
commit
c8474701a0
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ private bool PartialUpdatesAllowed(PlexServerSettings settings)
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var rawVersion = GetVersion(settings);
|
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))
|
if (version >= new Version(0, 9, 12, 0))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue