@nomercy-entertainment/nomercy-video-player 0.2.3 → 0.2.4

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.
@@ -0,0 +1,20 @@
1
+ name: Delete old workflow runs
2
+
3
+ on:
4
+ schedule:
5
+ - cron: "0 0 * * *"
6
+
7
+ jobs:
8
+ del_runs:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ actions: write
12
+ contents: read
13
+ steps:
14
+ - name: Delete workflow runs
15
+ uses: Mattraks/delete-workflow-runs@v2
16
+ with:
17
+ token: ${{ secrets.GITHUB_TOKEN }}
18
+ repository: ${{ github.repository }}
19
+ retain_days: 30
20
+ keep_minimum_runs: 6
@@ -2,6 +2,10 @@ name: Create Release
2
2
 
3
3
  on:
4
4
  push:
5
+ paths:
6
+ - 'src/**'
7
+ - 'dist/**'
8
+ - 'package.json'
5
9
  workflow_dispatch:
6
10
 
7
11
  jobs:
@@ -151,6 +151,12 @@ class KeyHandlerPlugin extends plugin_1.default {
151
151
  control: false,
152
152
  function: () => this.player.cycleAudioTracks(),
153
153
  },
154
+ {
155
+ name: 'Cycle audio tracks',
156
+ key: '2',
157
+ control: false,
158
+ function: () => this.player.cycleAudioTracks(),
159
+ },
154
160
  {
155
161
  name: 'Cycle audio',
156
162
  key: 'b',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomercy-entertainment/nomercy-video-player",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Full event-driven video player without a UI.",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",
@@ -153,6 +153,12 @@ class KeyHandlerPlugin extends Plugin {
153
153
  control: false,
154
154
  function: () => this.player.cycleAudioTracks(),
155
155
  },
156
+ {
157
+ name: 'Cycle audio tracks',
158
+ key: '2',
159
+ control: false,
160
+ function: () => this.player.cycleAudioTracks(),
161
+ },
156
162
  {
157
163
  name: 'Cycle audio',
158
164
  key: 'b',