Video: show real duration, stay on replay prompt at end

Fix the playback HUD showing "/ 0:00": duration is re-polled in the
render loop until sceAvPlayerGetStreamInfo reports it, instead of being
latched once before async parsing finishes.

When a video reaches its end, hold on the last frame with an
"X replay / O back" prompt instead of returning to the detail screen
(which, for server videos, forced a full re-download to watch again).
X replays from the still-local file via re-init; the decoder claim is
held across replays.

Also add the agentic loop tooling/docs: AgenticLoop.md runbook
(build, install, drive Vita3K via kwin-mcp, zero-context-cost frame
capture), controls.MD key map, deploy.sh, .mcp.json, and gitignore
build-native/ and agent-run/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Sads
2026-06-12 18:13:03 +02:00
co-authored by Claude Opus 4.8
parent 1f6f913b49
commit 6c7cc4b322
6 changed files with 241 additions and 7 deletions
Executable
+25
View File
@@ -0,0 +1,25 @@
#!/bin/bash
set -euo pipefail
TITLE="VIMM00001"
cd "$(dirname "$0")"
pkill -9 -f vita3k 2>/dev/null || true
sleep 1
# Install
vita3k ./build/vitaImmich.vpk >/tmp/vita3k-install.log 2>&1 &
sleep 4
pkill -9 -f vita3k 2>/dev/null || true
sleep 1
# Launch detached
nohup vita3k -r "$TITLE" \
>/tmp/vita3k-runtime.log 2>&1 \
</dev/null &
PID=$!
echo "{\"status\":\"live\",\"pid\":$PID,\"title\":\"$TITLE\"}"