dashboard: per-player settings, storage usage; drop Config tab

- Remove the separate Config tab (3 tabs now); each player's settings
  (content type, mount point, music folder, fat order, sync command) are shown
  in a PLAYER SETTINGS card on the dashboard
- Show mounted storage on the device card: total/free space (statvfs) plus a
  usage gauge
- Add library + sync-pipeline cards and full-width SYNC PATH chain
- Update keybar/help/README for 3 tabs
This commit is contained in:
Sebastian
2026-08-22 09:57:53 +02:00
parent 416776bdf4
commit 88b53e50d1
12 changed files with 243 additions and 154 deletions
-3
View File
@@ -124,7 +124,6 @@ pub struct Config {
pub storagebox_hoerspiele_source: String,
pub storagebox_excludes: Vec<String>,
pub devices: Vec<Device>,
pub raw_text: String,
}
impl Config {
@@ -258,7 +257,6 @@ pub fn load(config_path: Option<String>) -> Result<Config> {
.map(|v| v.clone())
.unwrap_or_else(|| DEFAULT_EXCLUDES.iter().map(|s| s.to_string()).collect()),
devices,
raw_text: text,
}
} else {
Config {
@@ -270,7 +268,6 @@ pub fn load(config_path: Option<String>) -> Result<Config> {
storagebox_hoerspiele_source: DEFAULT_STORAGEBOX_HOERSPIELE_SOURCE.to_string(),
storagebox_excludes: DEFAULT_EXCLUDES.iter().map(|s| s.to_string()).collect(),
devices: Vec::new(),
raw_text: "# no config file found\n".to_string(),
}
};