diff --git a/Shokofin/SignalR/SignalRConnectionManager.cs b/Shokofin/SignalR/SignalRConnectionManager.cs index e09f154c..7919dcb8 100644 --- a/Shokofin/SignalR/SignalRConnectionManager.cs +++ b/Shokofin/SignalR/SignalRConnectionManager.cs @@ -277,9 +277,9 @@ private void OnFileDeleted(IFileEventArgs eventArgs) private void OnInfoUpdated(IMetadataUpdatedEventArgs eventArgs) { - if (Plugin.Instance.Configuration.SignalR_EventSources.Contains(eventArgs.ProviderName)) { + if (!Plugin.Instance.Configuration.SignalR_EventSources.Contains(eventArgs.ProviderName)) { Logger.LogTrace( - "{ProviderName} {MetadataType} {ProviderId} ({ProviderParentId}) skipped event with {UpdateReason}; provider not is not enabled in the plugin settings. (Episode={EpisodeId},Series={SeriesId},Group={GroupId})", + "{ProviderName} {MetadataType} {ProviderId} ({ProviderParentId}) skipped event with {UpdateReason}; provider is not enabled in the plugin settings. (Episode={EpisodeId},Series={SeriesId},Group={GroupId})", eventArgs.ProviderName, eventArgs.Kind, eventArgs.ProviderId,