Expose the Post Torrent Download Action setting on the Provider settings.
This commit is contained in:
parent
6b0265716e
commit
22ba9c7ce6
1 changed files with 7 additions and 10 deletions
|
|
@ -166,12 +166,12 @@ or
|
||||||
|
|
||||||
public class DbSettingsIntegrations
|
public class DbSettingsIntegrations
|
||||||
{
|
{
|
||||||
public DbSettingsDefaultsWithDownload Default { get; set; } = new();
|
public DbSettingsDefaultsWithCategory Default { get; set; } = new();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DbSettingsGui
|
public class DbSettingsGui
|
||||||
{
|
{
|
||||||
public DbSettingsDefaultsWithDownload Default { get; set; } = new();
|
public DbSettingsDefaultsWithCategory Default { get; set; } = new();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DbSettingsWatch
|
public class DbSettingsWatch
|
||||||
|
|
@ -193,18 +193,15 @@ public class DbSettingsWatch
|
||||||
public Int32 Interval { get; set; } = 60;
|
public Int32 Interval { get; set; } = 60;
|
||||||
|
|
||||||
[DisplayName("Import Defaults")]
|
[DisplayName("Import Defaults")]
|
||||||
public DbSettingsDefaultsWithDownload Default { get; set; } = new();
|
public DbSettingsDefaultsWithCategory Default { get; set; } = new();
|
||||||
}
|
|
||||||
|
|
||||||
public class DbSettingsDefaultsWithDownload : DbSettingsDefaultsWithCategory
|
|
||||||
{
|
|
||||||
[DisplayName("Post Torrent Download Action")]
|
|
||||||
[Description("When a torrent is finished downloading on your debrid provider, perform this action. Use this setting if you only want to add files to your debrid provider but not download them to the host.")]
|
|
||||||
public TorrentHostDownloadAction HostDownloadAction { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DbSettingsDefaultsWithCategory : DbSettingsDefaults
|
public class DbSettingsDefaultsWithCategory : DbSettingsDefaults
|
||||||
{
|
{
|
||||||
|
[DisplayName("Post Torrent Download Action")]
|
||||||
|
[Description("When a torrent is finished downloading on your debrid provider, perform this action. Use this setting if you only want to add files to your debrid provider but not download them to the host.")]
|
||||||
|
public TorrentHostDownloadAction HostDownloadAction { get; set; }
|
||||||
|
|
||||||
[DisplayName("Category")]
|
[DisplayName("Category")]
|
||||||
[Description("When a torrent is imported assign it this category.")]
|
[Description("When a torrent is imported assign it this category.")]
|
||||||
public String? Category { get; set; } = null;
|
public String? Category { get; set; } = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue