From 8ddaf348f1393ffe453a64c832f45480a4a883ee Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 30 Jul 2020 23:05:58 -0400 Subject: [PATCH] Fixed: Pass AdvancedSettings to Metadata Fields --- .../Settings/Metadata/Metadata/EditMetadataModalContent.js | 3 +++ .../Metadata/Metadata/EditMetadataModalContentConnector.js | 4 +++- .../Extras/Metadata/Consumers/Xbmc/XbmcMetadataSettings.cs | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/Settings/Metadata/Metadata/EditMetadataModalContent.js b/frontend/src/Settings/Metadata/Metadata/EditMetadataModalContent.js index f548bc4d5..65f0da061 100644 --- a/frontend/src/Settings/Metadata/Metadata/EditMetadataModalContent.js +++ b/frontend/src/Settings/Metadata/Metadata/EditMetadataModalContent.js @@ -15,6 +15,7 @@ import { inputTypes } from 'Helpers/Props'; function EditMetadataModalContent(props) { const { + advancedSettings, isSaving, saveError, item, @@ -56,6 +57,7 @@ function EditMetadataModalContent(props) { return ( state.settings.advancedSettings, (state, { id }) => id, (state) => state.settings.metadata, - (id, metadata) => { + (advancedSettings, id, metadata) => { const { isSaving, saveError, @@ -22,6 +23,7 @@ function createMapStateToProps() { const settings = selectSettings(_.find(items, { id }), pendingChanges, saveError); return { + advancedSettings, id, isSaving, saveError, diff --git a/src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadataSettings.cs b/src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadataSettings.cs index fa96fdff2..7e4a32ac3 100644 --- a/src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadataSettings.cs +++ b/src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadataSettings.cs @@ -19,7 +19,7 @@ public class XbmcMetadataSettings : IProviderConfig public XbmcMetadataSettings() { MovieMetadata = true; - MovieMetadataURL = true; + MovieMetadataURL = false; MovieImages = true; UseMovieNfo = false; }