mirror of
https://github.com/FluxaMedia/fluxa-desktop.git
synced 2026-08-06 16:59:20 +00:00
Two separate issues combined to make the loading overlay disappear before there was anything to show: - The overlay's "first frame ready" check relied on mpv's vo-configured property, which flips as soon as the render pipeline is set up, not once a real decoded frame has actually been rendered through it. Added a frames-rendered counter to MpvRenderer (reset on load, incremented on each successful render_opengl_frame call) and require it to have advanced a couple of ticks past vo-configured before treating the frame as ready. - The audio-only/no-video-track fallback used to guess "no video" from an arbitrary 1-second timeout on the video-codec property being empty. For slow-to-buffer sources (P2P especially) that property can legitimately still be unpopulated a second in, so the timeout fired on real video content too. Replaced it with an actual read of mpv's track-list to tell "no video track exists" apart from "haven't found out yet". Also bump the app version to 0.1.21 for this release.
38 lines
1 KiB
JSON
38 lines
1 KiB
JSON
{
|
|
"name": "fluxa-desktop",
|
|
"private": true,
|
|
"version": "0.1.21",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc && vite build",
|
|
"check": "npm run build && cd src-tauri && cargo check",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri",
|
|
"bump": "bash scripts/bump-version.sh"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-deep-link": "^2.4.9",
|
|
"@tauri-apps/plugin-dialog": "^2.7.1",
|
|
"@tauri-apps/plugin-fs": "^2",
|
|
"@tauri-apps/plugin-http": "^2",
|
|
"@tauri-apps/plugin-notification": "^2",
|
|
"@tauri-apps/plugin-process": "^2",
|
|
"@tauri-apps/plugin-shell": "^2",
|
|
"@tauri-apps/plugin-updater": "^2",
|
|
"lucide-react": "^1.22.0",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.3",
|
|
"esbuild": "^0.28.1",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.1.1"
|
|
}
|
|
}
|