You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FieldDefinition(1,Label="API Key",Type=FieldType.Textbox,Privacy=PrivacyLevel.ApiKey,HelpText="Your Last.fm API key",Placeholder="Enter your API key")]
64
+
[FieldDefinition(1,Label="API Key",Type=FieldType.Textbox,Privacy=PrivacyLevel.ApiKey,HelpText="Your Last.fm API key",Placeholder="Enter your API key",Hidden=HiddenType.Hidden)]
59
65
publicstringApiKey{get;set;}=string.Empty;
60
66
61
-
[FieldDefinition(2,Label="User Agent",Section=MetadataSectionType.Metadata,Type=FieldType.Textbox,HelpText="Specify a custom User-Agent to identify yourself. A User-Agent helps servers understand the software making the request. Use a unique identifier that includes a name and version. Avoid generic or suspicious-looking User-Agents to prevent blocking.",Placeholder="Lidarr/1.0.0")]
67
+
[FieldDefinition(2,Label="User Agent",Section=MetadataSectionType.Metadata,Type=FieldType.Textbox,HelpText="Specify a custom User-Agent to identify yourself. A User-Agent helps servers understand the software making the request. Use a unique identifier that includes a name and version. Avoid generic or suspicious-looking User-Agents to prevent blocking.",Placeholder="Lidarr/1.0.0",Hidden=HiddenType.Hidden)]
62
68
publicstringUserAgent{get;set;}=string.Empty;
63
69
64
-
[FieldDefinition(3,Label="Page Number",Type=FieldType.Number,HelpText="Page number for pagination",Placeholder="1")]
70
+
[FieldDefinition(3,Label="Page Number",Type=FieldType.Number,HelpText="Page number for pagination",Placeholder="1",Hidden=HiddenType.Hidden)]
65
71
publicintPageNumber{get;set;}=1;
66
72
67
-
[FieldDefinition(4,Label="Page Size",Type=FieldType.Number,HelpText="Page size for pagination",Placeholder="30")]
73
+
[FieldDefinition(4,Label="Page Size",Type=FieldType.Number,HelpText="Page size for pagination",Placeholder="30",Hidden=HiddenType.Hidden)]
68
74
publicintPageSize{get;set;}=3;
69
75
70
-
[FieldDefinition(5,Label="Cache Type",Type=FieldType.Select,SelectOptions=typeof(CacheType),HelpText="Select Memory (non-permanent) or Permanent caching")]
76
+
[FieldDefinition(5,Label="Cache Type",Type=FieldType.Select,SelectOptions=typeof(CacheType),HelpText="Select Memory (non-permanent) or Permanent caching",Hidden=HiddenType.Hidden)]
[FieldDefinition(6,Label="Cache Directory",Type=FieldType.Path,HelpText="Directory to store cached data (only used for Permanent caching)")]
79
+
[FieldDefinition(6,Label="Cache Directory",Type=FieldType.Path,HelpText="Directory to store cached data (only used for Permanent caching)",Hidden=HiddenType.Hidden)]
[FieldDefinition(7,Label="Warning",Type=FieldType.Checkbox,HelpText="Use at your own risk this is not ready and is not in beta but in alpha state")]
82
+
[FieldDefinition(7,Label="Warning",Type=FieldType.Checkbox,HelpText="Use at your own risk this is not ready and is not in beta but in alpha state",Hidden=HiddenType.Hidden)]
0 commit comments