Browse Source

Ignore local plex guids (#488)

* ignore local plex guids

* update dependencies
pull/489/head
Jason Dove 4 years ago committed by GitHub
parent
commit
a4dc9bfb31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGELOG.md
  2. 2
      ErsatzTV.Core/ErsatzTV.Core.csproj
  3. 9
      ErsatzTV.Infrastructure/Plex/PlexServerApiClient.cs

3
CHANGELOG.md

@ -12,6 +12,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added ### Added
- Build osx-arm64 packages on release - Build osx-arm64 packages on release
### Changed
- No longer warn about local Plex guids; they aren't used for Trakt matching and can be ignored
## [0.2.4-alpha] - 2021-11-13 ## [0.2.4-alpha] - 2021-11-13
### Changed ### Changed
- Upgrade to dotnet 6 - Upgrade to dotnet 6

2
ErsatzTV.Core/ErsatzTV.Core.csproj

@ -18,7 +18,7 @@
</PackageReference> </PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Serilog" Version="2.10.0" /> <PackageReference Include="Serilog" Version="2.10.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.0" /> <PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

9
ErsatzTV.Infrastructure/Plex/PlexServerApiClient.cs

@ -845,7 +845,14 @@ namespace ErsatzTV.Infrastructure.Plex
return $"tmdb://{strip2}"; return $"tmdb://{strip2}";
} }
_logger.LogWarning("Unsupported guid format from Plex; ignoring: {Guid}", guid); if (guid.StartsWith("local://"))
{
_logger.LogDebug("Ignoring local Plex guid: {Guid}", guid);
}
else
{
_logger.LogWarning("Unsupported guid format from Plex; ignoring: {Guid}", guid);
}
return None; return None;
} }

Loading…
Cancel
Save