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>
26 lines
415 B
Bash
Executable File
26 lines
415 B
Bash
Executable File
#!/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\"}"
|