소스 검색

Merge pull request #7047 from Bond-009/fixbuild2

Bond-009 3 년 전
부모
커밋
2e7d173188
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      MediaBrowser.Providers/Plugins/StudioImages/Plugin.cs

+ 4 - 3
MediaBrowser.Providers/Plugins/StudioImages/Plugin.cs

@@ -1,3 +1,4 @@
+#nullable disable
 #pragma warning disable CS1591
 
 using System;
@@ -11,6 +12,9 @@ namespace MediaBrowser.Providers.Plugins.StudioImages
 {
     public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
     {
+        // TODO change this for a Jellyfin-hosted repository.
+        public const string DefaultServer = "https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/images/imagesbyname";
+
         public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
             : base(applicationPaths, xmlSerializer)
         {
@@ -25,9 +29,6 @@ namespace MediaBrowser.Providers.Plugins.StudioImages
 
         public override string Description => "Get artwork for studios from any Jellyfin-compatible repository.";
 
-        // TODO change this for a Jellyfin-hosted repository.
-        public const string DefaultServer = "https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/images/imagesbyname";
-
         // TODO remove when plugin removed from server.
         public override string ConfigurationFileName => "Jellyfin.Plugin.StudioImages.xml";