Browse Source

Merge pull request #5088 from Ullmie02/nfo-watched

Fix nfo saving during UserDataSaved event
dkanada 4 years ago
parent
commit
cfe37474f1
1 changed files with 1 additions and 11 deletions
  1. 1 11
      MediaBrowser.XbmcMetadata/EntryPoint.cs

+ 1 - 11
MediaBrowser.XbmcMetadata/EntryPoint.cs

@@ -60,17 +60,7 @@ namespace MediaBrowser.XbmcMetadata
 
         private void SaveMetadataForItem(BaseItem item, ItemUpdateType updateReason)
         {
-            if (!item.IsFileProtocol)
-            {
-                return;
-            }
-
-            if (!item.SupportsLocalMetadata)
-            {
-                return;
-            }
-
-            if (!item.IsSaveLocalMetadataEnabled())
+            if (!item.IsFileProtocol || !item.SupportsLocalMetadata)
             {
                 return;
             }