@vestra-player/sdk 1.7.0 → 1.7.1
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 +6 -0
- package/dist/commands.js +11 -11
- package/dist/docs-tree.json.gz +0 -0
- package/llms.txt +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.7.1
|
|
4
|
+
|
|
5
|
+
**Who must change: nobody.** Tables follow the playlist's trimmed list keys: a data refresh of `BUILTIN_COMMANDS`; no API change, `apiVersion` stays `vestra/1`. A plugin whose tests compare a key against the table sees the player's current one.
|
|
6
|
+
|
|
7
|
+
- **`BUILTIN_COMMANDS`**: the built-in playlist (0.2.6) no longer gives its list commands keys that shadow a player key while the list has focus. Play (`vestra.playlist/playlist.play`) keeps `Enter` and loses `P`; Remove Selected (`playlist.remove`) keeps `Delete` and loses `Backspace`; Add Files… (`playlist.list-add`, was `Ctrl+I`), Add Folder… (`playlist.list-add-folder`, `Ctrl+O`), Add Link… (`playlist.list-link`, `Ctrl+U`), Remove Invalid Items (`playlist.remove-invalid`, `Ctrl+T`), Move to Top (`playlist.move-top`, `Ctrl+Home`), Open List File… (`playlist.list-open-list`, `F3`), Save List… (`playlist.list-save-list`, `F2`), Close List (`playlist.close`, `F6`) and Playlist Settings… (`playlist.settings`, `F5`) have no default key, and so no panel scope. Ids, titles and the other list keys are unchanged; `BUILTIN_SUBMENUS` is unchanged. The table in [Reference: commands](docs/reference/commands.md#built-in-commands) follows.
|
|
8
|
+
|
|
3
9
|
## 1.7.0
|
|
4
10
|
|
|
5
11
|
**Who must change: nobody.** The one change a plugin can observe is `Command.set`, which now re-evaluates only its own command instead of running a full update pass: a binding that reads a variable changed together with `cmd.set(…)` outside a handler the SDK runs (a timer, a socket) needs `plugin.update()` after the change, or the variable in `plugin.state` (details under Step 2). Steps 2 and 3 of the SDK refactor (`doc/specs/sdk-refactor.md` §4 in the player repository) and the documentation refactor for the three ways to write a plugin. `apiVersion` stays `vestra/1`, no new capability, no player version needed; every existing golden trace keeps its wire lines and subscriptions, only the update-pass counts drop.
|
package/dist/commands.js
CHANGED
|
@@ -464,16 +464,16 @@ vestra.playback | backward-3 | (Back 60 s) | Shift+ArrowLeft
|
|
|
464
464
|
vestra.playback | forward-3 | (Forward 60 s) | Shift+ArrowRight
|
|
465
465
|
vestra.playback | backward-4 | (Back 300 s) | Ctrl+Alt+ArrowLeft
|
|
466
466
|
vestra.playback | forward-4 | (Forward 300 s) | Ctrl+Alt+ArrowRight
|
|
467
|
-
vestra.playlist | playlist.play | (Play) | Enter
|
|
468
|
-
vestra.playlist | playlist.list-add | (Add Files…)
|
|
469
|
-
vestra.playlist | playlist.list-add-folder | (Add Folder…)
|
|
470
|
-
vestra.playlist | playlist.list-link | (Add Link…)
|
|
471
|
-
vestra.playlist | playlist.remove | (Remove Selected) | Delete
|
|
467
|
+
vestra.playlist | playlist.play | (Play) | Enter | panel
|
|
468
|
+
vestra.playlist | playlist.list-add | (Add Files…)
|
|
469
|
+
vestra.playlist | playlist.list-add-folder | (Add Folder…)
|
|
470
|
+
vestra.playlist | playlist.list-link | (Add Link…)
|
|
471
|
+
vestra.playlist | playlist.remove | (Remove Selected) | Delete | panel
|
|
472
472
|
vestra.playlist | playlist.remove-unselected | (Remove Unselected) | Ctrl+Delete | panel
|
|
473
|
-
vestra.playlist | playlist.remove-invalid | (Remove Invalid Items)
|
|
473
|
+
vestra.playlist | playlist.remove-invalid | (Remove Invalid Items)
|
|
474
474
|
vestra.playlist | playlist.clear | (Remove All) | Alt+Delete | panel
|
|
475
475
|
vestra.playlist | playlist.reveal | (Show in Finder) | Ctrl+F | panel
|
|
476
|
-
vestra.playlist | playlist.move-top | (Move to Top)
|
|
476
|
+
vestra.playlist | playlist.move-top | (Move to Top)
|
|
477
477
|
vestra.playlist | playlist.move-up | (Move Up) | Ctrl+ArrowUp | panel
|
|
478
478
|
vestra.playlist | playlist.move-down | (Move Down) | Ctrl+ArrowDown | panel
|
|
479
479
|
vestra.playlist | playlist.move-bottom | (Move to Bottom) | Ctrl+End | panel
|
|
@@ -491,10 +491,10 @@ vestra.playlist | playlist.sort-path | (Sort by Path)
|
|
|
491
491
|
vestra.playlist | playlist.sort-reverse | (Reverse Current Order)
|
|
492
492
|
vestra.playlist | playlist.select-all | (Select All) | Ctrl+A | panel
|
|
493
493
|
vestra.playlist | playlist.search | (Search) | Ctrl+S | panel
|
|
494
|
-
vestra.playlist | playlist.list-open-list | (Open List File…)
|
|
495
|
-
vestra.playlist | playlist.list-save-list | (Save List…)
|
|
496
|
-
vestra.playlist | playlist.close | (Close List)
|
|
497
|
-
vestra.playlist | playlist.settings | (Playlist Settings…)
|
|
494
|
+
vestra.playlist | playlist.list-open-list | (Open List File…)
|
|
495
|
+
vestra.playlist | playlist.list-save-list | (Save List…)
|
|
496
|
+
vestra.playlist | playlist.close | (Close List)
|
|
497
|
+
vestra.playlist | playlist.settings | (Playlist Settings…)
|
|
498
498
|
vestra.subtitles | show | (Show Subtitles) | Alt+H
|
|
499
499
|
vestra.subtitles | second-off | (Off)
|
|
500
500
|
vestra.subtitles | second-position-top | (Top)
|
package/dist/docs-tree.json.gz
CHANGED
|
Binary file
|
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.1: 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
|
|