Netflex 0.1.4: no flicker during playback, play/pause always pauses
All checks were successful
release / release (push) Successful in 22m58s

- Fennec SDK 0.1.2: the video no longer dims every other frame (it made
  the picture flicker on slow GPUs like the Raspberry Pi 4).
- The remote's play/pause (it arrives as space, sf-compositor) plays or
  pauses even when the controls are up; before, it pressed the focused
  button, e.g. "10 mp" seeked back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-11-01 20:06:31 +01:00
parent 7ab4ae0c4b
commit aa4a4fb5ef
6 changed files with 11 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ jobs:
CARGO_TARGET_DIR: /tmp/fennec-netflex/target CARGO_TARGET_DIR: /tmp/fennec-netflex/target
CARGO_INCREMENTAL: "0" CARGO_INCREMENTAL: "0"
SDK_GIT: https://gitea.bluefox.support/fennec/sdk SDK_GIT: https://gitea.bluefox.support/fennec/sdk
SDK_TAG: v0.1.1 SDK_TAG: v0.1.2
steps: steps:
- name: Checkout - name: Checkout
run: | run: |

6
Cargo.lock generated
View File

@@ -3402,7 +3402,7 @@ dependencies = [
[[package]] [[package]]
name = "netflex-tv" name = "netflex-tv"
version = "0.1.3" version = "0.1.4"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"env_logger", "env_logger",
@@ -4864,8 +4864,8 @@ dependencies = [
[[package]] [[package]]
name = "sf-ui" name = "sf-ui"
version = "0.1.1" version = "0.1.2"
source = "git+https://gitea.bluefox.support/fennec/sdk?tag=v0.1.1#25fecb8daee77232333c6f289410d2fd3eb40bfc" source = "git+https://gitea.bluefox.support/fennec/sdk?tag=v0.1.2#cb37d872ed7195e57268e0c3a1a76367039bf959"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"glow 0.16.0", "glow 0.16.0",

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "netflex-tv" name = "netflex-tv"
description = "Netflex for SmartFox: native TV client with Liquid Glass and hardware video playback" description = "Netflex for SmartFox: native TV client with Liquid Glass and hardware video playback"
version = "0.1.3" version = "0.1.4"
edition = "2024" edition = "2024"
# sf-ui (and Slint) are GPL-3.0 on a TV box. # sf-ui (and Slint) are GPL-3.0 on a TV box.
license = "GPL-3.0-only" license = "GPL-3.0-only"
@@ -10,7 +10,7 @@ publish = false
[dependencies] [dependencies]
# The Fennec OS UI kit (Fennec SDK): Liquid Glass, TV components, images. # The Fennec OS UI kit (Fennec SDK): Liquid Glass, TV components, images.
# Working on sf-ui next to this app: see README.md. # Working on sf-ui next to this app: see README.md.
sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.1" } sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.2" }
slint = "1.18" slint = "1.18"
anyhow = "1" anyhow = "1"
log = "0.4" log = "0.4"
@@ -22,7 +22,7 @@ ureq = { version = "3", features = ["json"] }
# Video playback (GStreamer) only on Linux, the TV. # Video playback (GStreamer) only on Linux, the TV.
[target.'cfg(target_os = "linux")'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]
sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.1", features = ["video"] } sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.2", features = ["video"] }
[build-dependencies] [build-dependencies]
slint-build = "1.18" slint-build = "1.18"

View File

@@ -2,7 +2,7 @@
id = "support.bluefox.netflex" id = "support.bluefox.netflex"
name = "Netflex" name = "Netflex"
# Release versions only (1.2.3). Bump it (and Cargo.toml) for every release. # Release versions only (1.2.3). Bump it (and Cargo.toml) for every release.
version = "0.1.3" version = "0.1.4"
kind = "exec" kind = "exec"
category = "Saját streaming" category = "Saját streaming"
description = "Filmek és sorozatok a saját Netflex szerveredről, natívan: azonnal indul, miközben töltődik, hardveres videódekódolással." description = "Filmek és sorozatok a saját Netflex szerveredről, natívan: azonnal indul, miközben töltődik, hardveres videódekódolással."

View File

@@ -9,7 +9,7 @@
# Build on Debian trixie or older (the TV's glibc), with the GStreamer dev # Build on Debian trixie or older (the TV's glibc), with the GStreamer dev
# packages (libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev) and # packages (libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev) and
# sf-pack from the Fennec SDK: # sf-pack from the Fennec SDK:
# cargo install --locked --git https://gitea.bluefox.support/fennec/sdk --tag v0.1.1 sf-pack # cargo install --locked --git https://gitea.bluefox.support/fennec/sdk --tag v0.1.2 sf-pack
# --arm also needs gcc-aarch64-linux-gnu, the arm64 (multiarch) dev packages # --arm also needs gcc-aarch64-linux-gnu, the arm64 (multiarch) dev packages
# of fontconfig, freetype, xkbcommon and glib, and the arm64 GStreamer # of fontconfig, freetype, xkbcommon and glib, and the arm64 GStreamer
# runtime libraries (libgstreamer1.0-0:arm64 libgstreamer-plugins-base1.0-0:arm64). # runtime libraries (libgstreamer1.0-0:arm64 libgstreamer-plugins-base1.0-0:arm64).

View File

@@ -1191,7 +1191,8 @@ pub fn key(c: &Controller, a: Action, repeat: bool) {
p.osd_until = now + OSD; p.osd_until = now + OSD;
let row = buttons(p); let row = buttons(p);
match a { match a {
Action::Ok | Action::PlayPause if p.area == 1 && visible => match p.button { // OK presses the focused button; play/pause always plays or pauses.
Action::Ok if p.area == 1 && visible => match p.button {
0 => { 0 => {
toggle(p, now); toggle(p, now);
Then::Nothing Then::Nothing