@vestra-player/sdk 1.7.10 → 1.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/commands.d.ts +4 -3
- package/dist/commands.js +5 -4
- package/dist/docs-tree.json.gz +0 -0
- package/dist/plugin/types/base.d.ts +1 -1
- package/dist/plugin/types/processing.d.ts +5 -5
- package/llms.txt +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.7.11
|
|
4
|
+
|
|
5
|
+
**Who must change: nobody; the table follows player #271.** A data refresh of `BUILTIN_COMMANDS`: no API change, `apiVersion` stays `vestra/1`, the API surface snapshot is unchanged.
|
|
6
|
+
|
|
7
|
+
- **Changed row** (`vestra.video`): `video.gpu-rendering` is titled GPU Rendering (was GPU Rendering (Experimental)); still palette-only, no default key. The table in [Reference: commands](docs/reference/commands.md#built-in-commands) follows.
|
|
8
|
+
- **Not synced, by design**: the built-ins' new `destructive` marks (player #274) are not a column of `BUILTIN_COMMANDS`, which lists owners, paths, titles and keys only. `BUILTIN_SUBMENUS`, the Slint library copy, the capability table, translations, palettes and menu ids already matched the player.
|
|
9
|
+
- **Docs**: the player's renderer switch is named as it now is, the Picture panel's GPU Rendering (it named Video ▸ GPU Rendering (Experimental)): `SystemInfo.rendering`, `RenderOptions`, `VideoShaders`, the `UpscalingReasonCode` example, the GPU rendering guide and Platforms; `BUILTIN_COMMANDS` places the passing `video.gpu-rendering.restart` in the Picture panel's Rendering section (it named Video ▸ Restart Player to Apply).
|
|
10
|
+
|
|
3
11
|
## 1.7.10
|
|
4
12
|
|
|
5
13
|
**Who must change: nobody.** No API change, `apiVersion` stays `vestra/1`, the API surface snapshot is unchanged. A plugin that sends many requests at once now sees some of them answered later, never refused.
|
package/dist/commands.d.ts
CHANGED
|
@@ -268,9 +268,10 @@ export interface BuiltinCommand {
|
|
|
268
268
|
* user's own changes come on top; see {@link @vestra-player/sdk!Bindings | Bindings}). Menu items built
|
|
269
269
|
* from content (tracks, recent files, output devices) are not listed; their
|
|
270
270
|
* placeholders (`No Audio Tracks`) are. Items that appear only in a
|
|
271
|
-
* passing state are not listed either: the
|
|
272
|
-
*
|
|
273
|
-
* while a rendering choice waits
|
|
271
|
+
* passing state are not listed either: the video plugin's Restart
|
|
272
|
+
* (`video.gpu-rendering.restart`), in the Picture panel's Rendering section
|
|
273
|
+
* beside GPU Rendering (not in a menu), shown while a rendering choice waits
|
|
274
|
+
* for the next start.
|
|
274
275
|
*
|
|
275
276
|
* A snapshot of the player's built-in commands at this SDK release; the
|
|
276
277
|
* player may differ between SDK releases. The player's tests check that
|
package/dist/commands.js
CHANGED
|
@@ -596,7 +596,7 @@ vestra.video | video.saturation.down | (Saturation -1%) | Y
|
|
|
596
596
|
vestra.video | video.saturation.up | (Saturation +1%) | U
|
|
597
597
|
vestra.video | video.hue.down | (Hue -1%) | I
|
|
598
598
|
vestra.video | video.hue.up | (Hue +1%) | O
|
|
599
|
-
vestra.video | video.gpu-rendering | (GPU Rendering
|
|
599
|
+
vestra.video | video.gpu-rendering | (GPU Rendering)
|
|
600
600
|
vestra.video | video.upscaling | (AI Upscaling)
|
|
601
601
|
`;
|
|
602
602
|
/**
|
|
@@ -607,9 +607,10 @@ vestra.video | video.upscaling | (AI Upscaling)
|
|
|
607
607
|
* user's own changes come on top; see {@link @vestra-player/sdk!Bindings | Bindings}). Menu items built
|
|
608
608
|
* from content (tracks, recent files, output devices) are not listed; their
|
|
609
609
|
* placeholders (`No Audio Tracks`) are. Items that appear only in a
|
|
610
|
-
* passing state are not listed either: the
|
|
611
|
-
*
|
|
612
|
-
* while a rendering choice waits
|
|
610
|
+
* passing state are not listed either: the video plugin's Restart
|
|
611
|
+
* (`video.gpu-rendering.restart`), in the Picture panel's Rendering section
|
|
612
|
+
* beside GPU Rendering (not in a menu), shown while a rendering choice waits
|
|
613
|
+
* for the next start.
|
|
613
614
|
*
|
|
614
615
|
* A snapshot of the player's built-in commands at this SDK release; the
|
|
615
616
|
* player may differ between SDK releases. The player's tests check that
|
package/dist/docs-tree.json.gz
CHANGED
|
Binary file
|
|
@@ -1081,7 +1081,7 @@ export interface SystemInfo {
|
|
|
1081
1081
|
* the renderer is then unknown, not software.
|
|
1082
1082
|
*
|
|
1083
1083
|
* Today the player renders on the GPU on macOS, on Windows when the
|
|
1084
|
-
* user turned on
|
|
1084
|
+
* user turned on the Picture panel's GPU Rendering (since version 0.5.14;
|
|
1085
1085
|
* off by default), and in software otherwise: on Windows by default, on
|
|
1086
1086
|
* Linux and without a user interface (see
|
|
1087
1087
|
* [Platforms](../../../docs/reference/platforms.md)); test this field
|
|
@@ -256,8 +256,8 @@ export interface RenderSettings {
|
|
|
256
256
|
* independent handles.
|
|
257
257
|
*
|
|
258
258
|
* Platforms: macOS renders on the GPU by default; Windows does since
|
|
259
|
-
* version 0.5.14 of the player when the user turns on
|
|
260
|
-
*
|
|
259
|
+
* version 0.5.14 of the player when the user turns on the Picture panel's
|
|
260
|
+
* GPU Rendering (off by default, {@link Rendering}). Under software
|
|
261
261
|
* rendering (Windows by default, Linux, headless, fallback) every `set`
|
|
262
262
|
* fails with `unsupported`; {@link SystemInfo.rendering} tells which
|
|
263
263
|
* renderer draws without creating the handle. macOS OpenGL 4.1 has no
|
|
@@ -371,8 +371,8 @@ export interface RenderOptions extends Disposable {
|
|
|
371
371
|
* at most 16 MiB. Elsewhere: `invalid`; a file that does not exist:
|
|
372
372
|
* `missing`. The player reads the files when the list is set.
|
|
373
373
|
*
|
|
374
|
-
* GPU rendering only (macOS; Windows with
|
|
375
|
-
*
|
|
374
|
+
* GPU rendering only (macOS; Windows with the Picture panel's GPU Rendering
|
|
375
|
+
* turned on): under software rendering a non-empty list is
|
|
376
376
|
* `failed` with `unsupported`, and a switch to software during the run
|
|
377
377
|
* pushes `unsupported` to every handle with shaders and removes every
|
|
378
378
|
* list (they no longer count against the 16); set them again once the
|
|
@@ -540,7 +540,7 @@ export interface VideoShaders extends Disposable {
|
|
|
540
540
|
* // Advice for the codes this plugin knows; any other code shows the message.
|
|
541
541
|
* const advice: Partial<Record<UpscalingReasonCode, string>> = {
|
|
542
542
|
* driver: "Update the NVIDIA driver to 530 or newer.",
|
|
543
|
-
* rendering: "Turn on
|
|
543
|
+
* rendering: "Turn on Picture ▸ GPU Rendering and restart.",
|
|
544
544
|
* };
|
|
545
545
|
* if (reason) console.log(advice[reason.code] ?? reason.message);
|
|
546
546
|
* ```
|
package/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Vestra Player SDK
|
|
2
2
|
|
|
3
|
-
> @vestra-player/sdk 1.7.
|
|
3
|
+
> @vestra-player/sdk 1.7.11: write plugins for Vestra Player in TypeScript (plugin API `vestra/1`). A plugin is a folder with `manifest.json` and an entry module whose default export `activate(plugin)` the player calls. The documentation is a tree of short pages read by path, like `go doc`: the same pages and API as https://vestrasys.github.io/vestra-player-sdk/.
|
|
4
4
|
|
|
5
5
|
## Read the documentation
|
|
6
6
|
|