Readd downloads mount
This commit is contained in:
@@ -29,7 +29,7 @@ type ConfigInterface interface {
|
||||
ShouldForceIPv6() bool
|
||||
GetRealDebridTimeout() int
|
||||
GetRetriesUntilFailed() int
|
||||
EnableDownloadCache() bool
|
||||
EnableDownloadMount() bool
|
||||
GetRateLimitSleepSeconds() int
|
||||
ShouldDeleteRarFiles() bool
|
||||
}
|
||||
@@ -54,7 +54,7 @@ type ZurgConfig struct {
|
||||
DeleteRarFiles bool `yaml:"auto_delete_rar_torrents" json:"auto_delete_rar_torrents"`
|
||||
|
||||
RealDebridTimeout int `yaml:"realdebrid_timeout_secs" json:"realdebrid_timeout_secs"`
|
||||
UseDownloadCache bool `yaml:"use_download_cache" json:"use_download_cache"`
|
||||
DownloadMount bool `yaml:"enable_download_mount" json:"enable_download_mount"`
|
||||
RateLimitSleepSeconds int `yaml:"rate_limit_sleep_secs" json:"rate_limit_sleep_secs"`
|
||||
RetriesUntilFailed int `yaml:"retries_until_failed" json:"retries_until_failed"`
|
||||
PreferredHosts []string `yaml:"preferred_hosts" json:"preferred_hosts"`
|
||||
@@ -168,8 +168,8 @@ func (z *ZurgConfig) GetRetriesUntilFailed() int {
|
||||
return z.RetriesUntilFailed
|
||||
}
|
||||
|
||||
func (z *ZurgConfig) EnableDownloadCache() bool {
|
||||
return z.UseDownloadCache
|
||||
func (z *ZurgConfig) EnableDownloadMount() bool {
|
||||
return z.DownloadMount
|
||||
}
|
||||
|
||||
func (z *ZurgConfig) GetRealDebridTimeout() int {
|
||||
|
||||
Reference in New Issue
Block a user