Pārlūkot izejas kodu

Merge pull request #3660 from crobibero/plugin-config-location

Force plugin config location

(cherry picked from commit 468a7fea4cd17bd149c64ed51e928c3ebc148fdf)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Anthony Lavado 4 gadi atpakaļ
vecāks
revīzija
6547ae46ce

+ 3 - 0
MediaBrowser.Providers/Plugins/AudioDb/Plugin.cs

@@ -19,6 +19,9 @@ namespace MediaBrowser.Providers.Plugins.AudioDb
 
 
         public override string Description => "Get artist and album metadata or images from AudioDB.";
         public override string Description => "Get artist and album metadata or images from AudioDB.";
 
 
+        // TODO remove when plugin removed from server.
+        public override string ConfigurationFileName => "Jellyfin.Plugin.AudioDb.xml";
+
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
             : base(applicationPaths, xmlSerializer)
             : base(applicationPaths, xmlSerializer)
         {
         {

+ 3 - 0
MediaBrowser.Providers/Plugins/MusicBrainz/Plugin.cs

@@ -23,6 +23,9 @@ namespace MediaBrowser.Providers.Plugins.MusicBrainz
 
 
         public const long DefaultRateLimit = 2000u;
         public const long DefaultRateLimit = 2000u;
 
 
+        // TODO remove when plugin removed from server.
+        public override string ConfigurationFileName => "Jellyfin.Plugin.MusicBrainz.xml";
+
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
             : base(applicationPaths, xmlSerializer)
             : base(applicationPaths, xmlSerializer)
         {
         {

+ 3 - 0
MediaBrowser.Providers/Plugins/Omdb/Plugin.cs

@@ -19,6 +19,9 @@ namespace MediaBrowser.Providers.Plugins.Omdb
 
 
         public override string Description => "Get metadata for movies and other video content from OMDb.";
         public override string Description => "Get metadata for movies and other video content from OMDb.";
 
 
+        // TODO remove when plugin removed from server.
+        public override string ConfigurationFileName => "Jellyfin.Plugin.Omdb.xml";
+
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
             : base(applicationPaths, xmlSerializer)
             : base(applicationPaths, xmlSerializer)
         {
         {

+ 3 - 0
MediaBrowser.Providers/Plugins/TheTvdb/Plugin.cs

@@ -17,6 +17,9 @@ namespace MediaBrowser.Providers.Plugins.TheTvdb
 
 
         public override string Description => "Get metadata for movies and other video content from TheTVDB.";
         public override string Description => "Get metadata for movies and other video content from TheTVDB.";
 
 
+        // TODO remove when plugin removed from server.
+        public override string ConfigurationFileName => "Jellyfin.Plugin.TheTvdb.xml";
+
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
             : base(applicationPaths, xmlSerializer)
             : base(applicationPaths, xmlSerializer)
         {
         {