Netflex 0.1.3: automatic look (Material on weak GPUs), fixed ARM release build
All checks were successful
release / release (push) Successful in 22m41s
All checks were successful
release / release (push) Successful in 22m41s
- Fennec SDK 0.1.1: "Automatikus" now measures the GPU and picks full glass, light glass or the matte Material style; "Kikapcsolva" became "Matt" (Material). A Raspberry Pi 4 gets Material. - The 0.1.2 release build failed: arm64 GStreamer dev packages can't be installed next to the amd64 ones on the runner. package.sh --arm now links the arm64 GStreamer runtime libraries directly (system-deps without pkg-config), so the CI installs no GStreamer dev package twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,7 +55,7 @@ impl Config {
|
||||
/// per-device look: `$HOME/.config/netflex/device.toml`.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct Local {
|
||||
/// "auto" | "full" | "light" | "off"
|
||||
/// "auto" | "full" | "light" | "off" (Material)
|
||||
#[serde(default = "auto")]
|
||||
pub glass: String,
|
||||
/// The release group picked per anime (AniList id -> "SubsPlease|1080").
|
||||
@@ -91,11 +91,13 @@ impl Local {
|
||||
}
|
||||
}
|
||||
|
||||
/// Applies the glass look ("auto" = full: the TV's GPU handles it).
|
||||
/// Applies the glass look. "auto": sf-ui measures the GPU and picks full,
|
||||
/// light or the matte Material style; "off" (shown as "Matt") is Material.
|
||||
pub fn apply_look(glass: &sf_ui::Glass, look: &str) {
|
||||
glass.set_quality(match look {
|
||||
"light" => sf_ui::Quality::Light,
|
||||
"off" => sf_ui::Quality::Flat,
|
||||
_ => sf_ui::Quality::Full,
|
||||
});
|
||||
match look {
|
||||
"full" => glass.set_quality(sf_ui::Quality::Full),
|
||||
"light" => glass.set_quality(sf_ui::Quality::Light),
|
||||
"off" => glass.set_quality(sf_ui::Quality::Material),
|
||||
_ => glass.set_auto_quality(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -668,11 +668,11 @@ impl Settings {
|
||||
lines.push(L::chips(
|
||||
"look",
|
||||
"ÜVEGHATÁS",
|
||||
[("auto", "Automatikus"), ("full", "Teljes (liquid glass)"), ("light", "Könnyített"), ("off", "Kikapcsolva")].iter().map(|(v, l)| Ch::new(*v, *l).active(cur == *v)).collect(),
|
||||
[("auto", "Automatikus"), ("full", "Teljes (liquid glass)"), ("light", "Könnyített"), ("off", "Matt")].iter().map(|(v, l)| Ch::new(*v, *l).active(cur == *v)).collect(),
|
||||
));
|
||||
lines.push(L::text(
|
||||
"look-hint2",
|
||||
"A teljes „liquid glass” a felületek peremén lencseként megtöri a mögöttük lévő képet: ez a legszebb, de a legtöbb erőforrást is ez kéri. A könnyített mód ugyanilyen fényes peremet kap, egyszerű fagyasztással. Kikapcsolva nincs elmosás: gyengébb TV-n ez a legsimább.",
|
||||
"Automatikusan az első indításkor lemérjük a TV grafikus teljesítményét, és a legszebb olyan módot választjuk, amely még akadásmentes. A teljes „liquid glass” a felületek peremén lencseként megtöri a mögöttük lévő képet: ez a legszebb, de a legtöbb erőforrást is ez kéri. A könnyített mód ugyanilyen fényes peremet kap, egyszerű fagyasztással. A matt mód üveg helyett sima, kitöltött felületeket rajzol: gyenge TV-n (pl. Raspberry Pi 4) ez a legsimább.",
|
||||
"caption",
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user