iPX

ipx::types

Struct ipx::types::Settings

struct Settings {
    schedule: String,
    every_mins: u64,
    max_new_per_check: usize,
    media_types: Vec<String>,
    download_dir: String,
    max_total_gb: f64,
    max_age_days: u64,
    art_cache_mb: u64,
    directory_url: String,
    directory_token_set: bool,
    directory_share: bool,
    signals_on_server: bool,
    signal_days: u64,
    typesafe_server_key: bool,
}

The server’s settings.

Fields

§schedule: String
How often feeds are checked, such as every 60m.
§every_mins: u64
The same in minutes.
§max_new_per_check: usize
The newest episodes a check downloads, a feed.
§media_types: Vec<String>
What is downloaded, such as audio, video.
§download_dir: String
§max_total_gb: f64
Disk to use; 0 for no limit.
§max_age_days: u64
0 for no limit.
§art_cache_mb: u64
Artwork kept.
§directory_url: String
§directory_token_set: bool
The token itself is never sent back.
§directory_share: bool
§signals_on_server: bool
Everyone’s Signals are judged on the server’s TypeSafe key, not each person’s.
§signal_days: u64
How many days back a new Signal reads; 7 unless an admin sets it.
§typesafe_server_key: bool
The server has a TypeSafe key (TYPESAFE_KEY); without one, signals_on_server changes nothing.

Used by