diff --git a/Jellyfin.Plugin.MediaCleaner/Configuration.cs b/Jellyfin.Plugin.MediaCleaner/Configuration.cs index dd7dadb..e32c0b4 100644 --- a/Jellyfin.Plugin.MediaCleaner/Configuration.cs +++ b/Jellyfin.Plugin.MediaCleaner/Configuration.cs @@ -11,14 +11,9 @@ namespace Jellyfin.Plugin.MediaCleaner; public class Configuration : BasePluginConfiguration { /// - /// Gets or sets the http address for your Radarr instance. + /// Gets or sets the http and port address for your Radarr instance. /// - public string RadarrHTTPAddress { get; set; } = string.Empty; - - /// - /// Gets or sets the port for your Radarr instance. - /// - public string RadarrPort { get; set; } = string.Empty; + public string RadarrAddress { get; set; } = string.Empty; /// /// Gets or sets the api for your Radarr instance. @@ -26,14 +21,9 @@ public class Configuration : BasePluginConfiguration public string RadarrAPIKey { get; set; } = string.Empty; /// - /// Gets or sets the http address for your Sonarr instance. + /// Gets or sets the http and port address for your Sonarr instance. /// - public string SonarrHTTPAddress { get; set; } = string.Empty; - - /// - /// Gets or sets the port for your Sonarr instance. - /// - public string SonarrPort { get; set; } = string.Empty; + public string SonarrAddress { get; set; } = string.Empty; /// /// Gets or sets the api for your Sonarr instance. diff --git a/Jellyfin.Plugin.MediaCleaner/Pages/configuration.html b/Jellyfin.Plugin.MediaCleaner/Pages/configuration.html index 335b48e..7100e76 100644 --- a/Jellyfin.Plugin.MediaCleaner/Pages/configuration.html +++ b/Jellyfin.Plugin.MediaCleaner/Pages/configuration.html @@ -1,49 +1,62 @@
+

Media Cleaner Configuration

-
- - -
The http address of your radarr instance.
-
-
- - -
The port of your radarr instance.
-
- +
The api key used by your radarr instance
+
- - -
The http address of your sonarr instance.
+ + +
The address and port of your radarr instance.
+
- - -
The port of your sonarr instance.
+
+ +
- +
The api key used by your sonarr instance
+ +
+ + +
The address and port of your sonarr instance.
+
+ +
+ +
+ +
- +
How many days to wait before marking files as stale
+
+
diff --git a/Jellyfin.Plugin.MediaCleaner/Plugin.cs b/Jellyfin.Plugin.MediaCleaner/Plugin.cs index 4ce13d4..cd4bc5c 100644 --- a/Jellyfin.Plugin.MediaCleaner/Plugin.cs +++ b/Jellyfin.Plugin.MediaCleaner/Plugin.cs @@ -63,8 +63,8 @@ public class Plugin : BasePlugin, IHasWebPages }, new PluginPageInfo { - Name = "home.css", - EmbeddedResourcePath = string.Format(CultureInfo.InvariantCulture, "{0}.Pages.home.css", GetType().Namespace), + Name = "global.css", + EmbeddedResourcePath = string.Format(CultureInfo.InvariantCulture, "{0}.Pages.global.css", GetType().Namespace), } ]; }