diff --git a/Jellyfin.Plugin.ThePornDB/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.ThePornDB/Configuration/PluginConfiguration.cs index 7ee06f5..d543d3a 100644 --- a/Jellyfin.Plugin.ThePornDB/Configuration/PluginConfiguration.cs +++ b/Jellyfin.Plugin.ThePornDB/Configuration/PluginConfiguration.cs @@ -19,6 +19,14 @@ public enum TagStyle Disabled = 2, } + public enum CollectionType + { + Scene = 0, + Movie = 1, + JAV = 2, + All = 3, + } + public enum StudioStyle { Site = 0, @@ -74,6 +82,8 @@ public PluginConfiguration() this.CollectionMinSize = 0; this.AddCollectionToCollections = true; + this.CollectionType = CollectionType.All; + this.StudioStyle = StudioStyle.All; this.UseCustomTitle = false; @@ -113,6 +123,8 @@ public PluginConfiguration() public bool AddCollectionToCollections { get; set; } + public CollectionType CollectionType { get; set; } + public StudioStyle StudioStyle { get; set; } public bool UseCustomTitle { get; set; } diff --git a/Jellyfin.Plugin.ThePornDB/Configuration/configPage.html b/Jellyfin.Plugin.ThePornDB/Configuration/configPage.html index eaf840f..e39e978 100644 --- a/Jellyfin.Plugin.ThePornDB/Configuration/configPage.html +++ b/Jellyfin.Plugin.ThePornDB/Configuration/configPage.html @@ -56,6 +56,15 @@

ThePornDB

Add Collection to Collections +
+ + +