Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e62d3d2ee | ||
|
|
c477f62f69 | ||
|
|
0af246cff2 | ||
|
|
e095863afa | ||
|
|
a290e83c19 | ||
|
|
f8545d2182 | ||
|
|
2b3c02b261 | ||
|
|
9ce5f84fc5 |
No files matched your search
@@ -32,7 +32,7 @@ jobs:
|
|||||||
uses: swatinem/rust-cache@v2
|
uses: swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
workspaces: "./src-tauri -> target"
|
workspaces: "./src-tauri -> target"
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v2
|
||||||
name: Install pnpm
|
name: Install pnpm
|
||||||
with:
|
with:
|
||||||
@@ -42,16 +42,16 @@ jobs:
|
|||||||
- name: Get pnpm store directory
|
- name: Get pnpm store directory
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
name: Setup pnpm cache
|
name: Setup pnpm cache
|
||||||
with:
|
with:
|
||||||
path: ${{ env.STORE_PATH }}
|
path: ${{ env.STORE_PATH }}
|
||||||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pnpm-store-
|
${{ runner.os }}-pnpm-store-
|
||||||
|
|
||||||
- name: Sync node version and setup cache
|
- name: Sync node version and setup cache
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -63,10 +63,12 @@ jobs:
|
|||||||
run: pnpm install --no-frozen-lockfile && pnpm run build # Change this to npm, yarn or pnpm.
|
run: pnpm install --no-frozen-lockfile && pnpm run build # Change this to npm, yarn or pnpm.
|
||||||
|
|
||||||
- name: Build the app
|
- name: Build the app
|
||||||
uses: tauri-apps/tauri-action@v0
|
uses: tauri-apps/tauri-action@dev
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY}}
|
||||||
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD}}
|
||||||
with:
|
with:
|
||||||
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
|
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
|
||||||
releaseName: "App Name v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version.
|
releaseName: "App Name v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version.
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@
|
|||||||
"@fontsource/noto-sans": "^5.0.17",
|
"@fontsource/noto-sans": "^5.0.17",
|
||||||
"@jellyfin/sdk": "0.8.2",
|
"@jellyfin/sdk": "0.8.2",
|
||||||
"@mdi/js": "^7.3.67",
|
"@mdi/js": "^7.3.67",
|
||||||
"@mui/lab": "5.0.0-alpha.153",
|
"@mui/lab": "5.0.0-alpha.155",
|
||||||
"@mui/material": "^5.14.15",
|
"@mui/material": "^5.14.15",
|
||||||
"@tanstack/react-query": "^5.0.5",
|
"@tanstack/react-query": "^5.0.5",
|
||||||
"@tanstack/react-query-devtools": "^5.4.2",
|
"@tanstack/react-query-devtools": "^5.4.2",
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"eslint-plugin-react-refresh": "^0.4.3",
|
"eslint-plugin-react-refresh": "^0.4.3",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"sass": "^1.69.5",
|
"sass": "^1.69.5",
|
||||||
"vite": "^5.0.0",
|
"vite": "^5.0.5",
|
||||||
"vite-plugin-compression": "^0.5.1"
|
"vite-plugin-compression": "^0.5.1"
|
||||||
},
|
},
|
||||||
"license": "GPL-3.0-only"
|
"license": "GPL-3.0-only"
|
||||||
|
|||||||
Generated
+85
-74
@@ -24,8 +24,8 @@ dependencies:
|
|||||||
specifier: ^7.3.67
|
specifier: ^7.3.67
|
||||||
version: 7.3.67
|
version: 7.3.67
|
||||||
'@mui/lab':
|
'@mui/lab':
|
||||||
specifier: 5.0.0-alpha.153
|
specifier: 5.0.0-alpha.155
|
||||||
version: 5.0.0-alpha.153(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.15)(react-dom@18.2.0)(react@18.2.0)
|
version: 5.0.0-alpha.155(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.15)(react-dom@18.2.0)(react@18.2.0)
|
||||||
'@mui/material':
|
'@mui/material':
|
||||||
specifier: ^5.14.15
|
specifier: ^5.14.15
|
||||||
version: 5.14.15(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react-dom@18.2.0)(react@18.2.0)
|
version: 5.14.15(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react-dom@18.2.0)(react@18.2.0)
|
||||||
@@ -94,7 +94,7 @@ dependencies:
|
|||||||
version: 9.0.1
|
version: 9.0.1
|
||||||
vite-plugin-svgr:
|
vite-plugin-svgr:
|
||||||
specifier: ^4.1.0
|
specifier: ^4.1.0
|
||||||
version: 4.1.0(vite@5.0.0)
|
version: 4.1.0(vite@5.0.5)
|
||||||
wavesurfer.js:
|
wavesurfer.js:
|
||||||
specifier: ^7.4.2
|
specifier: ^7.4.2
|
||||||
version: 7.4.2
|
version: 7.4.2
|
||||||
@@ -108,7 +108,7 @@ devDependencies:
|
|||||||
version: 1.5.6
|
version: 1.5.6
|
||||||
'@vitejs/plugin-react':
|
'@vitejs/plugin-react':
|
||||||
specifier: ^4.1.0
|
specifier: ^4.1.0
|
||||||
version: 4.1.0(vite@5.0.0)
|
version: 4.1.0(vite@5.0.5)
|
||||||
eslint:
|
eslint:
|
||||||
specifier: ^8.52.0
|
specifier: ^8.52.0
|
||||||
version: 8.52.0
|
version: 8.52.0
|
||||||
@@ -125,11 +125,11 @@ devDependencies:
|
|||||||
specifier: ^1.69.5
|
specifier: ^1.69.5
|
||||||
version: 1.69.5
|
version: 1.69.5
|
||||||
vite:
|
vite:
|
||||||
specifier: ^5.0.0
|
specifier: ^5.0.5
|
||||||
version: 5.0.0(sass@1.69.5)
|
version: 5.0.5(sass@1.69.5)
|
||||||
vite-plugin-compression:
|
vite-plugin-compression:
|
||||||
specifier: ^0.5.1
|
specifier: ^0.5.1
|
||||||
version: 0.5.1(vite@5.0.0)
|
version: 0.5.1(vite@5.0.5)
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
@@ -314,6 +314,13 @@ packages:
|
|||||||
regenerator-runtime: 0.14.0
|
regenerator-runtime: 0.14.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/@babel/runtime@7.23.5:
|
||||||
|
resolution: {integrity: sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==}
|
||||||
|
engines: {node: '>=6.9.0'}
|
||||||
|
dependencies:
|
||||||
|
regenerator-runtime: 0.14.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@babel/template@7.22.15:
|
/@babel/template@7.22.15:
|
||||||
resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==}
|
resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
@@ -806,8 +813,8 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.23.2
|
'@babel/runtime': 7.23.2
|
||||||
'@floating-ui/react-dom': 2.0.2(react-dom@18.2.0)(react@18.2.0)
|
'@floating-ui/react-dom': 2.0.2(react-dom@18.2.0)(react@18.2.0)
|
||||||
'@mui/types': 7.2.8
|
'@mui/types': 7.2.9
|
||||||
'@mui/utils': 5.14.16(react@18.2.0)
|
'@mui/utils': 5.14.18(react@18.2.0)
|
||||||
'@popperjs/core': 2.11.8
|
'@popperjs/core': 2.11.8
|
||||||
clsx: 2.0.0
|
clsx: 2.0.0
|
||||||
prop-types: 15.8.1
|
prop-types: 15.8.1
|
||||||
@@ -815,8 +822,8 @@ packages:
|
|||||||
react-dom: 18.2.0(react@18.2.0)
|
react-dom: 18.2.0(react@18.2.0)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@mui/base@5.0.0-beta.24(react-dom@18.2.0)(react@18.2.0):
|
/@mui/base@5.0.0-beta.26(react-dom@18.2.0)(react@18.2.0):
|
||||||
resolution: {integrity: sha512-bKt2pUADHGQtqWDZ8nvL2Lvg2GNJyd/ZUgZAJoYzRgmnxBL9j36MSlS3+exEdYkikcnvVafcBtD904RypFKb0w==}
|
resolution: {integrity: sha512-gPMRKC84VRw+tjqYoyBzyrBUqHQucMXdlBpYazHa5rCXrb91fYEQk5SqQ2U5kjxx9QxZxTBvWAmZ6DblIgaGhQ==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/react': ^17.0.0 || ^18.0.0
|
'@types/react': ^17.0.0 || ^18.0.0
|
||||||
@@ -826,10 +833,10 @@ packages:
|
|||||||
'@types/react':
|
'@types/react':
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.23.2
|
'@babel/runtime': 7.23.5
|
||||||
'@floating-ui/react-dom': 2.0.4(react-dom@18.2.0)(react@18.2.0)
|
'@floating-ui/react-dom': 2.0.4(react-dom@18.2.0)(react@18.2.0)
|
||||||
'@mui/types': 7.2.9
|
'@mui/types': 7.2.10
|
||||||
'@mui/utils': 5.14.18(react@18.2.0)
|
'@mui/utils': 5.14.20(react@18.2.0)
|
||||||
'@popperjs/core': 2.11.8
|
'@popperjs/core': 2.11.8
|
||||||
clsx: 2.0.0
|
clsx: 2.0.0
|
||||||
prop-types: 15.8.1
|
prop-types: 15.8.1
|
||||||
@@ -841,8 +848,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-ZCDzBWtCKjAYAlKKM3PA/jG/3uVIDT9ZitOtVixIVmTCQyc5jSV1qhJX8+qIGz4RQZ9KLzPWO2tXd0O5hvzouQ==}
|
resolution: {integrity: sha512-ZCDzBWtCKjAYAlKKM3PA/jG/3uVIDT9ZitOtVixIVmTCQyc5jSV1qhJX8+qIGz4RQZ9KLzPWO2tXd0O5hvzouQ==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@mui/lab@5.0.0-alpha.153(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.15)(react-dom@18.2.0)(react@18.2.0):
|
/@mui/lab@5.0.0-alpha.155(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.15)(react-dom@18.2.0)(react@18.2.0):
|
||||||
resolution: {integrity: sha512-vogVniN5JC7ltqPpPhIGYVImnvu0PnE1UbtFvbzVs3ldt3obWJ5XrhYS/OEV6H2/9dey3nUNU6i36FG1yreFDA==}
|
resolution: {integrity: sha512-9mE929QFToQnSghSwvcy3Yeg+Pkj2WnR6z9OP871JiqFDL80b6OaLg2qyUt4zTFhbiBwUyBTJQ9XFrkFIibLHw==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@emotion/react': ^11.5.0
|
'@emotion/react': ^11.5.0
|
||||||
@@ -859,14 +866,14 @@ packages:
|
|||||||
'@types/react':
|
'@types/react':
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.23.2
|
'@babel/runtime': 7.23.5
|
||||||
'@emotion/react': 11.11.1(react@18.2.0)
|
'@emotion/react': 11.11.1(react@18.2.0)
|
||||||
'@emotion/styled': 11.11.0(@emotion/react@11.11.1)(react@18.2.0)
|
'@emotion/styled': 11.11.0(@emotion/react@11.11.1)(react@18.2.0)
|
||||||
'@mui/base': 5.0.0-beta.24(react-dom@18.2.0)(react@18.2.0)
|
'@mui/base': 5.0.0-beta.26(react-dom@18.2.0)(react@18.2.0)
|
||||||
'@mui/material': 5.14.15(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react-dom@18.2.0)(react@18.2.0)
|
'@mui/material': 5.14.15(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react-dom@18.2.0)(react@18.2.0)
|
||||||
'@mui/system': 5.14.18(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0)
|
'@mui/system': 5.14.20(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0)
|
||||||
'@mui/types': 7.2.9
|
'@mui/types': 7.2.10
|
||||||
'@mui/utils': 5.14.18(react@18.2.0)
|
'@mui/utils': 5.14.20(react@18.2.0)
|
||||||
clsx: 2.0.0
|
clsx: 2.0.0
|
||||||
prop-types: 15.8.1
|
prop-types: 15.8.1
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
@@ -919,13 +926,13 @@ packages:
|
|||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.23.2
|
'@babel/runtime': 7.23.2
|
||||||
'@mui/utils': 5.14.16(react@18.2.0)
|
'@mui/utils': 5.14.18(react@18.2.0)
|
||||||
prop-types: 15.8.1
|
prop-types: 15.8.1
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@mui/private-theming@5.14.18(react@18.2.0):
|
/@mui/private-theming@5.14.20(react@18.2.0):
|
||||||
resolution: {integrity: sha512-WSgjqRlzfHU+2Rou3HlR2Gqfr4rZRsvFgataYO3qQ0/m6gShJN+lhVEvwEiJ9QYyVzMDvNpXZAcqp8Y2Vl+PAw==}
|
resolution: {integrity: sha512-WV560e1vhs2IHCh0pgUaWHznrcrVoW9+cDCahU1VTkuwPokWVvb71ccWQ1f8Y3tRBPPcNkU2dChkkRJChLmQlQ==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/react': ^17.0.0 || ^18.0.0
|
'@types/react': ^17.0.0 || ^18.0.0
|
||||||
@@ -934,8 +941,8 @@ packages:
|
|||||||
'@types/react':
|
'@types/react':
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.23.2
|
'@babel/runtime': 7.23.5
|
||||||
'@mui/utils': 5.14.18(react@18.2.0)
|
'@mui/utils': 5.14.20(react@18.2.0)
|
||||||
prop-types: 15.8.1
|
prop-types: 15.8.1
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
@@ -962,8 +969,8 @@ packages:
|
|||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@mui/styled-engine@5.14.18(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0):
|
/@mui/styled-engine@5.14.20(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0):
|
||||||
resolution: {integrity: sha512-pW8bpmF9uCB5FV2IPk6mfbQCjPI5vGI09NOLhtGXPeph/4xIfC3JdIX0TILU0WcTs3aFQqo6s2+1SFgIB9rCXA==}
|
resolution: {integrity: sha512-Vs4nGptd9wRslo9zeRkuWcZeIEp+oYbODy+fiZKqqr4CH1Gfi9fdP0Q1tGYk8OiJ2EPB/tZSAyOy62Hyp/iP7g==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@emotion/react': ^11.4.1
|
'@emotion/react': ^11.4.1
|
||||||
@@ -975,7 +982,7 @@ packages:
|
|||||||
'@emotion/styled':
|
'@emotion/styled':
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.23.2
|
'@babel/runtime': 7.23.5
|
||||||
'@emotion/cache': 11.11.0
|
'@emotion/cache': 11.11.0
|
||||||
'@emotion/react': 11.11.1(react@18.2.0)
|
'@emotion/react': 11.11.1(react@18.2.0)
|
||||||
'@emotion/styled': 11.11.0(@emotion/react@11.11.1)(react@18.2.0)
|
'@emotion/styled': 11.11.0(@emotion/react@11.11.1)(react@18.2.0)
|
||||||
@@ -1005,16 +1012,16 @@ packages:
|
|||||||
'@emotion/styled': 11.11.0(@emotion/react@11.11.1)(react@18.2.0)
|
'@emotion/styled': 11.11.0(@emotion/react@11.11.1)(react@18.2.0)
|
||||||
'@mui/private-theming': 5.14.16(react@18.2.0)
|
'@mui/private-theming': 5.14.16(react@18.2.0)
|
||||||
'@mui/styled-engine': 5.14.16(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0)
|
'@mui/styled-engine': 5.14.16(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0)
|
||||||
'@mui/types': 7.2.8
|
'@mui/types': 7.2.9
|
||||||
'@mui/utils': 5.14.16(react@18.2.0)
|
'@mui/utils': 5.14.18(react@18.2.0)
|
||||||
clsx: 2.0.0
|
clsx: 2.0.0
|
||||||
csstype: 3.1.2
|
csstype: 3.1.2
|
||||||
prop-types: 15.8.1
|
prop-types: 15.8.1
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@mui/system@5.14.18(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0):
|
/@mui/system@5.14.20(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0):
|
||||||
resolution: {integrity: sha512-hSQQdb3KF72X4EN2hMEiv8EYJZSflfdd1TRaGPoR7CIAG347OxCslpBUwWngYobaxgKvq6xTrlIl+diaactVww==}
|
resolution: {integrity: sha512-jKOGtK4VfYZG5kdaryUHss4X6hzcfh0AihT8gmnkfqRtWP7xjY+vPaUhhuSeibE5sqA5wCtdY75z6ep9pxFnIg==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@emotion/react': ^11.5.0
|
'@emotion/react': ^11.5.0
|
||||||
@@ -1029,21 +1036,21 @@ packages:
|
|||||||
'@types/react':
|
'@types/react':
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.23.2
|
'@babel/runtime': 7.23.5
|
||||||
'@emotion/react': 11.11.1(react@18.2.0)
|
'@emotion/react': 11.11.1(react@18.2.0)
|
||||||
'@emotion/styled': 11.11.0(@emotion/react@11.11.1)(react@18.2.0)
|
'@emotion/styled': 11.11.0(@emotion/react@11.11.1)(react@18.2.0)
|
||||||
'@mui/private-theming': 5.14.18(react@18.2.0)
|
'@mui/private-theming': 5.14.20(react@18.2.0)
|
||||||
'@mui/styled-engine': 5.14.18(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0)
|
'@mui/styled-engine': 5.14.20(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0)
|
||||||
'@mui/types': 7.2.9
|
'@mui/types': 7.2.10
|
||||||
'@mui/utils': 5.14.18(react@18.2.0)
|
'@mui/utils': 5.14.20(react@18.2.0)
|
||||||
clsx: 2.0.0
|
clsx: 2.0.0
|
||||||
csstype: 3.1.2
|
csstype: 3.1.2
|
||||||
prop-types: 15.8.1
|
prop-types: 15.8.1
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@mui/types@7.2.7:
|
/@mui/types@7.2.10:
|
||||||
resolution: {integrity: sha512-sofpWmcBqOlTzRbr1cLQuUDKaUYVZTw8ENQrtL39TECRNENEzwgnNPh6WMfqMZlMvf1Aj9DLg74XPjnLr0izUQ==}
|
resolution: {integrity: sha512-wX1vbDC+lzF7FlhT6A3ffRZgEoKWPF8VqRoTu4lZwouFX2t90KyCMsgepMw5DxLak1BSp/KP86CmtZttikb/gQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/react': ^17.0.0 || ^18.0.0
|
'@types/react': ^17.0.0 || ^18.0.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
@@ -1051,8 +1058,8 @@ packages:
|
|||||||
optional: true
|
optional: true
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@mui/types@7.2.8:
|
/@mui/types@7.2.7:
|
||||||
resolution: {integrity: sha512-9u0ji+xspl96WPqvrYJF/iO+1tQ1L5GTaDOeG3vCR893yy7VcWwRNiVMmPdPNpMDqx0WV1wtEW9OMwK9acWJzQ==}
|
resolution: {integrity: sha512-sofpWmcBqOlTzRbr1cLQuUDKaUYVZTw8ENQrtL39TECRNENEzwgnNPh6WMfqMZlMvf1Aj9DLg74XPjnLr0izUQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/react': ^17.0.0 || ^18.0.0
|
'@types/react': ^17.0.0 || ^18.0.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
@@ -1086,23 +1093,6 @@ packages:
|
|||||||
react-is: 18.2.0
|
react-is: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@mui/utils@5.14.16(react@18.2.0):
|
|
||||||
resolution: {integrity: sha512-3xV31GposHkwRbQzwJJuooWpK2ybWdEdeUPtRjv/6vjomyi97F3+68l+QVj9tPTvmfSbr2sx5c/NuvDulrdRmA==}
|
|
||||||
engines: {node: '>=12.0.0'}
|
|
||||||
peerDependencies:
|
|
||||||
'@types/react': ^17.0.0 || ^18.0.0
|
|
||||||
react: ^17.0.0 || ^18.0.0
|
|
||||||
peerDependenciesMeta:
|
|
||||||
'@types/react':
|
|
||||||
optional: true
|
|
||||||
dependencies:
|
|
||||||
'@babel/runtime': 7.23.2
|
|
||||||
'@types/prop-types': 15.7.9
|
|
||||||
prop-types: 15.8.1
|
|
||||||
react: 18.2.0
|
|
||||||
react-is: 18.2.0
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@mui/utils@5.14.18(react@18.2.0):
|
/@mui/utils@5.14.18(react@18.2.0):
|
||||||
resolution: {integrity: sha512-HZDRsJtEZ7WMSnrHV9uwScGze4wM/Y+u6pDVo+grUjt5yXzn+wI8QX/JwTHh9YSw/WpnUL80mJJjgCnWj2VrzQ==}
|
resolution: {integrity: sha512-HZDRsJtEZ7WMSnrHV9uwScGze4wM/Y+u6pDVo+grUjt5yXzn+wI8QX/JwTHh9YSw/WpnUL80mJJjgCnWj2VrzQ==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
@@ -1120,6 +1110,23 @@ packages:
|
|||||||
react-is: 18.2.0
|
react-is: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/@mui/utils@5.14.20(react@18.2.0):
|
||||||
|
resolution: {integrity: sha512-Y6yL5MoFmtQml20DZnaaK1znrCEwG6/vRSzW8PKOTrzhyqKIql0FazZRUR7sA5EPASgiyKZfq0FPwISRXm5NdA==}
|
||||||
|
engines: {node: '>=12.0.0'}
|
||||||
|
peerDependencies:
|
||||||
|
'@types/react': ^17.0.0 || ^18.0.0
|
||||||
|
react: ^17.0.0 || ^18.0.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@types/react':
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@babel/runtime': 7.23.5
|
||||||
|
'@types/prop-types': 15.7.11
|
||||||
|
prop-types: 15.8.1
|
||||||
|
react: 18.2.0
|
||||||
|
react-is: 18.2.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@nodelib/fs.scandir@2.1.5:
|
/@nodelib/fs.scandir@2.1.5:
|
||||||
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
||||||
engines: {node: '>= 8'}
|
engines: {node: '>= 8'}
|
||||||
@@ -1565,6 +1572,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-mxSnDQxPqsZxmeShFH+uwQ4kO4gcJcGahjjMFeLbKE95IAZiiZyiEepGZjtXJ7hN/yfu0bu9xN2ajcU0JcxX6A==}
|
resolution: {integrity: sha512-mxSnDQxPqsZxmeShFH+uwQ4kO4gcJcGahjjMFeLbKE95IAZiiZyiEepGZjtXJ7hN/yfu0bu9xN2ajcU0JcxX6A==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/@types/prop-types@15.7.11:
|
||||||
|
resolution: {integrity: sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@types/prop-types@15.7.9:
|
/@types/prop-types@15.7.9:
|
||||||
resolution: {integrity: sha512-n1yyPsugYNSmHgxDFjicaI2+gCNjsBck8UX9kuofAKlc0h1bL+20oSF72KeNaW2DUlesbEVCFgyV2dPGTiY42g==}
|
resolution: {integrity: sha512-n1yyPsugYNSmHgxDFjicaI2+gCNjsBck8UX9kuofAKlc0h1bL+20oSF72KeNaW2DUlesbEVCFgyV2dPGTiY42g==}
|
||||||
dev: false
|
dev: false
|
||||||
@@ -1578,7 +1589,7 @@ packages:
|
|||||||
/@types/react@18.2.33:
|
/@types/react@18.2.33:
|
||||||
resolution: {integrity: sha512-v+I7S+hu3PIBoVkKGpSYYpiBT1ijqEzWpzQD62/jm4K74hPpSP7FF9BnKG6+fg2+62weJYkkBWDJlZt5JO/9hg==}
|
resolution: {integrity: sha512-v+I7S+hu3PIBoVkKGpSYYpiBT1ijqEzWpzQD62/jm4K74hPpSP7FF9BnKG6+fg2+62weJYkkBWDJlZt5JO/9hg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/prop-types': 15.7.9
|
'@types/prop-types': 15.7.10
|
||||||
'@types/scheduler': 0.16.5
|
'@types/scheduler': 0.16.5
|
||||||
csstype: 3.1.2
|
csstype: 3.1.2
|
||||||
dev: false
|
dev: false
|
||||||
@@ -1591,7 +1602,7 @@ packages:
|
|||||||
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
|
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vitejs/plugin-react@4.1.0(vite@5.0.0):
|
/@vitejs/plugin-react@4.1.0(vite@5.0.5):
|
||||||
resolution: {integrity: sha512-rM0SqazU9iqPUraQ2JlIvReeaxOoRj6n+PzB1C0cBzIbd8qP336nC39/R9yPi3wVcah7E7j/kdU1uCUqMEU4OQ==}
|
resolution: {integrity: sha512-rM0SqazU9iqPUraQ2JlIvReeaxOoRj6n+PzB1C0cBzIbd8qP336nC39/R9yPi3wVcah7E7j/kdU1uCUqMEU4OQ==}
|
||||||
engines: {node: ^14.18.0 || >=16.0.0}
|
engines: {node: ^14.18.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -1602,7 +1613,7 @@ packages:
|
|||||||
'@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.2)
|
'@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.2)
|
||||||
'@types/babel__core': 7.20.3
|
'@types/babel__core': 7.20.3
|
||||||
react-refresh: 0.14.0
|
react-refresh: 0.14.0
|
||||||
vite: 5.0.0(sass@1.69.5)
|
vite: 5.0.5(sass@1.69.5)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
@@ -2918,8 +2929,8 @@ packages:
|
|||||||
/ms@2.1.2:
|
/ms@2.1.2:
|
||||||
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
|
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
|
||||||
|
|
||||||
/nanoid@3.3.6:
|
/nanoid@3.3.7:
|
||||||
resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==}
|
resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}
|
||||||
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
@@ -3091,11 +3102,11 @@ packages:
|
|||||||
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
|
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
|
||||||
engines: {node: '>=8.6'}
|
engines: {node: '>=8.6'}
|
||||||
|
|
||||||
/postcss@8.4.31:
|
/postcss@8.4.32:
|
||||||
resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
|
resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==}
|
||||||
engines: {node: ^10 || ^12 || >=14}
|
engines: {node: ^10 || ^12 || >=14}
|
||||||
dependencies:
|
dependencies:
|
||||||
nanoid: 3.3.6
|
nanoid: 3.3.7
|
||||||
picocolors: 1.0.0
|
picocolors: 1.0.0
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
|
|
||||||
@@ -3625,7 +3636,7 @@ packages:
|
|||||||
hasBin: true
|
hasBin: true
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vite-plugin-compression@0.5.1(vite@5.0.0):
|
/vite-plugin-compression@0.5.1(vite@5.0.5):
|
||||||
resolution: {integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==}
|
resolution: {integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: '>=2.0.0'
|
vite: '>=2.0.0'
|
||||||
@@ -3633,12 +3644,12 @@ packages:
|
|||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
debug: 4.3.4
|
debug: 4.3.4
|
||||||
fs-extra: 10.1.0
|
fs-extra: 10.1.0
|
||||||
vite: 5.0.0(sass@1.69.5)
|
vite: 5.0.5(sass@1.69.5)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite-plugin-svgr@4.1.0(vite@5.0.0):
|
/vite-plugin-svgr@4.1.0(vite@5.0.5):
|
||||||
resolution: {integrity: sha512-v7Qic+FWmCChgQNGSI4V8X63OEYsdUoLt66iqIcHozq9bfK/Dwmr0V+LBy1NE8CE98Y8HouEBJ+pto4AMfN5xw==}
|
resolution: {integrity: sha512-v7Qic+FWmCChgQNGSI4V8X63OEYsdUoLt66iqIcHozq9bfK/Dwmr0V+LBy1NE8CE98Y8HouEBJ+pto4AMfN5xw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^2.6.0 || 3 || 4
|
vite: ^2.6.0 || 3 || 4
|
||||||
@@ -3646,15 +3657,15 @@ packages:
|
|||||||
'@rollup/pluginutils': 5.0.5
|
'@rollup/pluginutils': 5.0.5
|
||||||
'@svgr/core': 8.1.0
|
'@svgr/core': 8.1.0
|
||||||
'@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0)
|
'@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0)
|
||||||
vite: 5.0.0(sass@1.69.5)
|
vite: 5.0.5(sass@1.69.5)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
- typescript
|
- typescript
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vite@5.0.0(sass@1.69.5):
|
/vite@5.0.5(sass@1.69.5):
|
||||||
resolution: {integrity: sha512-ESJVM59mdyGpsiNAeHQOR/0fqNoOyWPYesFto8FFZugfmhdHx8Fzd8sF3Q/xkVhZsyOxHfdM7ieiVAorI9RjFw==}
|
resolution: {integrity: sha512-OekeWqR9Ls56f3zd4CaxzbbS11gqYkEiBtnWFFgYR2WV8oPJRRKq0mpskYy/XaoCL3L7VINDhqqOMNDiYdGvGg==}
|
||||||
engines: {node: ^18.0.0 || >=20.0.0}
|
engines: {node: ^18.0.0 || >=20.0.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -3682,7 +3693,7 @@ packages:
|
|||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
esbuild: 0.19.5
|
esbuild: 0.19.5
|
||||||
postcss: 8.4.31
|
postcss: 8.4.32
|
||||||
rollup: 4.4.1
|
rollup: 4.4.1
|
||||||
sass: 1.69.5
|
sass: 1.69.5
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ tauri-build = { version = "1.5.0", features = [] }
|
|||||||
log = "^0.4.20"
|
log = "^0.4.20"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
tauri = { version = "1.5.2", features = [ "http-all", "devtools", "process-exit", "process-relaunch", "shell-all", "window-set-fullscreen", "http-all"] }
|
tauri = { version = "1.5.3", features = [ "updater", "http-all", "devtools", "process-exit", "process-relaunch", "shell-all", "window-set-fullscreen", "http-all"] }
|
||||||
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
||||||
tauri-plugin-localhost = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
tauri-plugin-localhost = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
||||||
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1", features = ["colored"] }
|
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1", features = ["colored"] }
|
||||||
|
|||||||
@@ -100,7 +100,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"updater": {
|
"updater": {
|
||||||
"active": false
|
"active": true,
|
||||||
|
"endpoints": [
|
||||||
|
"https://cdn.jsdelivr.net/gh/prayag17/jellyplayer@latest/updater.json"
|
||||||
|
],
|
||||||
|
"dialog": true,
|
||||||
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDE1MTczRTNFNjFGQ0JBOEMKUldTTXV2eGhQajRYRmNFSG5EYVF1VE1YaVA5Qjl2WGt6alFWOGo5UCs2SGprTGtNOC9WMC8wTjMK"
|
||||||
},
|
},
|
||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import LinearProgress from "@mui/material/LinearProgress";
|
|||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
setItem,
|
||||||
usePlaybackDataLoadStore,
|
usePlaybackDataLoadStore,
|
||||||
usePlaybackStore,
|
usePlaybackStore,
|
||||||
} from "../../utils/store/playback";
|
} from "../../utils/store/playback";
|
||||||
@@ -210,6 +211,7 @@ const PlayButton = ({
|
|||||||
setSubtitleStreamIndex(currentSubTrack);
|
setSubtitleStreamIndex(currentSubTrack);
|
||||||
|
|
||||||
setMediaSourceId(item.Items[0].Id);
|
setMediaSourceId(item.Items[0].Id);
|
||||||
|
setItem(item.Items[0]);
|
||||||
|
|
||||||
switch (item.Items[0].Type) {
|
switch (item.Items[0].Type) {
|
||||||
case BaseItemKind.Movie:
|
case BaseItemKind.Movie:
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ export const Card = ({
|
|||||||
aspectRatio: cardImageAspectRatios[cardType],
|
aspectRatio: cardImageAspectRatios[cardType],
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* {!!item.UserData && (
|
{!!item.UserData && (
|
||||||
<>
|
<>
|
||||||
<div
|
<div
|
||||||
className="card-indicator check"
|
className="card-indicator check"
|
||||||
@@ -133,7 +133,7 @@ export const Card = ({
|
|||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
)} */}
|
)}
|
||||||
{/* {!!imageBlurhash && (
|
{/* {!!imageBlurhash && (
|
||||||
<Blurhash
|
<Blurhash
|
||||||
hash={imageBlurhash}
|
hash={imageBlurhash}
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ export const VideoPlayer = () => {
|
|||||||
setMediaSourceId,
|
setMediaSourceId,
|
||||||
setUserId,
|
setUserId,
|
||||||
setSeriesId,
|
setSeriesId,
|
||||||
|
item,
|
||||||
] = usePlaybackStore((state) => [
|
] = usePlaybackStore((state) => [
|
||||||
state.url,
|
state.url,
|
||||||
state.startPosition,
|
state.startPosition,
|
||||||
@@ -104,6 +105,7 @@ export const VideoPlayer = () => {
|
|||||||
state.setMediaSourceId,
|
state.setMediaSourceId,
|
||||||
state.setUserId,
|
state.setUserId,
|
||||||
state.setSeriesId,
|
state.setSeriesId,
|
||||||
|
state.item,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const mediaInfo = useQuery({
|
const mediaInfo = useQuery({
|
||||||
@@ -504,6 +506,17 @@ export const VideoPlayer = () => {
|
|||||||
const handleExit = async () => {
|
const handleExit = async () => {
|
||||||
// Remove app from fullscreen
|
// Remove app from fullscreen
|
||||||
await appWindow.setFullscreen(false);
|
await appWindow.setFullscreen(false);
|
||||||
|
// Send playback end report
|
||||||
|
await getPlaystateApi(api).reportPlaybackStopped({
|
||||||
|
playbackStopInfo: {
|
||||||
|
Failed: false,
|
||||||
|
Item: item,
|
||||||
|
ItemId: itemId,
|
||||||
|
MediaSourceId: mediaInfo.data?.MediaSources[0].Id,
|
||||||
|
PlaySessionId: mediaInfo.data?.PlaySessionId,
|
||||||
|
PositionTicks: currentTime,
|
||||||
|
},
|
||||||
|
});
|
||||||
navigate(-1);
|
navigate(-1);
|
||||||
|
|
||||||
// Reset playback store
|
// Reset playback store
|
||||||
|
|||||||
@@ -19,6 +19,10 @@ export const usePlaybackStore = create((set) => ({
|
|||||||
seriesId: "",
|
seriesId: "",
|
||||||
queue: [],
|
queue: [],
|
||||||
episodeIndex: 0,
|
episodeIndex: 0,
|
||||||
|
/**
|
||||||
|
* @type {import("@jellyfin/sdk/lib/generated-client/models/base-item-dto").BaseItemDto}
|
||||||
|
*/
|
||||||
|
item: {},
|
||||||
setUrl: (aurl) => set((state) => ({ ...state, url: aurl })),
|
setUrl: (aurl) => set((state) => ({ ...state, url: aurl })),
|
||||||
setPosition: (apos) => set((state) => ({ ...state, startPosition: apos })),
|
setPosition: (apos) => set((state) => ({ ...state, startPosition: apos })),
|
||||||
setDuration: (adur) => set((state) => ({ ...state, duration: adur })),
|
setDuration: (adur) => set((state) => ({ ...state, duration: adur })),
|
||||||
@@ -47,6 +51,8 @@ export const usePlaybackStore = create((set) => ({
|
|||||||
setEpisodeIndex: (aitem) =>
|
setEpisodeIndex: (aitem) =>
|
||||||
set((state) => ({ ...state, episodeIndex: aitem })),
|
set((state) => ({ ...state, episodeIndex: aitem })),
|
||||||
}));
|
}));
|
||||||
|
export const setItem = (item) =>
|
||||||
|
usePlaybackStore.setState((state) => ({ ...state, item: item }));
|
||||||
|
|
||||||
export const usePlaybackDataLoadStore = create((set) => ({
|
export const usePlaybackDataLoadStore = create((set) => ({
|
||||||
isPending: false,
|
isPending: false,
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
Reference in new issue
Block a user