Player - Now Playing strip + video stage, play/pause/seek/volume, next/prev file, mini/full view, fullscreen, Keep/Ditch prompt after playback. - src-tauri/src/media.rs: loopback HTTP server (random port + token, only files media_list handed out) with Range support; media_trash moves played downloads to the Trash, only inside the download folder. Playback fixes - Always send Content-Length: tiny_http chunks bodies over 32 KB, which stopped GStreamer seeking and left MKVs "buffering" forever. - Hide Matroska subtitle tracks while serving (TrackType 0x11 -> 0x21, same length): WebKitGTK 2.54 never finishes loading an MKV that has them. GPU - Replace WEBKIT_DISABLE_DMABUF_RENDERER=1 with __NV_DISABLE_EXPLICIT_SYNC=1 when the NVIDIA driver is loaded. Same Wayland "Error 71" fix, but keeps WebKit's GPU renderer; video in a large window used ~2x the CPU before. Accessibility - Pointer cursor on everything clickable (.clickable for custom elements), hover wash on clickable list rows. - List text 12px / 18px rows (chrome stays 11px Tahoma). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
571 B
JSON
19 lines
571 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Main window permissions",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:window:allow-set-title",
|
|
"core:window:allow-set-fullscreen",
|
|
"store:default",
|
|
"opener:default",
|
|
{ "identifier": "opener:allow-open-path", "allow": [{ "path": "**" }] },
|
|
"dialog:default",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [{ "url": "http://*:*" }, { "url": "https://*:*" }, { "url": "http://*" }, { "url": "https://*" }]
|
|
}
|
|
]
|
|
}
|