Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10630c2de3 | ||
|
|
d722dc075c | ||
|
|
388ec908ae | ||
|
|
1642cdd101 | ||
|
|
0e4e05722b | ||
|
|
bdf8f483d5 | ||
|
|
6ee33c93bd | ||
|
|
9232d4126b | ||
|
|
9a74db5b8f | ||
|
|
1761974b3f | ||
|
|
cec17b270a | ||
|
|
8106b714a1 | ||
|
|
2b9d7bda02 | ||
|
|
38ba7040a5 | ||
|
|
7a2e4ae595 | ||
|
|
d824823624 | ||
|
|
e92315b114 | ||
|
|
c1d0c715cf | ||
|
|
47ded84c48 | ||
|
|
df91d4a744 | ||
|
|
b59e147a39 | ||
|
|
3163951439 | ||
|
|
ffbca70de3 | ||
|
|
a5ca2ff9bb | ||
|
|
65369f3cff | ||
|
|
df62e8634c | ||
|
|
341956a3fc | ||
|
|
fdabb37e74 | ||
|
|
8264717136 | ||
|
|
263f43c05e | ||
|
|
1abdacc545 | ||
|
|
4e78f40aee | ||
|
|
6180ee6313 | ||
|
|
72e8f184d0 | ||
|
|
f53449bd4b | ||
|
|
70c6dd927b | ||
|
|
d077860fbc | ||
|
|
a240ec7452 | ||
|
|
846a4d2180 | ||
|
|
800256bf2c | ||
|
|
aeb52e8e89 | ||
|
|
139cbfd33b | ||
|
|
c21483ee5b | ||
|
|
326b093210 | ||
|
|
badc2b622f | ||
|
|
860e8e56aa | ||
|
|
41530df750 | ||
|
|
68523e95be | ||
|
|
c22dbefeea | ||
|
|
b8552ac35d | ||
|
|
b1737b82e8 | ||
|
|
522621ed69 | ||
|
|
0e73ece9b5 | ||
|
|
cac7184a7c | ||
|
|
94a69faded | ||
|
|
fc43ecc555 | ||
|
|
c46d3e261b | ||
|
|
c5b1424904 | ||
|
|
cd87963e4f | ||
|
|
a4a7beb5e3 | ||
|
|
1f3e0f9d55 | ||
|
|
7eacff6bc7 | ||
|
|
0b8a588698 | ||
|
|
f66266e131 |
No files matched your search
@@ -52,7 +52,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
needs: build_web
|
needs: build_web
|
||||||
# Prevent forked PRs from running the build job which is expensive
|
# Prevent forked PRs from running the build job which is expensive
|
||||||
if: github.repository == 'prayag17/JellyPlayer'
|
if: github.repository == 'prayag17/Blink'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
|
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev librsvg2-dev
|
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev librsvg2-dev
|
||||||
|
|
||||||
- name: Rust setup
|
- name: Rust setup
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -107,14 +107,16 @@ jobs:
|
|||||||
run: pnpm install --no-frozen-lockfile
|
run: pnpm install --no-frozen-lockfile
|
||||||
|
|
||||||
- name: Build app
|
- name: Build app
|
||||||
run: pnpm run tauri build --bundles "deb" "appimage" "nsis" "app" "dmg"
|
run: pnpm run tauri build
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||||
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||||
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||||
|
|
||||||
- name: Upload build Artifacts
|
- name: Upload build Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: JellyPlayer-${{ matrix.platform }}-dev${{ github.sha }}
|
name: Blink-${{ matrix.platform }}-dev${{ github.sha }}
|
||||||
path: src-tauri/target/release/bundle/*
|
path: src-tauri/target/release/bundle/*
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
|
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev librsvg2-dev
|
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev librsvg2-dev
|
||||||
|
|
||||||
- name: Rust setup
|
- name: Rust setup
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -70,6 +70,8 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||||
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||||
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_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.
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"encodings":["src\\main.tsx","ProviderWrapper",[40,0,44,1],[41,13,41,42],[42,19,42,54],[43,8,43,71],"src\\utils\\store\\api.tsx","ApiProvider",[57,27,71,1],[57,28,57,40],[58,17,69,2],[70,8,70,75],"useApiInContext",[73,7,79,1],[74,15,74,37],[78,8,78,34],"src\\routes\\_api\\search\\index.jsx","SearchPage",[30,0,448,1],[31,13,31,36],[33,37,33,49],[34,21,34,49],[36,14,44,3],[48,16,62,3],[63,16,77,3],[78,20,92,3],[93,15,107,3],[108,14,122,3],[123,22,137,3],[138,16,150,3],[151,18,164,3],[166,23,166,71],[168,1,171,7],[173,2,446,8],[183,3,236,9],[184,4,235,6],[201,7,230,24],[202,8,229,14],[210,9,227,11],[228,9,228,65],[237,3,421,9],[243,5,262,20],[245,7,260,9],[265,5,290,20],[267,7,288,9],[293,5,307,20],[296,8,304,10],[310,5,329,20],[312,7,327,9],[332,5,352,20],[334,7,350,9],[355,5,375,20],[357,7,373,9],[378,5,397,20],[380,7,395,9],[400,5,419,20],[402,7,417,9],[438,5,444,11],[443,6,443,68],"src\\routes\\_api\\favorite\\index.tsx","FavoritePage",[20,0,304,1],[21,13,21,36],[22,23,22,71],[24,14,32,3],[34,16,45,3],[47,16,58,3],[60,20,71,3],[73,15,84,3],[86,14,97,3],[99,22,110,3],[112,16,123,3],[125,1,127,3],[130,2,302,9],[141,4,160,19],[143,6,158,8],[163,4,188,19],[165,6,186,8],[191,4,210,19],[193,6,208,8],[213,4,233,19],[215,6,231,8],[236,4,256,19],[238,6,254,8],[259,4,278,19],[261,6,276,8],[281,4,300,19],[283,6,298,8],"src\\routes\\_api\\home\\index.tsx","Home",[38,0,419,1],[39,13,39,42],[41,14,49,3],[51,19,61,3],[63,21,83,3],[85,26,99,3],[101,26,114,3],[116,21,135,3],[137,47,137,59],[139,18,139,31],[145,1,162,26],[162,5,162,24],[171,3,416,10],[178,4,205,20],[180,6,180,26],[183,7,202,9],[185,9,185,52],[207,4,241,20],[209,6,211,12],[210,7,210,51],[215,6,215,23],[217,6,239,21],[221,10,236,12],[242,4,303,20],[244,6,246,12],[245,7,245,52],[250,6,250,23],[254,6,301,21],[257,9,298,11],[304,4,362,20],[306,6,308,12],[307,7,307,59],[312,6,312,23],[317,6,360,21],[320,9,357,11],[363,4,404,20],[365,6,367,12],[366,7,366,59],[371,6,371,23],[376,6,402,21],[379,9,399,11],[405,4,415,20],[407,6,409,12],[408,7,408,62],[413,13,413,69],"src\\routes\\setup\\server.add.tsx","ServerSetup",[25,0,152,1],[26,33,26,45],[28,29,28,42],[30,18,30,60],[32,21,66,3],[70,3,79,5],[80,3,149,15],[88,4,148,11],[95,5,97,12],[96,6,96,54],[98,5,108,12],[99,6,107,8],[109,5,123,12],[110,6,122,22],[116,8,116,71],[124,5,147,12],[136,6,143,13],[144,6,146,19],"src\\routes\\_api\\player\\index.tsx","VideoPlayer",[81,0,592,1],[82,13,82,36],[83,21,83,32],[84,39,84,54],[96,5,106,3],[108,31,108,45],[109,41,109,55],[111,51,111,66],[114,31,114,46],[115,31,115,45],[116,35,116,50],[117,45,117,68],[118,33,118,56],[119,43,119,58],[120,43,120,67],[121,49,123,2],[124,29,124,40],[125,27,125,42],[127,1,127,41],[129,49,129,71],[209,16,209,28],[223,24,259,7],[261,1,269,21],[269,5,269,19],[271,1,302,38],[302,5,302,18],[302,20,302,36],[304,1,307,15],[307,5,307,13],[310,2,590,8],[311,3,334,21],[313,5,332,18],[331,6,331,52],[335,3,562,16],[352,4,400,10],[353,5,355,18],[354,6,354,66],[356,5,360,18],[359,6,359,64],[361,5,399,12],[382,6,398,18],[390,7,392,18],[394,8,396,19],[401,4,561,10],[402,5,409,18],[405,7,407,20],[410,5,560,11],[411,6,452,12],[412,7,445,9],[446,7,451,13],[447,8,449,21],[450,8,450,61],[453,6,559,12],[454,7,485,13],[455,8,455,30],[456,8,464,21],[461,9,463,16],[465,8,469,21],[466,9,468,16],[470,8,478,21],[475,9,477,16],[479,8,479,26],[480,8,484,21],[486,7,558,13],[487,8,523,21],[509,9,511,22],[512,9,522,11],[524,8,537,21],[530,9,536,16],[538,8,538,23],[539,8,545,21],[540,9,544,16],[546,8,557,21],[554,9,556,16],[564,3,589,5],"src\\routes\\_api\\login\\index.tsx","LoginRoute",[19,0,91,1],[20,18,20,31],[21,18,21,31],[22,13,22,36],[23,29,23,65],[25,19,32,3],[48,2,89,13],[48,22,48,45],[49,3,88,9],[60,4,60,48],[61,4,87,22],[62,5,86,18],[75,6,85,19],"src\\routes\\setup\\server.list.tsx","ServerList",[28,0,203,1],[29,18,29,31],[30,39,30,53],[31,29,31,42],[33,21,33,37],[35,17,38,3],[40,23,43,3],[45,28,63,3],[87,1,89,7],[92,2,201,8],[93,3,93,21],[94,3,114,9],[103,4,105,17],[106,4,113,17],[112,5,112,56],[115,3,200,11],[118,6,198,12],[119,7,121,13],[122,7,170,13],[123,8,151,21],[133,10,149,12],[135,12,141,25],[152,8,160,21],[161,8,169,21],[171,7,197,13],[172,8,183,21],[182,9,182,62],[184,8,196,21],[195,9,195,71],"src\\routes\\_api\\playlist\\$id.jsx","TabPanel",[23,0,38,1],[23,18,23,23],[27,2,36,8],[35,23,35,44],"PlaylistTitlePage",[57,0,229,1],[58,16,58,33],[59,13,59,36],[61,14,69,3],[71,14,84,3],[86,22,99,3],[101,21,112,3],[114,26,114,74],[116,1,126,7],[130,3,140,9],[139,4,139,24],[145,3,223,9],[160,7,168,9],[174,5,221,20],[181,8,218,10],[227,9,227,24],"src\\routes\\_api\\series\\$id.tsx",[65,0,80,1],[65,18,65,23],[69,2,78,8],[77,23,77,44],"SeriesTitlePage",[99,0,1205,1],[100,16,100,33],[102,13,102,36],[104,14,112,3],[114,14,127,3],[129,22,142,3],[144,17,157,3],[159,23,174,3],[176,43,179,3],[180,55,180,70],[182,43,185,3],[187,27,199,3],[201,18,216,3],[218,25,228,3],[229,26,229,74],[231,35,231,47],[232,31,232,43],[233,29,233,41],[234,35,234,47],[236,1,260,21],[260,5,260,19],[262Line truncated
|
{"encodings":["src\\main.tsx","ProviderWrapper",[40,0,44,1],[41,13,41,42],[42,19,42,54],[43,8,43,71],"src\\utils\\store\\api.tsx","ApiProvider",[57,27,71,1],[57,28,57,40],[58,17,69,2],[70,8,70,75],"useApiInContext",[73,7,79,1],[74,15,74,37],[78,8,78,34],"src\\routes\\_api\\search\\index.jsx","SearchPage",[30,0,448,1],[31,13,31,36],[33,37,33,49],[34,21,34,49],[36,14,44,3],[48,16,62,3],[63,16,77,3],[78,20,92,3],[93,15,107,3],[108,14,122,3],[123,22,137,3],[138,16,150,3],[151,18,164,3],[166,23,166,71],[168,1,171,7],[173,2,446,8],[183,3,236,9],[184,4,235,6],[201,7,230,24],[202,8,229,14],[210,9,227,11],[228,9,228,65],[237,3,421,9],[243,5,262,20],[245,7,260,9],[265,5,290,20],[267,7,288,9],[293,5,307,20],[296,8,304,10],[310,5,329,20],[312,7,327,9],[332,5,352,20],[334,7,350,9],[355,5,375,20],[357,7,373,9],[378,5,397,20],[380,7,395,9],[400,5,419,20],[402,7,417,9],[438,5,444,11],[443,6,443,68],"src\\routes\\_api\\favorite\\index.tsx","FavoritePage",[20,0,304,1],[21,13,21,36],[22,23,22,71],[24,14,32,3],[34,16,45,3],[47,16,58,3],[60,20,71,3],[73,15,84,3],[86,14,97,3],[99,22,110,3],[112,16,123,3],[125,1,127,3],[130,2,302,9],[141,4,160,19],[143,6,158,8],[163,4,188,19],[165,6,186,8],[191,4,210,19],[193,6,208,8],[213,4,233,19],[215,6,231,8],[236,4,256,19],[238,6,254,8],[259,4,278,19],[261,6,276,8],[281,4,300,19],[283,6,298,8],"src\\routes\\_api\\home\\index.tsx","Home",[38,0,419,1],[39,13,39,42],[41,14,49,3],[51,19,61,3],[63,21,83,3],[85,26,99,3],[101,26,114,3],[116,21,135,3],[137,47,137,59],[139,18,139,31],[145,1,162,26],[162,5,162,24],[171,3,416,10],[178,4,205,20],[180,6,180,26],[183,7,202,9],[185,9,185,52],[207,4,241,20],[209,6,211,12],[210,7,210,51],[215,6,215,23],[217,6,239,21],[221,10,236,12],[242,4,303,20],[244,6,246,12],[245,7,245,52],[250,6,250,23],[254,6,301,21],[257,9,298,11],[304,4,362,20],[306,6,308,12],[307,7,307,59],[312,6,312,23],[317,6,360,21],[320,9,357,11],[363,4,404,20],[365,6,367,12],[366,7,366,59],[371,6,371,23],[376,6,402,21],[379,9,399,11],[405,4,415,20],[407,6,409,12],[408,7,408,62],[413,13,413,69],"src\\routes\\setup\\server.add.tsx","ServerSetup",[25,0,152,1],[26,33,26,45],[28,29,28,42],[30,18,30,60],[32,21,66,3],[70,3,79,5],[80,3,149,15],[88,4,148,11],[95,5,97,12],[96,6,96,54],[98,5,108,12],[99,6,107,8],[109,5,123,12],[110,6,122,22],[116,8,116,71],[124,5,147,12],[136,6,143,13],[144,6,146,19],"src\\routes\\_api\\player\\index.tsx","VideoPlayer",[81,0,592,1],[82,13,82,36],[83,21,83,32],[84,39,84,54],[96,5,106,3],[108,31,108,45],[109,41,109,55],[111,51,111,66],[114,31,114,46],[115,31,115,45],[116,35,116,50],[117,45,117,68],[118,33,118,56],[119,43,119,58],[120,43,120,67],[121,49,123,2],[124,29,124,40],[125,27,125,42],[127,1,127,41],[129,49,129,71],[209,16,209,28],[223,24,259,7],[261,1,269,21],[269,5,269,19],[271,1,302,38],[302,5,302,18],[302,20,302,36],[304,1,307,15],[307,5,307,13],[310,2,590,8],[311,3,334,21],[313,5,332,18],[331,6,331,52],[335,3,562,16],[352,4,400,10],[353,5,355,18],[354,6,354,66],[356,5,360,18],[359,6,359,64],[361,5,399,12],[382,6,398,18],[390,7,392,18],[394,8,396,19],[401,4,561,10],[402,5,409,18],[405,7,407,20],[410,5,560,11],[411,6,452,12],[412,7,445,9],[446,7,451,13],[447,8,449,21],[450,8,450,61],[453,6,559,12],[454,7,485,13],[455,8,455,30],[456,8,464,21],[461,9,463,16],[465,8,469,21],[466,9,468,16],[470,8,478,21],[475,9,477,16],[479,8,479,26],[480,8,484,21],[486,7,558,13],[487,8,523,21],[509,9,511,22],[512,9,522,11],[524,8,537,21],[530,9,536,16],[538,8,538,23],[539,8,545,21],[540,9,544,16],[546,8,557,21],[554,9,556,16],[564,3,589,5],"src\\routes\\_api\\login\\index.tsx","LoginRoute",[19,0,91,1],[20,18,20,31],[21,18,21,31],[22,13,22,36],[23,29,23,65],[25,19,32,3],[48,2,89,13],[48,22,48,45],[49,3,88,9],[60,4,60,48],[61,4,87,22],[62,5,86,18],[75,6,85,19],"src\\routes\\setup\\server.list.tsx","ServerList",[28,0,203,1],[29,18,29,31],[30,39,30,53],[31,29,31,42],[33,21,33,37],[35,17,38,3],[40,23,43,3],[45,28,63,3],[87,1,89,7],[92,2,201,8],[93,3,93,21],[94,3,114,9],[103,4,105,17],[106,4,113,17],[112,5,112,56],[115,3,200,11],[118,6,198,12],[119,7,121,13],[122,7,170,13],[123,8,151,21],[133,10,149,12],[135,12,141,25],[152,8,160,21],[161,8,169,21],[171,7,197,13],[172,8,183,21],[182,9,182,62],[184,8,196,21],[195,9,195,71],"src\\routes\\_api\\playlist\\$id.jsx","TabPanel",[23,0,38,1],[23,18,23,23],[27,2,36,8],[35,23,35,44],"PlaylistTitlePage",[57,0,229,1],[58,16,58,33],[59,13,59,36],[61,14,69,3],[71,14,84,3],[86,22,99,3],[101,21,112,3],[114,26,114,74],[116,1,126,7],[130,3,140,9],[139,4,139,24],[145,3,223,9],[160,7,168,9],[174,5,221,20],[181,8,218,10],[227,9,227,24],"src\\routes\\_api\\series\\$id.tsx",[65,0,80,1],[65,18,65,23],[69,2,78,8],[77,23,77,44],"SeriesTitlePage",[99,0,1205,1],[100,16,100,33],[102,13,102,36],[104,14,112,3],[114,14,127,3],[129,22,142,3],[144,17,157,3],[159,23,174,3],[176,43,179,3],[180,55,180,70],[182,43,185,3],[187,27,199,3],[201,18,216,3],[218,25,228,3],[229,26,229,74],[231,35,231,47],[232,31,232,43],[233,29,233,41],[234,35,234,47],[236,1,260,21],[260,5,260,19],[262Line truncated
|
||||||
@@ -2,8 +2,9 @@
|
|||||||
"recommendations": [
|
"recommendations": [
|
||||||
"biomejs.biome",
|
"biomejs.biome",
|
||||||
"github.vscode-github-actions",
|
"github.vscode-github-actions",
|
||||||
"esbenp.prettier-vscode",
|
|
||||||
"swellaby.rust-pack",
|
"swellaby.rust-pack",
|
||||||
"1yib.rust-bundle"
|
"1yib.rust-bundle",
|
||||||
|
"sibiraj-s.vscode-scss-formatter",
|
||||||
|
"tauri-apps.tauri-vscode"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,109 @@
|
|||||||
|
- # 0.0.6-dev (9/7/2024)
|
||||||
|
> **Note** : This is an unstable release
|
||||||
|
- feat: add video player slider bubble theming #337
|
||||||
|
- feat: add trickplay support #338 #337
|
||||||
|
- fix(ci): update env variables
|
||||||
|
- fix(ci): fix ubuntu build failing
|
||||||
|
- chore(deps): update js and rust deps
|
||||||
|
- feat: add chapter markers #337
|
||||||
|
- feat: add subtitle support #337
|
||||||
|
- fix(ci): invalid tauri build command
|
||||||
|
- fix(ci):workflow repo name
|
||||||
|
- feat: remember last search query
|
||||||
|
- feat: add new audioPlayer route and allow reordering queue
|
||||||
|
- chore(deps): update deps
|
||||||
|
- chore(deps): cleanup unused dependencies and update dependencies
|
||||||
|
- refactor: replace wavesurfer with html audio player
|
||||||
|
- feat: add new album page
|
||||||
|
- fix: quick connect not working
|
||||||
|
- chore: change tauri updater signing keys
|
||||||
|
- feat: show upNext card for episode items in player
|
||||||
|
- fix: login page not working
|
||||||
|
- Merge pull request #332 from pypp/feat/double-click-fullscreen
|
||||||
|
- Merge pull request #333 from pypp/feat/scrollwheel-volume-control
|
||||||
|
- fix: removed subtitleRenderer state that was added while merging
|
||||||
|
- fix: fixed bug caused by merge econflicts
|
||||||
|
- Merge remote-tracking branch 'upstream/main' into feat/scrollwheel-volume-control
|
||||||
|
- fix: fixed fucntion to use the new API
|
||||||
|
- Merge remote-tracking branch 'upstream/main' into feat/double-click-fullscreen
|
||||||
|
- Merge branch 'main' of https://github.com/pypp/JellyPlayer into feat/double-click-fullscreen
|
||||||
|
- fix(deps): update dependency babel-plugin-react-compiler to v0.0.0
|
||||||
|
- fix(deps): update tauri monorepo
|
||||||
|
- chore(deps): update dependencies
|
||||||
|
- feat: allow toggling subtitles on and off from player
|
||||||
|
- fix: playNext and playPrevious logic
|
||||||
|
- feat: add intro-skipper
|
||||||
|
- refactor: cleanup unused variables in playbackStore
|
||||||
|
- chore(deps): update packages
|
||||||
|
- refactor: support vtt and ass subtitles
|
||||||
|
- refactor: add sorting options to library page for Series and BoxSets
|
||||||
|
- style: update hero-carousel styling
|
||||||
|
- chore(deps): update deps
|
||||||
|
- fix(deps): update dependency framer-motion to v11.2.9
|
||||||
|
- refactor: move most routing logic to tanstack
|
||||||
|
- refactor: implement new login logic and verify context.api status
|
||||||
|
- chore(deps): update dependencies
|
||||||
|
- refactor: move to tanstack router
|
||||||
|
- fix: videoPlayer not restoring playback position when queueItem is updated
|
||||||
|
- fix: Slight UI regression when changing servers on latest version #288
|
||||||
|
- fix: eac3 codec support
|
||||||
|
- refactor: queueItem playback
|
||||||
|
- fix(deps): update rust crate tauri to 1.6.2 (#298)
|
||||||
|
- fix: episode playback
|
||||||
|
- feat: add queueButton
|
||||||
|
- Merge branch 'main' of https://github.com/prayag17/JellyPlayer
|
||||||
|
- chore(deps): fix vite 5.2 bundle
|
||||||
|
- fix(deps): update dependency @types/react to v18.3.1 (#295)
|
||||||
|
- fix: scrollTrigger in libraryView
|
||||||
|
- style: improve styling
|
||||||
|
- fix: backdrop flashing
|
||||||
|
- feat: use tanstack virtual for rendering library items
|
||||||
|
- style: improve login notice ui
|
||||||
|
- refactor: fetch mediaSource for series
|
||||||
|
- refactor: implement new playback method for playbutton (wip)
|
||||||
|
- ui: improve glass texture
|
||||||
|
- ui: implement new appBar #284
|
||||||
|
- feat: display sdr and hdr only videoRange
|
||||||
|
- style: improve hdr10 logo spacing
|
||||||
|
- chore: update title-movie screenshot in README.md
|
||||||
|
- chore: update title-movie.png
|
||||||
|
- fix: hdr10 icon height not matching
|
||||||
|
- style: update mediainfo icons
|
||||||
|
- style: update mediainfo icons
|
||||||
|
- fix: no subtitle option not selecting
|
||||||
|
- feat: use brand logo for hdr10plus
|
||||||
|
- fix: default subtitle not being selected properly
|
||||||
|
- style: display backdrops in boxset
|
||||||
|
- fix: videoPlayer not exiting if subtitles are disabled
|
||||||
|
- chore: add kitsu icon to iconLink
|
||||||
|
- fix: carousel not rendering
|
||||||
|
- chore: update readme
|
||||||
|
- chore: update screenshots
|
||||||
|
- fix: improve hdr10+ detection
|
||||||
|
- feat: add quality and audio brand labels
|
||||||
|
- style: improve page-margin
|
||||||
|
- fix(player): unable to play media without subtitles
|
||||||
|
- fix: album not displaying if no parent backdrop is found
|
||||||
|
- chore: add screenshots and some features of JellyPlayer #242
|
||||||
|
- chore: upload screenshots
|
||||||
|
- fix(nsis): nsis setup images not displaying correctly
|
||||||
|
- style: Improve titlePage styling
|
||||||
|
- style: change cardText styling
|
||||||
|
- style: Improve overall app component paddings and margins and rollback vite to 5.1.6
|
||||||
|
- chore(deps): update dependency vite to v5.2.6 (#286)
|
||||||
|
- fix(deps): update material-ui monorepo (#270)
|
||||||
|
- fix(deps): update dependency @types/node to v20.11.29 (#292)
|
||||||
|
- fix(deps): update dependency @types/react to v18.2.67 (#293)
|
||||||
|
- fix(deps): update tanstack-query monorepo to v5.28.6 (#271)
|
||||||
|
- fix(deps): update dependency @types/react to v18.2.67 (#272)
|
||||||
|
- fix(deps): update dependency @types/node to v20.11.29 (#274)
|
||||||
|
- fix(deps): update dependency framer-motion to v11.0.15 (#278)
|
||||||
|
- fix(deps): update dependency typescript to v5.4.3 (#287)
|
||||||
|
- fix(deps): update dependency material-symbols to v0.17.1 (#289)
|
||||||
|
- chore(deps): update dependency @biomejs/biome to v1.6.2 (#290)
|
||||||
|
- fix(deps): update rust crate log to ^0.4.21 (#276)
|
||||||
|
- chore: update latest.json
|
||||||
|
|
||||||
- # v0.0.5-dev
|
- # v0.0.5-dev
|
||||||
> **Note** : This is an unstable release
|
> **Note** : This is an unstable release
|
||||||
- feat(web): Add new About page (#258) by @prayag17
|
- feat(web): Add new About page (#258) by @prayag17
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||

|

|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/prayag17/JellyPlayer?sort=date&display_name=tag&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODc4IiBoZWlnaHQ9IjEwMTIiIHZpZXdCb3g9IjAgMCA4NzggMTAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MzguODA5IDUwNkwzNS40MDQ4IDczOC45MDZMNDM4LjgwOSA5NzEuODEyTDg0Mi4yMTQgNzM4LjkwNlYyNzMuMDk0TDQzOC44MDkgNDAuMTg4NUwzNS40MDQ4IDI3My4wOTRMNDM4LjgwOSA1MDZaTTQzOC44MDkgMEw4NzcuMDE4IDI1M1Y3NTlMNDM4LjgwOSAxMDEyTDAuNjAwNTg2IDc1OVY3MTguODEyVjI5My4xODhWMjUzTDQzOC44MDkgMFoiIGZpbGw9IndoaXRlIi8%2BCjwvc3ZnPgo%3D&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%2FJellyPlayer%2Freleases%2Flatest">
|
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/prayag17/JellyPlayer?sort=date&display_name=tag&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODc4IiBoZWlnaHQ9IjEwMTIiIHZpZXdCb3g9IjAgMCA4NzggMTAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MzguODA5IDUwNkwzNS40MDQ4IDczOC45MDZMNDM4LjgwOSA5NzEuODEyTDg0Mi4yMTQgNzM4LjkwNlYyNzMuMDk0TDQzOC44MDkgNDAuMTg4NUwzNS40MDQ4IDI3My4wOTRMNDM4LjgwOSA1MDZaTTQzOC44MDkgMEw4NzcuMDE4IDI1M1Y3NTlMNDM4LjgwOSAxMDEyTDAuNjAwNTg2IDc1OVY3MTguODEyVjI5My4xODhWMjUzTDQzOC44MDkgMFoiIGZpbGw9IndoaXRlIi8%2BCjwvc3ZnPgo%3D&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%2FJellyPlayer%2Freleases%2Flatest">
|
||||||
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/prayag17/JellyPlayer?style=for-the-badge&logo=github&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%2FJellyPlayer%2Fstargazers">
|
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/prayag17/JellyPlayer?style=for-the-badge&logo=github&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%2FJellyPlayer%2Fstargazers">
|
||||||
@@ -59,6 +59,7 @@
|
|||||||
- Mediainfo recognition (DolbyVision, DolbyAtoms, Dts, Hdr10+, and more...)
|
- Mediainfo recognition (DolbyVision, DolbyAtoms, Dts, Hdr10+, and more...)
|
||||||
- Sort/Filter library items
|
- Sort/Filter library items
|
||||||
- Queue playback support
|
- Queue playback support
|
||||||
|
- Intro Skip button using [jumoog/Intro-Skipper](https://github.com/jumoog/intro-skipper) plugin
|
||||||
|
|
||||||
## 📷 Screenshots
|
## 📷 Screenshots
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://biomejs.dev/schemas/1.5.0/schema.json",
|
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
|
||||||
"organizeImports": {
|
"organizeImports": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
@@ -8,13 +8,16 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
"recommended": true,
|
"recommended": true,
|
||||||
"style": {
|
"style": {
|
||||||
"noNonNullAssertion": "off"
|
"noNonNullAssertion": "off",
|
||||||
|
"useEnumInitializers": "off"
|
||||||
},
|
},
|
||||||
"a11y": {
|
"a11y": {
|
||||||
"useKeyWithClickEvents": "off"
|
"useKeyWithClickEvents": "off",
|
||||||
|
"useMediaCaption": "off"
|
||||||
},
|
},
|
||||||
"correctness": {
|
"correctness": {
|
||||||
"useExhaustiveDependencies": "off"
|
"useExhaustiveDependencies": "off",
|
||||||
|
"noUnusedImports": "off"
|
||||||
},
|
},
|
||||||
"suspicious": {
|
"suspicious": {
|
||||||
"noExplicitAny": "off"
|
"noExplicitAny": "off"
|
||||||
@@ -27,8 +30,12 @@
|
|||||||
"src/**/*.tsx",
|
"src/**/*.tsx",
|
||||||
"src/**/*.jsx",
|
"src/**/*.jsx",
|
||||||
"src/**/*.js",
|
"src/**/*.js",
|
||||||
"*.json"
|
"*.json",
|
||||||
|
"*.scss"
|
||||||
],
|
],
|
||||||
"ignoreUnknown": true
|
"ignoreUnknown": true
|
||||||
|
},
|
||||||
|
"formatter": {
|
||||||
|
"formatWithErrors": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<script src="http://localhost:8097"></script>
|
<!-- <script src="http://localhost:8097"></script> -->
|
||||||
<title>Jellyplayer</title>
|
<title>Jellyplayer</title>
|
||||||
<style>
|
<style>
|
||||||
.app-loading {
|
.app-loading {
|
||||||
@@ -13,13 +13,15 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background: #222;
|
background: #fff;
|
||||||
z-index: 100000;
|
z-index: 100000;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
transition: opacity 0.25s ease-in-out;
|
transition: opacity 0.25s ease-in-out;
|
||||||
|
opacity: 0;
|
||||||
|
animation: fadeIn linear 500ms forwards;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-loading.hidden {
|
.app-loading.hidden {
|
||||||
@@ -27,49 +29,28 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.app-loading-logo {
|
.app-loading-logo {
|
||||||
width: 40vw;
|
width: 5vw;
|
||||||
opacity: 0;
|
|
||||||
animation: fadeIn linear 500ms forwards;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.circular {
|
.app-loading-bar-container{
|
||||||
animation: rotate 1.2s linear infinite;
|
height: 2px;
|
||||||
height: 50px;
|
width: 16vw;
|
||||||
left: 50%;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 20%;
|
left: 50%;
|
||||||
width: 50px;
|
bottom: 36vh;
|
||||||
}
|
transform: translateX(-50%);
|
||||||
.path {
|
overflow: hidden;
|
||||||
stroke-dasharray: 1,200;
|
|
||||||
stroke-dashoffset: 0;
|
|
||||||
animation:
|
|
||||||
dash 800ms ease-in-out infinite,
|
|
||||||
color 6s ease-in-out infinite
|
|
||||||
;
|
|
||||||
stroke-linecap: round;
|
|
||||||
stroke: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes rotate {
|
.app-loading-bar{
|
||||||
100% {
|
width: 100%;
|
||||||
transform: rotate(360deg);
|
height: 100%;
|
||||||
}
|
background: #101010;
|
||||||
}
|
transform: scaleX(0);
|
||||||
@keyframes dash {
|
animation: loading 1s ease-in-out infinite both;
|
||||||
0% {
|
transform-origin: left;
|
||||||
stroke-dasharray: 1,200;
|
|
||||||
stroke-dashoffset: 0;
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
stroke-dasharray: 89,200;
|
|
||||||
stroke-dashoffset: -35;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
stroke-dasharray: 89,200;
|
|
||||||
stroke-dashoffset: -124;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes fadeIn {
|
@keyframes fadeIn {
|
||||||
0%{
|
0%{
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@@ -78,15 +59,26 @@
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@keyframes loading {
|
||||||
|
0%{
|
||||||
|
transform: translate(-100%);
|
||||||
|
}
|
||||||
|
50%{
|
||||||
|
transform: translate(0%);
|
||||||
|
}
|
||||||
|
100%{
|
||||||
|
transform: translate(100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="app-loading">
|
<div class="app-loading">
|
||||||
<img src="/assetsStatic/logoDark.png" class="app-loading-logo" />
|
<img src="./src/assets/icon-outline.svg" class="app-loading-logo" />
|
||||||
<svg class="circular" height="50" width="50">
|
<div class="app-loading-bar-container">
|
||||||
<circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="4" stroke-miterlimit="10" />
|
<div class="app-loading-bar"></div>
|
||||||
</svg>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<svg style="width: 0; height: 0; position: absolute" aria-hidden="true" focusable="false">
|
<svg style="width: 0; height: 0; position: absolute" aria-hidden="true" focusable="false">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "blink",
|
"name": "blink",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.5-dev",
|
"version": "0.0.6-dev",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite && tsr watch",
|
"dev": "vite && tsr watch",
|
||||||
@@ -13,36 +13,41 @@
|
|||||||
"tanstack-router-dev": "tsr watch"
|
"tanstack-router-dev": "tsr watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.11.4",
|
"@emotion/react": "^11.13.3",
|
||||||
"@emotion/styled": "^11.11.5",
|
"@emotion/styled": "^11.13.0",
|
||||||
"@fontsource-variable/jetbrains-mono": "^5.0.21",
|
"@fontsource-variable/jetbrains-mono": "^5.0.22",
|
||||||
"@fontsource-variable/noto-sans": "^5.0.5",
|
"@fontsource-variable/noto-sans": "^5.0.5",
|
||||||
"@fontsource/noto-sans": "^5.0.22",
|
"@jellyfin/sdk": "0.10.0",
|
||||||
"@jellyfin/sdk": "0.9.0",
|
"@million/lint": "1.0.0-rc.84",
|
||||||
"@million/lint": "1.0.0-rc.13",
|
"@mui/lab": "6.0.0-beta.9",
|
||||||
"@mui/lab": "5.0.0-alpha.170",
|
"@mui/material": "6.0.2",
|
||||||
"@mui/material": "6.0.0-alpha.6",
|
"@react-spring/web": "^9.7.4",
|
||||||
"@tanem/react-nprogress": "^5.0.51",
|
"@tanem/react-nprogress": "^5.0.51",
|
||||||
"@tanstack/react-query": "^5.40.0",
|
"@tanstack/react-query": "^5.55.0",
|
||||||
"@tanstack/react-query-devtools": "^5.40.0",
|
"@tanstack/react-query-devtools": "^5.55.0",
|
||||||
"@tanstack/react-router": "^1.34.5",
|
"@tanstack/react-router": "^1.56.1",
|
||||||
"@tanstack/react-virtual": "^3.5.0",
|
"@tanstack/react-virtual": "^3.10.7",
|
||||||
"@tauri-apps/api": "^1.5.6",
|
"@tauri-apps/api": "2.0.0-beta.15",
|
||||||
"@types/node": "^20.12.12",
|
"@tauri-apps/plugin-clipboard-manager": "2.1.0-beta.5",
|
||||||
"@types/react": "^18.3.3",
|
"@tauri-apps/plugin-process": "2.0.0-rc.1",
|
||||||
|
"@tauri-apps/plugin-store": "github:tauri-apps/tauri-plugin-store#v2",
|
||||||
|
"@tauri-apps/plugin-updater": "2.0.0-rc.2",
|
||||||
|
"@types/node": "^22.5.4",
|
||||||
|
"@types/react": "^18.3.5",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"axios": "^1.7.2",
|
"axios": "^1.7.7",
|
||||||
"axios-tauri-api-adapter": "^0.2.1",
|
"axios-tauri-api-adapter": "^0.2.2",
|
||||||
"babel-plugin-react-compiler": "0.0.0-experimental-592953e-20240517",
|
|
||||||
"blurhash": "^2.0.5",
|
"blurhash": "^2.0.5",
|
||||||
"events": "^3.3.0",
|
"framer-motion": "^11.5.4",
|
||||||
"framer-motion": "^11.2.7",
|
"jassub": "^1.7.17",
|
||||||
"jassub": "^1.7.15",
|
"lodash": "^4.17.21",
|
||||||
"material-symbols": "^0.18.0",
|
"material-symbols": "^0.23.0",
|
||||||
"million": "^3.1.6",
|
"million": "^3.1.11",
|
||||||
"notistack": "^3.0.1",
|
"notistack": "^3.0.1",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-blurhash": "^0.3.0",
|
"react-blurhash": "^0.3.0",
|
||||||
|
"react-dnd": "^16.0.1",
|
||||||
|
"react-dnd-html5-backend": "^16.0.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-error-boundary": "^4.0.13",
|
"react-error-boundary": "^4.0.13",
|
||||||
"react-markdown": "^9.0.1",
|
"react-markdown": "^9.0.1",
|
||||||
@@ -50,24 +55,23 @@
|
|||||||
"react-player": "^2.16.0",
|
"react-player": "^2.16.0",
|
||||||
"react-use-konami": "^1.1.0",
|
"react-use-konami": "^1.1.0",
|
||||||
"remark-gfm": "^4.0.0",
|
"remark-gfm": "^4.0.0",
|
||||||
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
|
"typescript": "^5.5.4",
|
||||||
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store",
|
|
||||||
"typescript": "^5.4.5",
|
|
||||||
"vite-plugin-svgr": "^4.2.0",
|
"vite-plugin-svgr": "^4.2.0",
|
||||||
"wavesurfer.js": "^7.7.15",
|
"wavesurfer.js": "^7.8.4",
|
||||||
"zustand": "^4.5.2"
|
"zustand": "^4.5.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "^1.7.3",
|
"@babel/plugin-proposal-optional-chaining-assign": "^7.24.7",
|
||||||
"@tanstack/router-cli": "^1.33.12",
|
"@biomejs/biome": "^1.8.3",
|
||||||
"@tanstack/router-devtools": "^1.34.5",
|
"@tanstack/router-cli": "^1.56.1",
|
||||||
"@tanstack/router-vite-plugin": "^1.34.1",
|
"@tanstack/router-devtools": "^1.56.1",
|
||||||
"@tauri-apps/cli": "^1.5.14",
|
"@tanstack/router-vite-plugin": "^1.56.1",
|
||||||
"@vitejs/plugin-react": "^4.3.0",
|
"@tauri-apps/cli": "2.0.0-beta.22",
|
||||||
|
"@types/lodash": "^4.17.7",
|
||||||
|
"@vitejs/plugin-react": "^4.3.1",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"sass": "^1.77.2",
|
"sass": "^1.78.0",
|
||||||
"vite": "^5.2.12",
|
"vite": "^5.4.3"
|
||||||
"vite-plugin-compression": "^0.5.1"
|
|
||||||
},
|
},
|
||||||
"license": "GPL-3.0-only"
|
"license": "GPL-3.0-only"
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 30 KiB |
@@ -1,20 +0,0 @@
|
|||||||
<svg width="1196" height="246" viewBox="0 0 1196 246" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
||||||
<rect x="50" y="50.0024" width="145.46" height="145.46" fill="url(#pattern0)"/>
|
|
||||||
<g clip-path="url(#clip0_504_8)">
|
|
||||||
<rect x="235.46" y="50" width="860" height="81.4648" fill="url(#pattern1)"/>
|
|
||||||
<path d="M235.64 186.465L247.232 161.265H249.068L260.66 186.465H258.68L247.736 162.417H248.528L237.62 186.465H235.64ZM239.888 179.373L240.5 177.825H255.584L256.196 179.373H239.888ZM278.081 186.465V161.265H279.629L291.329 181.461H290.501L302.165 161.265H303.677L303.713 186.465H301.913L301.877 164.037H302.381L291.329 183.117H290.429L279.341 164.037H279.881V186.465H278.081ZM324.991 186.645C323.119 186.645 321.379 186.333 319.771 185.709C318.187 185.061 316.795 184.161 315.595 183.009C314.419 181.833 313.507 180.477 312.859 178.941C312.211 177.381 311.887 175.689 311.887 173.865C311.887 172.041 312.211 170.361 312.859 168.825C313.507 167.265 314.419 165.909 315.595 164.757C316.795 163.581 318.187 162.681 319.771 162.057C321.379 161.409 323.119 161.085 324.991 161.085C326.863 161.085 328.591 161.409 330.175 162.057C331.783 162.681 333.175 163.569 334.351 164.721C335.527 165.873 336.439 167.229 337.087 168.789C337.759 170.325 338.095 172.017 338.095 173.865C338.095 175.713 337.759 177.417 337.087 178.977C336.439 180.513 335.527 181.857 334.351 183.009C333.175 184.161 331.783 185.061 330.175 185.709C328.591 186.333 326.863 186.645 324.991 186.645ZM324.991 184.953C326.599 184.953 328.087 184.677 329.455 184.125C330.823 183.573 332.011 182.793 333.019 181.785C334.027 180.777 334.807 179.601 335.359 178.257C335.935 176.913 336.223 175.449 336.223 173.865C336.223 172.257 335.935 170.793 335.359 169.473C334.807 168.129 334.027 166.953 333.019 165.945C332.011 164.937 330.823 164.157 329.455 163.605C328.087 163.053 326.599 162.777 324.991 162.777C323.383 162.777 321.895 163.053 320.527 163.605C319.159 164.157 317.959 164.937 316.927 165.945C315.919 166.953 315.127 168.129 314.551 169.473C313.999 170.793 313.723 172.257 313.723 173.865C313.723 175.449 313.999 176.913 314.551 178.257C315.127 179.601 315.919 180.777 316.927 181.785C317.959 182.793 319.159 183.573 320.527 184.125C321.895 184.677 323.383 184.953 324.991 184.953ZM346.263 186.465V161.265H356.235C358.899 161.265 361.239 161.805 363.255 162.885C365.271 163.965 366.831 165.453 367.935 167.349C369.063 169.245 369.627 171.417 369.627 173.865C369.627 176.313 369.063 178.485 367.935 180.381C366.831 182.277 365.271 183.765 363.255 184.845C361.239 185.925 358.899 186.465 356.235 186.465H346.263ZM348.099 184.809H356.091C358.467 184.809 360.531 184.341 362.283 183.405C364.035 182.469 365.391 181.185 366.351 179.553C367.311 177.897 367.791 176.001 367.791 173.865C367.791 171.729 367.311 169.845 366.351 168.213C365.391 166.557 364.035 165.261 362.283 164.325C360.531 163.389 358.467 162.921 356.091 162.921H348.099V184.809ZM379.425 172.857H393.069V174.477H379.425V172.857ZM379.641 184.809H395.193V186.465H377.805V161.265H394.653V162.921H379.641V184.809ZM403.687 186.465V161.265H412.723C414.835 161.265 416.647 161.601 418.159 162.273C419.671 162.945 420.835 163.917 421.651 165.189C422.467 166.437 422.875 167.961 422.875 169.761C422.875 171.513 422.467 173.025 421.651 174.297C420.835 175.545 419.671 176.517 418.159 177.213C416.647 177.885 414.835 178.221 412.723 178.221H404.695L405.523 177.357V186.465H403.687ZM421.183 186.465L414.631 177.321H416.719L423.271 186.465H421.183ZM405.523 177.465L404.695 176.601H412.723C415.435 176.601 417.487 176.001 418.879 174.801C420.295 173.601 421.003 171.921 421.003 169.761C421.003 167.577 420.295 165.897 418.879 164.721C417.487 163.521 415.435 162.921 412.723 162.921H404.695L405.523 162.021V177.465ZM431.397 186.465V161.265H432.945L450.909 184.197H450.081V161.265H451.917V186.465H450.405L432.405 163.533H433.233V186.465H431.397ZM475.832 186.645C474.464 186.645 473.18 186.333 471.98 185.709C470.804 185.061 469.856 184.173 469.136 183.045L470.252 181.821C470.948 182.853 471.764 183.645 472.7 184.197C473.66 184.725 474.704 184.989 475.832 184.989C479.168 184.989 480.836 183.009 480.836 179.049V162.921H471.548V161.265H482.672V179.049C482.672 181.569 482.096 183.465 480.944 184.737C479.792 186.009 478.088 186.645 475.832 186.645ZM494.667 172.857H508.311V174.477H494.667V172.857ZM494.883 184.809H510.435V186.465H493.047V161.265H509.895V162.921H494.883V184.809ZM518.929 186.465V161.265H520.765V184.809H535.273V186.465H518.929ZM541.788 186.465V161.265H543.624V184.809H558.132V186.465H541.788ZM567.915 186.465V177.321L568.347 178.509L557.763 161.265H559.779L569.391 176.925H568.383L577.995 161.265H579.903L569.319 178.509L569.751 177.321V186.465H567.915ZM587.297 173.685H600.941V175.341H587.297V173.685ZM587.513 186.465H585.677V161.265H602.525V162.921H587.513V186.465ZM610.188 186.465V161.265H612.024V186.465H610.188ZM622.605 186.465V161.265H624.153L642.117 184.197H641.289V161.265H643.125V186.465H641.613L623.613 163.533H624.441V186.465H622.605ZM675.427 186.645C673.555 186.645 671.815 186.333 670.207 185.709C668.623 185.061 667.243 184.161 666.067 183.009C664.891 181.857 663.979 180.513 663.331 178.977C662.683 177.417 662.359 175.713 662.359 173.865C662.359 172.017 662.683 170.325 663.331 168.789C663.979 167.229 664.891 165.873 666.067 164.721C667.267 163.569 668.659 16Line truncated
|
|
||||||
</g>
|
|
||||||
<defs>
|
|
||||||
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
|
||||||
<use xlink:href="#image0_504_8" transform="scale(0.000661376)"/>
|
|
||||||
</pattern>
|
|
||||||
<pattern id="pattern1" patternContentUnits="objectBoundingBox" width="1" height="1">
|
|
||||||
<use xlink:href="#image1_504_8" transform="scale(0.000244141 0.00257732)"/>
|
|
||||||
</pattern>
|
|
||||||
<clipPath id="clip0_504_8">
|
|
||||||
<rect width="910" height="145.465" fill="white" transform="translate(235.46 50)"/>
|
|
||||||
</clipPath>
|
|
||||||
<image id="image0_504_8" width="1512" height="1512" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABegAAAXoCAYAAADGxiudAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUADeKkSURBVHgB7P0/tyXJlR2O7egGuLgWDTSsmXGEpveTQ4DOqAfTPV3w5A0oS9YA/AICfl+AAPQBRMwX4FTTkExi5PzkoVsGFwVg1A04NFEtC2MNYJBrgK5CKPNWRr4dO/aJzPvqVdWrqrPXqro3I+PPOSfOicyzM26+gkQikUgkEolEInGIb37zm1/74x//WNbvpZSv1VqXj/LO8vmVtWj9XI6/unyv6/Hy73+3fTa8u50Dlb+7tMHSFvrZ6q+D1KcFrU2Vfruyugm2ffJYj+h8G6s7J+1/TedXfE51fruc+qfNFr/bjuvjx49/9/bbb/92Lf9v/+2/PUIikUgkEolEIpGYoiCRSCQSiUQikXjN8eDBg3f++Z//+Z0nT56886UvfekrC6H87lJc3nrrrfUTC/H+NTzlpr+6ku7YiPMF72zE+37fTGR5I7Ibqa7E+U7Gt+Yb8d7OFYxk++W4keRaDi7YiPYmwzbQMIb0xWVctz14gI4BVQL9Q4B2ysh8wWLblbxfSfvL59ZlI/8/3+r8eiH2f7cQ/P+0fK7lj/7lv/yXv/34449/i0QikUgkEolE4jVGEvSJRCKRSCQSiVcO77333rsr2f7lL3953dW+kujvbMT6SrSvnyvR/u5W/V1t30h1Oq5EdDeimXel7+VKWtNxR4IbUh58nr8ruS3kuba5E8hO++GT6rFM1gbabzsFsYXpz/Wt8jWC/9FWb/38fJn3teKj5fPz5aHL2uRR7tpPJBKJRCKRSLxqSII+kUgkEolEInEvsO5y/8Mf/rC+LuYbK+n+1ltv/et19/pKvuPpjvaVfP8q7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ax13NZUa+F7OLXOSL3rd+dte03SXPY9Vgt3Mp9rU3Z7CTvW6ehTjl+pZwxzgPezWe44k+0Xx1ejqdnS9Imev31EMZBIT0CXvb/mcPLvihQI0f2kS/KnC2Cm1q9HbzF8a/0f/oQcbw8G0fZBL/23FI8ut6IuWA8YcFHy/HvyxP32v/6yTtE4lEIpFIJJ4NSdAnEolEIpFIXIH1VTX//M//vL4zft0R/2F5+sdc2zvjB7Kw1uNd8oKd2Fu/8CsupFL46haSxf4By+J3E3efEXnZUAKC/yRhC0yIfzwlIju9ms4A7G56p48Q2Tp+R96eIUsnxLrqc2b3NFz/m1x7f7UXTEl6R852fSrZbGy1j0X11Zan5Fd1MBLz3RyHDevwcMPWkfk7+rw0a98jPUs59fcJjvTdj9v4a3t+d/+sHyL2Z69UGmzRdbBNNW5I/TbuEP9tLGD49Y3aax9TCPvfLZ/rTvuVuP/4iy+++OVnn332WyQSiUQikUgkTiEJ+kQikUgkEokJ1t3xC0n+YPn6V8u/b+Hp7vgVM7JyICKVTFbyUckwbbMdY5Hl8odR0ROuTDiCCcmt+444PCD9BvLXEfEMQ2p2eouuTECOg58gZ7d6R+8Px0RWJY/buTIhuLvhAfuHTcPvjnwXfSyhDLODmfsmubVuR8qSisMu8mbPJor2h2DuA9tEO9t5nO6BgLPZLqx0afqOdLHvk4c89Line truncated
|
|
||||||
<image id="image1_504_8" width="4096" height="388" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAAAGECAYAAAC2K+WjAAAAAXNSR0IArs4c6QAAIABJREFUeF7svQmcJVdZ9/97emayh+wgAQImYdFX4VUU1D8I+soivqgvEGRfBBISkkBCNiDIyE7YAtkTkrAFkoxECCKIiOAGCqIEBaJhM2HLnsns032f/+fcqrp1qm7d7tvTVfdW3f7W55PMdNU5z/Oc77l9p/vc8/sdExcEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQ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Ipc0AcjF73QYAWf5RBgBxfbmxQHJ3yESg0gBgdLu8/+KxYkODuIbMSCAfQ/KSyCT3A1F+hQFANoJ+vJLZQS7mT+qqyjMwGVjUAKBa/D8wEojMB7K6Q+7sJRPa9Uqcw7N+m3SUPelOl3/Pe3a9m/9dr2c32rqFb2pht+3bdmzZtm4v37b5p0dsX6/1HBozsXeM5SeqewFi+RXQozYCGADUhpJA0yWAAcB0+TeWHQOAxtLine truncated
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 18 KiB |
@@ -1,20 +0,0 @@
|
|||||||
<svg width="1197" height="247" viewBox="0 0 1197 247" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
||||||
<rect x="50" y="50" width="146.79" height="146.79" fill="url(#pattern0)"/>
|
|
||||||
<g clip-path="url(#clip0_949_2)">
|
|
||||||
<rect x="236.79" y="50.6626" width="860" height="81.4648" fill="url(#pattern1)"/>
|
|
||||||
<path d="M236.97 187.127L248.562 161.927H250.398L261.99 187.127H260.01L249.066 163.079H249.858L238.95 187.127H236.97ZM241.218 180.035L241.83 178.487H256.914L257.526 180.035H241.218ZM279.411 187.127V161.927H280.959L292.659 182.123H291.831L303.495 161.927H305.007L305.043 187.127H303.243L303.207 164.699H303.711L292.659 183.779H291.759L280.671 164.699H281.211V187.127H279.411ZM326.321 187.307C324.449 187.307 322.709 186.995 321.101 186.371C319.517 185.723 318.125 184.823 316.925 183.671C315.749 182.495 314.837 181.139 314.189 179.603C313.541 178.043 313.217 176.351 313.217 174.527C313.217 172.703 313.541 171.023 314.189 169.487C314.837 167.927 315.749 166.571 316.925 165.419C318.125 164.243 319.517 163.343 321.101 162.719C322.709 162.071 324.449 161.747 326.321 161.747C328.193 161.747 329.921 162.071 331.505 162.719C333.113 163.343 334.505 164.231 335.681 165.383C336.857 166.535 337.769 167.891 338.417 169.451C339.089 170.987 339.425 172.679 339.425 174.527C339.425 176.375 339.089 178.079 338.417 179.639C337.769 181.175 336.857 182.519 335.681 183.671C334.505 184.823 333.113 185.723 331.505 186.371C329.921 186.995 328.193 187.307 326.321 187.307ZM326.321 185.615C327.929 185.615 329.417 185.339 330.785 184.787C332.153 184.235 333.341 183.455 334.349 182.447C335.357 181.439 336.137 180.263 336.689 178.919C337.265 177.575 337.553 176.111 337.553 174.527C337.553 172.919 337.265 171.455 336.689 170.135C336.137 168.791 335.357 167.615 334.349 166.607C333.341 165.599 332.153 164.819 330.785 164.267C329.417 163.715 327.929 163.439 326.321 163.439C324.713 163.439 323.225 163.715 321.857 164.267C320.489 164.819 319.289 165.599 318.257 166.607C317.249 167.615 316.457 168.791 315.881 170.135C315.329 171.455 315.053 172.919 315.053 174.527C315.053 176.111 315.329 177.575 315.881 178.919C316.457 180.263 317.249 181.439 318.257 182.447C319.289 183.455 320.489 184.235 321.857 184.787C323.225 185.339 324.713 185.615 326.321 185.615ZM347.593 187.127V161.927H357.565C360.229 161.927 362.569 162.467 364.585 163.547C366.601 164.627 368.161 166.115 369.265 168.011C370.393 169.907 370.957 172.079 370.957 174.527C370.957 176.975 370.393 179.147 369.265 181.043C368.161 182.939 366.601 184.427 364.585 185.507C362.569 186.587 360.229 187.127 357.565 187.127H347.593ZM349.429 185.471H357.421C359.797 185.471 361.861 185.003 363.613 184.067C365.365 183.131 366.721 181.847 367.681 180.215C368.641 178.559 369.121 176.663 369.121 174.527C369.121 172.391 368.641 170.507 367.681 168.875C366.721 167.219 365.365 165.923 363.613 164.987C361.861 164.051 359.797 163.583 357.421 163.583H349.429V185.471ZM380.755 173.519H394.399V175.139H380.755V173.519ZM380.971 185.471H396.523V187.127H379.135V161.927H395.983V163.583H380.971V185.471ZM405.017 187.127V161.927H414.053C416.165 161.927 417.977 162.263 419.489 162.935C421.001 163.607 422.165 164.579 422.981 165.851C423.797 167.099 424.205 168.623 424.205 170.423C424.205 172.175 423.797 173.687 422.981 174.959C422.165 176.207 421.001 177.179 419.489 177.875C417.977 178.547 416.165 178.883 414.053 178.883H406.025L406.853 178.019V187.127H405.017ZM422.513 187.127L415.961 177.983H418.049L424.601 187.127H422.513ZM406.853 178.127L406.025 177.263H414.053C416.765 177.263 418.817 176.663 420.209 175.463C421.625 174.263 422.333 172.583 422.333 170.423C422.333 168.239 421.625 166.559 420.209 165.383C418.817 164.183 416.765 163.583 414.053 163.583H406.025L406.853 162.683V178.127ZM432.727 187.127V161.927H434.275L452.239 184.859H451.411V161.927H453.247V187.127H451.735L433.735 164.195H434.563V187.127H432.727ZM477.162 187.307C475.794 187.307 474.51 186.995 473.31 186.371C472.134 185.723 471.186 184.835 470.466 183.707L471.582 182.483C472.278 183.515 473.094 184.307 474.03 184.859C474.99 185.387 476.034 185.651 477.162 185.651C480.498 185.651 482.166 183.671 482.166 179.711V163.583H472.878V161.927H484.002V179.711C484.002 182.231 483.426 184.127 482.274 185.399C481.122 186.671 479.418 187.307 477.162 187.307ZM495.997 173.519H509.641V175.139H495.997V173.519ZM496.213 185.471H511.765V187.127H494.377V161.927H511.225V163.583H496.213V185.471ZM520.259 187.127V161.927H522.095V185.471H536.603V187.127H520.259ZM543.118 187.127V161.927H544.954V185.471H559.462V187.127H543.118ZM569.245 187.127V177.983L569.677 179.171L559.093 161.927H561.109L570.721 177.587H569.713L579.325 161.927H581.233L570.649 179.171L571.081 177.983V187.127H569.245ZM588.627 174.347H602.271V176.003H588.627V174.347ZM588.843 187.127H587.007V161.927H603.855V163.583H588.843V187.127ZM611.518 187.127V161.927H613.354V187.127H611.518ZM623.935 187.127V161.927H625.483L643.447 184.859H642.619V161.927H644.455V187.127H642.943L624.943 164.195H625.771V187.127H623.935ZM676.758 187.307C674.886 187.307 673.146 186.995 671.538 186.371C669.954 185.723 668.574 184.823 667.398 183.671C666.222 182.519 665.31 181.175 664.662 179.639C664.014 178.079 663.69 176.375 663.69 174.527C663.69 172.679 664.014 170.987 664.662 169.451C665.31 167.891 666.222 166.535 667.398 165.383C668.598 164.231 669.99 163.34Line truncated
|
|
||||||
</g>
|
|
||||||
<defs>
|
|
||||||
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
|
||||||
<use xlink:href="#image0_949_2" transform="scale(0.000806452)"/>
|
|
||||||
</pattern>
|
|
||||||
<pattern id="pattern1" patternContentUnits="objectBoundingBox" width="1" height="1">
|
|
||||||
<use xlink:href="#image1_949_2" transform="scale(0.000244141 0.00257732)"/>
|
|
||||||
</pattern>
|
|
||||||
<clipPath id="clip0_949_2">
|
|
||||||
<rect width="910" height="145.465" fill="white" transform="translate(236.79 50.6626)"/>
|
|
||||||
</clipPath>
|
|
||||||
<image id="image0_949_2" width="1240" height="1240" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNgAAATYCAYAAADNtnp8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAB1GVSURBVHgB7P1tsGXndd8Hrv1yzr3dDVCQZb1RfLmw9WJFkxIY2ZYlxSYgKYokkyJB0RIVOUJD4osdWyEQjyJVZaK+cKWUqXIsAjOZ1ExlJmh64onjiYtQjWucyYcBXRO7amo+EJo4+TBVU7xy7NhJJTJIAui+95yzd/bzrLWeZ+19LkiQxMvp7t+v6+Dee85+efY+5zarf/yvtUQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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CTZ4rTwsALine truncated
|
|
||||||
<image id="image1_949_2" width="4096" height="388" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAAAGECAYAAAC2K+WjAAAAAXNSR0IArs4c6QAAIABJREFUeF7snQmcJGV5/381swvIIbcol8rhlQRjjBrz12iMIppojAreCiogt9weGCdeICjIzS4CiqLACioeGKMGNUYTjAloUBIUDSjIsewue+9Mv//P21Vv1ftWV890z1R1V3V/6yPuTtX7Ps/zft/u2Zm339/vjcQFAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAwNAJREOvgAIgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQEAYAvAggAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAI1IIABQA0mgRIgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIYAPAagAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEI1IAABgA1mARKgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIYADAawACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAA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U+FKFvE+8vEkNM60XNBAAKjRWBPSVdJek7Jw7KiXbtJ7aSS4xJusAQwABgsb7LNj8A9ySk5djPzTyT9TJI1A7UmRvY/axzA5ub5saUXBCwBDAB4HUAAAhCAAASGSOBaHTg5vdOufx9FOk2SFRd3u9ZsnDZPectD59m9V1wQgMBwCXxT0gsllb3//nuSXi3p/uEOj+wQgEAFBP5I0k2Sdig59kpJ75T0qZLjEq5aAhgAVMuX6BCoAwEMAOowCwOu4Xe7Hrbl9ltt/0VjWvZ3hdl+v+8U5DuFeBexvh3K3GYAmZi9bAMAl7+bAYBfX2YsEN/tMBEoNADo3i7rP3ss39DAr8EZCWRjiF8YTnKfivILDADcCNrxcmYHmZg/rqsoT2oyMKsBQLH4PzUS8MwHXN02t3vJ2HatHGf7rN0mGWVLWmFk7jSt6HYTme+1WtFdE5vN3GamN9uwfuPa9Yu3NOvX/H7vDVOamh7w24Z0fRAoewGij9Q0rYAABgAVQCXkwAlgADBw5ANLiAHAwFCTCAJDI4ABwNDQNzIxBgCNnDaKhgAEINAXAQwA+sJFYwhAAAJzEtg5OcXbngRU9nLine truncated
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 858 KiB |
|
Before Width: | Height: | Size: 503 KiB After Width: | Height: | Size: 519 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 25 KiB |
@@ -1,12 +1,21 @@
|
|||||||
<svg width="1395" height="522" viewBox="0 0 1395 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
<svg width="1302" height="522" viewBox="0 0 1302 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<rect width="1395" height="522" fill="white"/>
|
<rect width="1301.68" height="522" fill="white"/>
|
||||||
<rect width="322" height="322" transform="translate(100 100)" fill="white"/>
|
<rect width="322" height="322" transform="translate(100 100)" fill="white"/>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="url(#pattern0_1155_288)"/>
|
<mask id="mask0_1155_288" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="121" y="180" width="140" height="162">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="#D9D9D9"/>
|
||||||
|
</mask>
|
||||||
|
<g mask="url(#mask0_1155_288)">
|
||||||
|
<rect x="90.6289" y="180.5" width="170.37" height="161" fill="url(#pattern0_1155_288)"/>
|
||||||
|
</g>
|
||||||
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="#222222"/>
|
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="#222222"/>
|
||||||
<path d="M473.213 361V165.798H564.679C588.103 165.798 605.95 170.446 618.22 179.741C630.49 188.85 636.625 201.12 636.625 216.551C636.625 226.961 634.208 235.885 629.374 243.321C624.541 250.571 618.034 256.242 609.854 260.332C601.86 264.236 593.123 266.188 583.641 266.188L588.661 256.149C599.629 256.149 609.482 258.194 618.22 262.284C626.958 266.188 633.836 271.951 638.856 279.573C644.061 287.195 646.664 296.676 646.664 308.017C646.664 324.748 640.25 337.762 627.422 347.057C614.595 356.352 595.539 361 570.256 361H473.213ZM509.465 332.556H568.025C581.596 332.556 592.007 330.325 599.258 325.864C606.508 321.402 610.133 314.244 610.133 304.391C610.133 294.724 606.508 287.66 599.258 283.198C592.007 278.55 581.596 276.227 568.025 276.227H506.676V248.062H560.775C573.417 248.062 583.084 245.831 589.776 241.369C596.655 236.907 600.094 230.215 600.094 221.291C600.094 212.182 596.655 205.396 589.776 200.934C583.084 196.473 573.417 194.242 560.775 194.242H509.465V332.556ZM682.007 361V154.086H716.865V361H682.007ZM762.615 361V212.089H797.473V361H762.615ZM780.183 187.549C773.676 187.549 768.285 185.504 764.009 181.414C759.919 177.324 757.874 172.398 757.874 166.635C757.874 160.686 759.919 155.759 764.009 151.855C768.285 147.765 773.676 145.72 780.183 145.72C786.69 145.72 791.988 147.672 796.078 151.576C800.354 155.294 802.492 160.035 802.492 165.798C802.492 171.933 800.447 177.138 796.357 181.414C792.267 185.504 786.876 187.549 780.183 187.549ZM927.718 210.416C939.616 210.416 950.212 212.739 959.508 217.387C968.989 222.035 976.425 229.192 981.816 238.859C987.208 248.341 989.903 260.61 989.903 275.669V361H955.046V280.131C955.046 266.931 951.885 257.078 945.565 250.571C939.43 244.065 930.785 240.811 919.631 240.811C911.451 240.811 904.2 242.485 897.88 245.831C891.559 249.177 886.632 254.197 883.1 260.889C879.754 267.396 878.08 275.669 878.08 285.708V361H843.223V212.089H876.407V252.245L870.551 239.975C875.757 230.494 883.286 223.243 893.139 218.224C903.178 213.018 914.704 210.416 927.718 210.416ZM1062.57 327.816L1063.4 284.035L1141.2 212.089H1183.03L1116.94 278.457L1098.54 293.795L1062.57 327.816ZM1034.12 361V154.086H1068.98V361H1034.12ZM1146.5 361L1092.13 293.795L1114.16 265.909L1188.89 361H1146.5ZM1225.28 362.952C1218.96 362.952 1213.57 360.814 1209.11 356.538C1204.65 352.076 1202.42 346.499 1202.42 339.807C1202.42 332.742 1204.65 327.165 1209.11 323.075C1213.57 318.799 1218.96 316.661 1225.28 316.661C1231.6 316.661 1237 318.799 1241.46 323.075C1245.92 327.165 1248.15 332.742 1248.15 339.807C1248.15 346.499 1245.92 352.076 1241.46 356.538C1237 360.814 1231.6 362.952 1225.28 362.952Z" fill="#222222"/>
|
<path d="M694.794 368.28V161.366H729.652V368.28H694.794Z" fill="#222222"/>
|
||||||
|
<path d="M775.402 368.28V219.369H810.26V368.28H775.402ZM792.97 194.829C786.464 194.829 781.072 192.784 776.796 188.694C772.707 184.604 770.662 179.678 770.662 173.914C770.662 167.965 772.707 163.039 776.796 159.135C781.072 155.045 786.464 153 792.97 153C799.477 153 804.775 154.952 808.865 158.856C813.141 162.574 815.279 167.315 815.279 173.078C815.279 179.213 813.234 184.418 809.144 188.694C805.054 192.784 799.663 194.829 792.97 194.829Z" fill="#222222"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M486 368.28V173.078H577.466C600.89 173.078 618.737 177.726 631.007 187.021C643.277 196.13 649.412 208.4 649.412 223.83C649.412 234.241 646.995 243.165 642.162 250.601C637.625 257.407 631.613 262.82 624.128 266.841C626.493 267.616 628.786 268.524 631.007 269.563C639.745 273.468 646.623 279.231 651.643 286.853C656.848 294.475 659.451 303.956 659.451 315.297C659.451 332.028 653.037 345.042 640.21 354.337C627.382 363.632 608.327 368.28 583.043 368.28H486ZM580.812 339.836H522.252V283.506H580.812C594.384 283.506 604.794 285.83 612.045 290.478C619.295 294.94 622.92 302.004 622.92 311.671C622.92 321.524 619.295 328.682 612.045 333.144C604.794 337.605 594.384 339.836 580.812 339.836ZM602.563 248.649C595.871 253.111 586.204 255.342 573.562 255.342H522.252V201.522H573.562C586.204 201.522 595.871 203.753 602.563 208.214C609.442 212.676 612.881 219.462 612.881 228.571C612.881 237.495 609.442 244.187 602.563 248.649Z" fill="#222222"/>
|
||||||
|
<path d="M940.505 217.696C952.403 217.696 962.999 220.019 972.295 224.667C981.776 229.315 989.212 236.472 994.604 246.139C999.995 255.62 1002.69 267.89 1002.69 282.949V368.28H967.833V287.411C967.833 274.211 964.673 264.358 958.352 257.851C952.217 251.345 943.572 248.091 932.418 248.091C924.238 248.091 916.988 249.764 910.667 253.111C904.346 256.457 899.419 261.477 895.887 268.169C892.541 274.676 890.868 282.949 890.868 292.988V368.28H856.01V219.369H889.194V238.664C893.72 233.268 899.297 228.881 905.926 225.504C915.965 220.298 927.491 217.696 940.505 217.696Z" fill="#222222"/>
|
||||||
|
<path d="M1153.99 219.369H1195.82L1133.68 281.767L1201.68 368.28H1159.29L1107.69 304.511L1081.77 329.03V368.28H1046.91V161.366H1081.77V286.157L1153.99 219.369Z" fill="#222222"/>
|
||||||
<defs>
|
<defs>
|
||||||
<pattern id="pattern0_1155_288" patternContentUnits="objectBoundingBox" width="1" height="1">
|
<pattern id="pattern0_1155_288" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||||
<use xlink:href="#image0_1155_288" transform="matrix(0 -0.000244141 0.000281909 0 -0.0773502 1)"/>
|
<use xlink:href="#image0_1155_288" transform="matrix(0.000572484 0 0 0.000580984 -0.735848 -0.442641)"/>
|
||||||
</pattern>
|
</pattern>
|
||||||
<image id="image0_1155_288" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFxnH2fy3R34lIMro5n+Qzbcgz35bLNfisXvhGXTXIHDqfcicsqSbRGkvEo7q/p8CiiT0J9VATDPo8m0rmkZjAZnslAlmM0+mToBG6trtV3uqT7tpnoOievpNfEyqvVS34pCWOdXT3ejSV5Dv2x4m/S+epjJTIVOHIOUo3FsSTZtX+d2qYk17sbM3il3saqqVXPRNbjZkytYe/X8UoSL3A+k8NLfJxrZcdUakxerYyYrwG0Nh2HpPWFXC+tVqGYpPeWjfMaTW1MfX66sXA/I73V/jW4JWGM/LGOU9dr7V9gzKgjPObOYfu3tk2FIrpnd2NqbXt7LY6qS5quHpFjJF+XJJ3si+dVz1OPY+XcIpEaVY5h5dxrWjt9POE+acBHGI35IGLjjqHdVebfrTEwMi9xTF5gMRqRHb2mYxBf0o3m67HWdLF55wnfbMOGztb4Zz3tG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CwtnswLrXFvGVl/eP4oJ7SH2YhjHdmo1ojfU/FaoXXS0GwNgtPbjXPSvGN1itmtxUL7KeLf2vRHvq2uvW8tr8Oa1Us2K/mv9r3aL+o7EmeG251jReRTvFbFLS8kRmTufZjGYU7ux8mvaeQM/aj/qC/uV+e5mutMjiiGH5dJOxvind3Sbfq4tt3BAcGaOWuE4qzkVNvJ60aulTQvNqcSC78IHsGq/SVOHlZpO3pmUbbT+xfDwn91XrPFfvlcW1fSHoP+6rx9hrO20fZsn78diwQvv/dwLGtE6z2JSYSTbItdcK/1OAsRNE4E80dvAkBEk5ySyY5cFLlW9s7hrSOvm7w+ZkJ3QJ2J5x+7zUit9T7B9XYUZLWhK7K0LQXxwzAzk3WYWcYx611iDWZGljAjc3InYVot6xG/V76zFs8MYlLXKdEnK/eZyH3OMR7Rmo3EG5kX3YeXTbQPEw0SJyX98nw0hlmrEBfplQWJAbQ+wKcmetMGxdIBqV8Z2Deel6CkPNtXG5LPj+VLedpIfhpWpW9wcK62j8QB9aGGm2Rbjf05aK9V93K3eLY3KOikDEzyzRmybxFBuKCeCO1W/QL+0qZkU8enRpM5JdYxWgbt2s038Mi6RP1Yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
<image id="image0_1155_288" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpR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mo3EG5kX3YeXTbQPEw0SJyX98nw0hlmrEBfplQWJAbQ+wKcmetMGxdIBqV8Z2Deel6CkPNtXG5LPj+VLedpIfhpWpW9wcK62j8QB9aGGm2Rbjf05aK9V93K3eLY3KOikDEzyzRmybxFBuKCeCO1W/QL+0qZkU8enRpM5JdYxWgbt2s038Mi6RP1Yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
||||||
</defs>
|
</defs>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 25 KiB |
@@ -1,12 +1,21 @@
|
|||||||
<svg width="1395" height="522" viewBox="0 0 1395 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
<svg width="1302" height="522" viewBox="0 0 1302 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<rect width="1395" height="522" fill="#222222"/>
|
<rect width="1302" height="522" fill="#222222"/>
|
||||||
<rect width="322" height="322" transform="translate(100 100)" fill="#222222"/>
|
<rect width="322" height="322" transform="translate(100 100)" fill="#222222"/>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="url(#pattern0_1178_275)"/>
|
<mask id="mask0_1178_275" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="121" y="180" width="140" height="162">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="#D9D9D9"/>
|
||||||
|
</mask>
|
||||||
|
<g mask="url(#mask0_1178_275)">
|
||||||
|
<rect x="90.6289" y="180.5" width="170.37" height="161" fill="url(#pattern0_1178_275)"/>
|
||||||
|
</g>
|
||||||
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="white"/>
|
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="white"/>
|
||||||
<path d="M473.213 361V165.798H564.679C588.103 165.798 605.95 170.446 618.22 179.741C630.49 188.85 636.625 201.12 636.625 216.551C636.625 226.961 634.208 235.885 629.374 243.321C624.541 250.571 618.034 256.242 609.854 260.332C601.86 264.236 593.123 266.188 583.641 266.188L588.661 256.149C599.629 256.149 609.482 258.194 618.22 262.284C626.958 266.188 633.836 271.951 638.856 279.573C644.061 287.195 646.664 296.676 646.664 308.017C646.664 324.748 640.25 337.762 627.422 347.057C614.595 356.352 595.539 361 570.256 361H473.213ZM509.465 332.556H568.025C581.596 332.556 592.007 330.325 599.258 325.864C606.508 321.402 610.133 314.244 610.133 304.391C610.133 294.724 606.508 287.66 599.258 283.198C592.007 278.55 581.596 276.227 568.025 276.227H506.676V248.062H560.775C573.417 248.062 583.084 245.831 589.776 241.369C596.655 236.907 600.094 230.215 600.094 221.291C600.094 212.182 596.655 205.396 589.776 200.934C583.084 196.473 573.417 194.242 560.775 194.242H509.465V332.556ZM682.007 361V154.086H716.865V361H682.007ZM762.615 361V212.089H797.473V361H762.615ZM780.183 187.549C773.676 187.549 768.285 185.504 764.009 181.414C759.919 177.324 757.874 172.398 757.874 166.635C757.874 160.686 759.919 155.759 764.009 151.855C768.285 147.765 773.676 145.72 780.183 145.72C786.69 145.72 791.988 147.672 796.078 151.576C800.354 155.294 802.492 160.035 802.492 165.798C802.492 171.933 800.447 177.138 796.357 181.414C792.267 185.504 786.876 187.549 780.183 187.549ZM927.718 210.416C939.616 210.416 950.212 212.739 959.508 217.387C968.989 222.035 976.425 229.192 981.816 238.859C987.208 248.341 989.903 260.61 989.903 275.669V361H955.046V280.131C955.046 266.931 951.885 257.078 945.565 250.571C939.43 244.065 930.785 240.811 919.631 240.811C911.451 240.811 904.2 242.485 897.88 245.831C891.559 249.177 886.632 254.197 883.1 260.889C879.754 267.396 878.08 275.669 878.08 285.708V361H843.223V212.089H876.407V252.245L870.551 239.975C875.757 230.494 883.286 223.243 893.139 218.224C903.178 213.018 914.704 210.416 927.718 210.416ZM1062.57 327.816L1063.4 284.035L1141.2 212.089H1183.03L1116.94 278.457L1098.54 293.795L1062.57 327.816ZM1034.12 361V154.086H1068.98V361H1034.12ZM1146.5 361L1092.13 293.795L1114.16 265.909L1188.89 361H1146.5ZM1225.28 362.952C1218.96 362.952 1213.57 360.814 1209.11 356.538C1204.65 352.076 1202.42 346.499 1202.42 339.807C1202.42 332.742 1204.65 327.165 1209.11 323.075C1213.57 318.799 1218.96 316.661 1225.28 316.661C1231.6 316.661 1237 318.799 1241.46 323.075C1245.92 327.165 1248.15 332.742 1248.15 339.807C1248.15 346.499 1245.92 352.076 1241.46 356.538C1237 360.814 1231.6 362.952 1225.28 362.952Z" fill="white"/>
|
<path d="M694.794 368.64V161.726H729.652V368.64H694.794Z" fill="white"/>
|
||||||
|
<path d="M775.402 368.64V219.729H810.26V368.64H775.402ZM792.97 195.189C786.464 195.189 781.072 193.144 776.796 189.054C772.707 184.964 770.662 180.037 770.662 174.274C770.662 168.325 772.707 163.399 776.796 159.495C781.072 155.405 786.464 153.36 792.97 153.36C799.477 153.36 804.775 155.312 808.865 159.216C813.141 162.934 815.279 167.675 815.279 173.438C815.279 179.573 813.234 184.778 809.144 189.054C805.054 193.144 799.663 195.189 792.97 195.189Z" fill="white"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M486 368.64V173.438H577.466C600.89 173.438 618.737 178.085 631.007 187.381C643.277 196.49 649.412 208.76 649.412 224.19C649.412 234.601 646.995 243.525 642.162 250.961C637.625 257.766 631.613 263.18 624.128 267.201C626.493 267.976 628.786 268.884 631.007 269.923C639.745 273.827 646.623 279.59 651.643 287.213C656.848 294.835 659.451 304.316 659.451 315.656C659.451 332.388 653.037 345.401 640.21 354.697C627.382 363.992 608.327 368.64 583.043 368.64H486ZM580.812 340.196H522.252V283.866H580.812C594.384 283.866 604.794 286.19 612.045 290.838C619.295 295.3 622.92 302.364 622.92 312.031C622.92 321.884 619.295 329.042 612.045 333.503C604.794 337.965 594.384 340.196 580.812 340.196ZM602.563 249.009C595.871 253.471 586.204 255.701 573.562 255.701H522.252V201.881H573.562C586.204 201.881 595.871 204.112 602.563 208.574C609.442 213.036 612.881 219.821 612.881 228.931C612.881 237.854 609.442 244.547 602.563 249.009Z" fill="white"/>
|
||||||
|
<path d="M940.505 218.055C952.403 218.055 962.999 220.379 972.295 225.027C981.776 229.675 989.212 236.832 994.604 246.499C999.995 255.98 1002.69 268.25 1002.69 283.309V368.64H967.833V287.77C967.833 274.571 964.673 264.718 958.352 258.211C952.217 251.704 943.572 248.451 932.418 248.451C924.238 248.451 916.988 250.124 910.667 253.471C904.346 256.817 899.419 261.836 895.887 268.529C892.541 275.036 890.868 283.309 890.868 293.348V368.64H856.01V219.729H889.194V239.024C893.72 233.627 899.297 229.241 905.926 225.863C915.965 220.658 927.491 218.055 940.505 218.055Z" fill="white"/>
|
||||||
|
<path d="M1153.99 219.729H1195.82L1133.68 282.127L1201.68 368.64H1159.29L1107.69 304.871L1081.77 329.39V368.64H1046.91V161.726H1081.77V286.517L1153.99 219.729Z" fill="white"/>
|
||||||
<defs>
|
<defs>
|
||||||
<pattern id="pattern0_1178_275" patternContentUnits="objectBoundingBox" width="1" height="1">
|
<pattern id="pattern0_1178_275" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||||
<use xlink:href="#image0_1178_275" transform="matrix(0 -0.000244141 0.000281909 0 -0.0773502 1)"/>
|
<use xlink:href="#image0_1178_275" transform="matrix(0.000572484 0 0 0.000580984 -0.735848 -0.442641)"/>
|
||||||
</pattern>
|
</pattern>
|
||||||
<image id="image0_1178_275" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFxnH2fy3R34lIMro5n+Qzbcgz35bLNfisXvhGXTXIHDqfcicsqSbRGkvEo7q/p8CiiT0J9VATDPo8m0rmkZjAZnslAlmM0+mToBG6trtV3uqT7tpnoOievpNfEyqvVS34pCWOdXT3ejSV5Dv2x4m/S+epjJTIVOHIOUo3FsSTZtX+d2qYk17sbM3il3saqqVXPRNbjZkytYe/X8UoSL3A+k8NLfJxrZcdUakxerYyYrwG0Nh2HpPWFXC+tVqGYpPeWjfMaTW1MfX66sXA/I73V/jW4JWGM/LGOU9dr7V9gzKgjPObOYfu3tk2FIrpnd2NqbXt7LY6qS5quHpFjJF+XJJ3si+dVz1OPY+XcIpEaVY5h5dxrWjt9POE+acBHGI35IGLjjqHdVebfrTEwMi9xTF5gMRqRHb2mYxBf0o3m67HWdLF55wnfbMOGztb4Zz3tGWDVY8xOy4aH7MAz0pAdNjcMdoRdT+2IXO04J80S74cYJ8zujv2gRZvpB3l8V+3HudMQJ9tO045z0i3Hah/fH+b6BtkftMitHdLLGrLPKlJP3acetXytmLo+Fsn3Z0c/4726PthaHxVeYDHvEcVcE2EeRZqbtOWd0RxmCozOSQwTs17J03tP7sXy3kMnxxvD10fj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aOWuE4qzkVNvJ60aulTQvNqcSC78IHsGq/SVOHlZpO3pmUbbT+xfDwn91XrPFfvlcW1fSHoP+6rx9hrO20fZsn78diwQvv/dwLGtE6z2JSYSTbItdcK/1OAsRNE4E80dvAkBEk5ySyY5cFLlW9s7hrSOvm7w+ZkJ3QJ2J5x+7zUit9T7B9XYUZLWhK7K0LQXxwzAzk3WYWcYx611iDWZGljAjc3InYVot6xG/V76zFs8MYlLXKdEnK/eZyH3OMR7Rmo3EG5kX3YeXTbQPEw0SJyX98nw0hlmrEBfplQWJAbQ+wKcmetMGxdIBqV8Z2Deel6CkPNtXG5LPj+VLedpIfhpWpW9wcK62j8QB9aGGm2Rbjf05aK9V93K3eLY3KOikDEzyzRmybxFBuKCeCO1W/QL+0qZkU8enRpM5JdYxWgbt2s038Mi6RP1Yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
<image id="image0_1178_275" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFxnH2fy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MnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
||||||
</defs>
|
</defs>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.5 KiB |
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "blink"
|
name = "blink"
|
||||||
version = "0.0.5-dev"
|
version = "0.0.6-dev"
|
||||||
description = "A Modern Jellyfin Client"
|
description = "A Modern Jellyfin Client"
|
||||||
authors = ["prayag17", "JellyPlayer contributors (https://github.com/prayag17/JellyPlayer/graphs/contributors)"]
|
authors = ["prayag17", "JellyPlayer contributors (https://github.com/prayag17/JellyPlayer/graphs/contributors)"]
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
@@ -12,18 +12,21 @@ rust-version = "1.59"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { version = "1.5.1", features = [] }
|
tauri-build = { version = "2.0.0-beta", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "^0.4.21"
|
log = "^0.4.21"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
tauri = { version = "1.6.2", features = [ "window-all", "updater", "http-all", "process-exit", "process-relaunch", "shell-all", "devtools"] }
|
tauri = { version = "2.0.0-beta", features = [ "devtools"] }
|
||||||
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 = "v2" }
|
||||||
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 = "v2" }
|
||||||
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 = "v2", features = ["colored"] }
|
||||||
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
|
||||||
portpicker = "0.1" # used in the example to pick a random free port
|
portpicker = "0.1" # used in the example to pick a random free port
|
||||||
|
tauri-plugin-process = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
|
||||||
|
tauri-plugin-updater = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
|
||||||
|
tauri-plugin-clipboard-manager = "2.1.0-beta.6"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# by default Tauri runs in production mode
|
# by default Tauri runs in production mode
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"$schema": "../gen/schemas/desktop-schema.json",
|
||||||
|
"identifier": "main-capabilities",
|
||||||
|
"description": "Capability for desktop window",
|
||||||
|
"windows": ["main"],
|
||||||
|
"permissions": [
|
||||||
|
"store:allow-get",
|
||||||
|
"store:allow-set",
|
||||||
|
"store:allow-save",
|
||||||
|
"store:allow-clear",
|
||||||
|
"store:allow-delete",
|
||||||
|
"store:allow-keys",
|
||||||
|
"store:allow-load",
|
||||||
|
"updater:allow-check",
|
||||||
|
"updater:allow-download-and-install"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"$schema": "../gen/schemas/desktop-schema.json",
|
||||||
|
"identifier": "migrated",
|
||||||
|
"description": "permissions that were migrated from v1",
|
||||||
|
"local": true,
|
||||||
|
"windows": ["main"],
|
||||||
|
"permissions": [
|
||||||
|
"core:path:default",
|
||||||
|
"core:event:default",
|
||||||
|
"core:window:default",
|
||||||
|
"core:app:default",
|
||||||
|
"core:resources:default",
|
||||||
|
"core:menu:default",
|
||||||
|
"core:tray:default",
|
||||||
|
"core:window:allow-set-fullscreen"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"clipboard-manager":{"default_permission":{"identifier":"default","description":"No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n","permissions":[]},"permissions":{"allow-clear":{"identifier":"allow-clear","description":"Enables the clear command without any pre-configured scope.","commands":{"allow":["clear"],"deny":[]}},"allow-read-image":{"identifier":"allow-read-image","description":"Enables the read_image command without any pre-configured scope.","commands":{"allow":["read_image"],"deny":[]}},"allow-read-text":{"identifier":"allow-read-text","description":"Enables the read_text command without any pre-configured scope.","commands":{"allow":["read_text"],"deny":[]}},"allow-write-html":{"identifier":"allow-write-html","description":"Enables the write_html command without any pre-configured scope.","commands":{"allow":["write_html"],"deny":[]}},"allow-write-image":{"identifier":"allow-write-image","description":"Enables the write_image command without any pre-configured scope.","commands":{"allow":["write_image"],"deny":[]}},"allow-write-text":{"identifier":"allow-write-text","description":"Enables the write_text command without any pre-configured scope.","commands":{"allow":["write_text"],"deny":[]}},"deny-clear":{"identifier":"deny-clear","description":"Denies the clear command without any pre-configured scope.","commands":{"allow":[],"deny":["clear"]}},"deny-read-image":{"identifier":"deny-read-image","description":"Denies the read_image command without any pre-configured scope.","commands":{"allow":[],"deny":["read_image"]}},"deny-read-text":{"identifier":"deny-read-text","description":"Denies the read_text command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text"]}},"deny-write-html":{"identifier":"deny-write-html","description":"Denies the write_html command without any pre-configured scope.","commands":{"allow":[],"deny":["write_html"]}},"deny-write-image":{"identifier":"deny-write-image","description":"Denies the write_image command without any pre-configured scope.","commands":{"allow":[],"deny":["write_image"]}},"deny-write-text":{"identifier":"deny-write-text","description":"Denies the write_text command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text"]}}},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["alloLine truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"main-capabilities":{"identifier":"main-capabilities","description":"Capability for desktop window","local":true,"windows":["main"],"permissions":["store:allow-get","store:allow-set","store:allow-save","store:allow-clear","store:allow-delete","store:allow-keys","store:allow-load","updater:allow-check","updater:allow-download-and-install"]},"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["core:path:default","core:event:default","core:window:default","core:app:default","core:resources:default","core:menu:default","core:tray:default","core:window:allow-set-fullscreen"]}}
|
||||||
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
@@ -1,45 +1,19 @@
|
|||||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||||
|
|
||||||
use tauri::{utils::config::AppUrl, WindowUrl};
|
use tauri_plugin_log::{fern::colors::ColoredLevelConfig, Target, TargetKind};
|
||||||
use tauri_plugin_log::{fern::colors::ColoredLevelConfig, LogTarget};
|
|
||||||
// Tauri by default uses HTTPS, so use the localhost plugin to downgrade back to
|
|
||||||
// HTTP. However, when running tauri dev, we already have a localhost server
|
|
||||||
// provided by vite, so don't enable it
|
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
|
||||||
const USE_LOCALHOST_SERVER: bool = false;
|
|
||||||
|
|
||||||
#[cfg(not(debug_assertions))]
|
|
||||||
const USE_LOCALHOST_SERVER: bool = true;
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let port = portpicker::pick_unused_port().expect("failed to find unused port");
|
tauri::Builder::default()
|
||||||
|
.plugin(tauri_plugin_clipboard_manager::init())
|
||||||
let window_url = if USE_LOCALHOST_SERVER {
|
|
||||||
WindowUrl::External(format!("http://localhost:{}", port).parse().unwrap())
|
|
||||||
} else {
|
|
||||||
WindowUrl::App("index.html".into())
|
|
||||||
};
|
|
||||||
|
|
||||||
let mut context = tauri::generate_context!();
|
|
||||||
let mut builder = tauri::Builder::default();
|
|
||||||
|
|
||||||
if USE_LOCALHOST_SERVER {
|
|
||||||
// rewrite the config so the IPC is enabled on this URL
|
|
||||||
context.config_mut().build.dist_dir = AppUrl::Url(window_url.clone());
|
|
||||||
context.config_mut().build.dev_path = AppUrl::Url(window_url.clone());
|
|
||||||
builder = builder.plugin(tauri_plugin_localhost::Builder::new(port).build());
|
|
||||||
}
|
|
||||||
|
|
||||||
builder
|
|
||||||
.plugin(
|
.plugin(
|
||||||
tauri_plugin_log::Builder::default()
|
tauri_plugin_log::Builder::default()
|
||||||
.targets([LogTarget::LogDir, LogTarget::Stdout, LogTarget::Webview])
|
.targets([Target::new(TargetKind::Webview)])
|
||||||
.with_colors(ColoredLevelConfig::default())
|
.with_colors(ColoredLevelConfig::default())
|
||||||
.build(),
|
.build(),
|
||||||
)
|
)
|
||||||
.plugin(tauri_plugin_store::Builder::default().build())
|
.plugin(tauri_plugin_store::Builder::default().build())
|
||||||
|
.plugin(tauri_plugin_updater::Builder::default().build())
|
||||||
// .plugin(tauri_plugin_window_state::Builder::default().build())
|
// .plugin(tauri_plugin_window_state::Builder::default().build())
|
||||||
.run(context)
|
.run(tauri::generate_context!())
|
||||||
.expect("error while running JellyPlayer");
|
.expect("error while running JellyPlayer");
|
||||||
}
|
}
|
||||||
@@ -3,40 +3,23 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"beforeBuildCommand": "pnpm run build",
|
"beforeBuildCommand": "pnpm run build",
|
||||||
"beforeDevCommand": "pnpm run dev",
|
"beforeDevCommand": "pnpm run dev",
|
||||||
"devPath": "http://localhost:5173",
|
"frontendDist": "../dist",
|
||||||
"distDir": "../dist"
|
"devUrl": "http://localhost:5173"
|
||||||
},
|
|
||||||
"package": {
|
|
||||||
"productName": "Blink",
|
|
||||||
"version": "../package.json"
|
|
||||||
},
|
|
||||||
"tauri": {
|
|
||||||
"allowlist": {
|
|
||||||
"process": {
|
|
||||||
"all": false,
|
|
||||||
"exit": true,
|
|
||||||
"relaunch": true,
|
|
||||||
"relaunchDangerousAllowSymlinkMacos": false
|
|
||||||
},
|
|
||||||
"window": {
|
|
||||||
"all": true,
|
|
||||||
"setFullscreen": true
|
|
||||||
},
|
|
||||||
"shell": {
|
|
||||||
"all": true
|
|
||||||
},
|
|
||||||
"http": {
|
|
||||||
"all": true,
|
|
||||||
"request": true,
|
|
||||||
"scope": ["http://**", "http://*", "https://**", "https://*"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"category": "Video",
|
"category": "Video",
|
||||||
"copyright": "GPL-3.0-only",
|
"copyright": "GPL-3.0-only",
|
||||||
"deb": {
|
"windows": {
|
||||||
"depends": []
|
"certificateThumbprint": null,
|
||||||
|
"digestAlgorithm": "sha256",
|
||||||
|
"timestampUrl": "",
|
||||||
|
"nsis": {
|
||||||
|
"sidebarImage": "../public/installerSideBarImage.bmp",
|
||||||
|
"headerImage": "../public/installerHeaderImage.bmp",
|
||||||
|
"installerIcon": "icons/icon.ico",
|
||||||
|
"displayLanguageSelector": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"externalBin": [],
|
"externalBin": [],
|
||||||
"icon": [
|
"icon": [
|
||||||
@@ -46,7 +29,14 @@
|
|||||||
"icons/icon.icns",
|
"icons/icon.icns",
|
||||||
"icons/icon.ico"
|
"icons/icon.ico"
|
||||||
],
|
],
|
||||||
"identifier": "com.blink.prayag17",
|
"linux": {
|
||||||
|
"deb": {
|
||||||
|
"depends": []
|
||||||
|
},
|
||||||
|
"appimage": {
|
||||||
|
"bundleMediaFramework": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"longDescription": "A modern desktop client for Jellyfin",
|
"longDescription": "A modern desktop client for Jellyfin",
|
||||||
"macOS": {
|
"macOS": {
|
||||||
"entitlements": null,
|
"entitlements": null,
|
||||||
@@ -57,46 +47,28 @@
|
|||||||
},
|
},
|
||||||
"resources": [],
|
"resources": [],
|
||||||
"shortDescription": "Blink",
|
"shortDescription": "Blink",
|
||||||
"targets": ["deb", "appimage", "nsis", "app", "dmg", "updater"],
|
"targets": [
|
||||||
"windows": {
|
"deb",
|
||||||
"certificateThumbprint": null,
|
"appimage",
|
||||||
"digestAlgorithm": "sha256",
|
"nsis",
|
||||||
"timestampUrl": "",
|
"app",
|
||||||
"nsis": {
|
"dmg"
|
||||||
"sidebarImage": "../public/installerSideBarImage.bmp",
|
],
|
||||||
"headerImage": "../public/installerHeaderImage.bmp",
|
"licenseFile": "../LICENSE",
|
||||||
"installerIcon": "icons/icon.ico",
|
"createUpdaterArtifacts": "v1Compatible"
|
||||||
"displayLanguageSelector": true,
|
|
||||||
"license": "../LICENSE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"appimage": {
|
|
||||||
"bundleMediaFramework": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"security": {
|
|
||||||
"csp": null,
|
|
||||||
"dangerousRemoteDomainIpcAccess": [
|
|
||||||
{
|
|
||||||
"domain": "**",
|
|
||||||
"windows": ["main"],
|
|
||||||
"enableTauriAPI": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"domain": "*",
|
|
||||||
"windows": ["main"],
|
|
||||||
"enableTauriAPI": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
"productName": "Blink",
|
||||||
|
"version": "../package.json",
|
||||||
|
"identifier": "com.blink.prayag17",
|
||||||
|
"plugins": {
|
||||||
"updater": {
|
"updater": {
|
||||||
"active": true,
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEZEMTg0MjEzRDYzRjJDN0EKUldSNkxEL1dFMElZL1dxbHA0V2lyVDFEdGpOZXkxMG9XdHVLVnRpVVV5c1Z0OFNRUE45dkpxbFAK",
|
||||||
"endpoints": [
|
"endpoints": [
|
||||||
"https://raw.githack.com/prayag17/JellyPlayer/main/latest.json"
|
"https://raw.githack.com/prayag17/JellyPlayer/main/latest.json"
|
||||||
],
|
]
|
||||||
"dialog": false,
|
}
|
||||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDk5QkE0QjMzOEQyRUI5M0MKUldROHVTNk5NMHU2bVMvS3VNRWZHRzhuWE1TRlg3WHI1VHBtZjFvVy80alZ2UHc4T3BqcHVGOWwK"
|
|
||||||
},
|
},
|
||||||
|
"app": {
|
||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
"fullscreen": false,
|
"fullscreen": false,
|
||||||
@@ -106,8 +78,12 @@
|
|||||||
"title": "Blink",
|
"title": "Blink",
|
||||||
"visible": true,
|
"visible": true,
|
||||||
"center": true,
|
"center": true,
|
||||||
"label": "main"
|
"label": "main",
|
||||||
|
"dragDropEnabled": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"security": {
|
||||||
|
"csp": null
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,357 +0,0 @@
|
|||||||
import React, { useState, useEffect, useLayoutEffect } from "react";
|
|
||||||
|
|
||||||
import { ThemeProvider } from "@mui/material/styles";
|
|
||||||
import { AnimatePresence, motion } from "framer-motion";
|
|
||||||
import { SnackbarProvider } from "notistack";
|
|
||||||
import {
|
|
||||||
Navigate,
|
|
||||||
Route,
|
|
||||||
Routes,
|
|
||||||
useLocation,
|
|
||||||
useNavigate,
|
|
||||||
} from "react-router-dom";
|
|
||||||
|
|
||||||
import { relaunch } from "@tauri-apps/api/process";
|
|
||||||
import {
|
|
||||||
type UpdateManifest,
|
|
||||||
checkUpdate,
|
|
||||||
installUpdate,
|
|
||||||
} from "@tauri-apps/api/updater";
|
|
||||||
|
|
||||||
// Theming
|
|
||||||
import CssBaseline from "@mui/material/CssBaseline";
|
|
||||||
import "./styles/global.scss";
|
|
||||||
import { theme } from "./theme";
|
|
||||||
|
|
||||||
import LoadingButton from "@mui/lab/LoadingButton";
|
|
||||||
import Button from "@mui/material/Button";
|
|
||||||
|
|
||||||
// MUI
|
|
||||||
import {
|
|
||||||
Chip,
|
|
||||||
Dialog,
|
|
||||||
DialogActions,
|
|
||||||
DialogContent,
|
|
||||||
DialogContentText,
|
|
||||||
DialogTitle,
|
|
||||||
IconButton,
|
|
||||||
LinearProgress,
|
|
||||||
SvgIcon,
|
|
||||||
} from "@mui/material";
|
|
||||||
|
|
||||||
// Routes
|
|
||||||
import About from "./routes/_about";
|
|
||||||
import MusicAlbumTitlePage from "./routes/album/$id.js";
|
|
||||||
import ArtistTitlePage from "./routes/artist/$id.js";
|
|
||||||
import BoxSetTitlePage from "./routes/boxset/$id.js";
|
|
||||||
import EpisodeTitlePage from "./routes/episode/$id";
|
|
||||||
import FavoritePage from "./routes/favorite/index.jsx";
|
|
||||||
import Home from "./routes/home";
|
|
||||||
import ItemDetail from "./routes/item/$id";
|
|
||||||
import LibraryView from "./routes/library";
|
|
||||||
import {
|
|
||||||
LoginRoute,
|
|
||||||
LoginWithImage,
|
|
||||||
UserLogin,
|
|
||||||
UserLoginManual,
|
|
||||||
} from "./routes/login";
|
|
||||||
import PersonTitlePage from "./routes/person/$id.jsx";
|
|
||||||
import VideoPlayer from "./routes/player/videoPlayer";
|
|
||||||
import PlaylistTitlePage from "./routes/playlist/$id.jsx";
|
|
||||||
import SearchPage from "./routes/search";
|
|
||||||
import SeriesTitlePage from "./routes/series/$id.js";
|
|
||||||
import { ServerSetup } from "./routes/setup/server.add";
|
|
||||||
import ServerList from "./routes/setup/server.list.js";
|
|
||||||
|
|
||||||
import Markdown from "react-markdown";
|
|
||||||
import remarkGfm from "remark-gfm";
|
|
||||||
|
|
||||||
|
|
||||||
// Components
|
|
||||||
import { AppBar } from "./components/appBar/appBar.jsx";
|
|
||||||
import { ErrorNotice } from "./components/notices/errorNotice/errorNotice.jsx";
|
|
||||||
import AudioPlayer from "./components/playback/audioPlayer/index.jsx";
|
|
||||||
|
|
||||||
// Utils
|
|
||||||
import { useAudioPlayback } from "./utils/store/audioPlayback.js";
|
|
||||||
import { useBackdropStore } from "./utils/store/backdrop.js";
|
|
||||||
import { setInitialRoute, useCentralStore } from "./utils/store/central.js";
|
|
||||||
import {
|
|
||||||
usePlaybackDataLoadStore,
|
|
||||||
usePlaybackStore,
|
|
||||||
} from "./utils/store/playback";
|
|
||||||
|
|
||||||
// 3rd Party
|
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
|
||||||
import { CircularProgress } from "@mui/material";
|
|
||||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
|
||||||
import { useSnackbar } from "notistack";
|
|
||||||
import { ErrorBoundary } from "react-error-boundary";
|
|
||||||
|
|
||||||
import { getSystemApi } from "@jellyfin/sdk/lib/utils/api/system-api";
|
|
||||||
import {
|
|
||||||
useIsFetching,
|
|
||||||
useIsMutating,
|
|
||||||
useQueryClient,
|
|
||||||
} from "@tanstack/react-query";
|
|
||||||
import NProgress from "./components/nProgress";
|
|
||||||
import Settings from "./components/settings";
|
|
||||||
import { EasterEgg } from "./components/utils/easterEgg.jsx";
|
|
||||||
import { handleRelaunch } from "./utils/misc/relaunch";
|
|
||||||
import {
|
|
||||||
delServer,
|
|
||||||
getAllServers,
|
|
||||||
getDefaultServer,
|
|
||||||
getServer,
|
|
||||||
setDefaultServer,
|
|
||||||
} from "./utils/storage/servers";
|
|
||||||
import { type UserStore, delUser, getUser } from "./utils/storage/user";
|
|
||||||
import { axiosClient, createApi, useApi } from "./utils/store/api";
|
|
||||||
|
|
||||||
const handleAuthError = async () => {
|
|
||||||
await delUser();
|
|
||||||
setInitialRoute("/login/index");
|
|
||||||
};
|
|
||||||
|
|
||||||
const authenticateUser = async (address: string, user: UserStore["user"]) => {
|
|
||||||
try {
|
|
||||||
createApi(address, user.AccessToken);
|
|
||||||
setInitialRoute("/home");
|
|
||||||
} catch (error) {
|
|
||||||
console.error(error);
|
|
||||||
setInitialRoute("/error");
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const init = async () => {
|
|
||||||
if (window.location.pathname !== "/") {
|
|
||||||
window.location.href = "/";
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const defaultServerOnDisk = await getDefaultServer();
|
|
||||||
|
|
||||||
if (defaultServerOnDisk) {
|
|
||||||
const defaultServerInfo = await getServer(defaultServerOnDisk);
|
|
||||||
if (!defaultServerInfo) {
|
|
||||||
await setDefaultServer(null);
|
|
||||||
await delServer(defaultServerOnDisk);
|
|
||||||
|
|
||||||
const servers = await getAllServers();
|
|
||||||
|
|
||||||
setInitialRoute(servers.length > 0 ? "/servers/list" : "/setup/server");
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const userOnDisk = await getUser();
|
|
||||||
createApi(defaultServerInfo.address, "");
|
|
||||||
try {
|
|
||||||
const api = useApi.getState();
|
|
||||||
const ping = await getSystemApi(api.api).getPingSystem();
|
|
||||||
// const ping = await fetch("http://192.168.29.60:8096/System/Ping");
|
|
||||||
} catch (error) {
|
|
||||||
console.error(error);
|
|
||||||
setInitialRoute("/error");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (userOnDisk) {
|
|
||||||
try {
|
|
||||||
let authApi = useApi.getState().api;
|
|
||||||
|
|
||||||
if (!authApi) {
|
|
||||||
handleAuthError();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
await authenticateUser(defaultServerInfo.address, userOnDisk);
|
|
||||||
|
|
||||||
authApi = useApi.getState().api!;
|
|
||||||
|
|
||||||
const user = await getUserApi(authApi).getCurrentUser();
|
|
||||||
|
|
||||||
if (!user) {
|
|
||||||
await delUser();
|
|
||||||
handleAuthError();
|
|
||||||
}
|
|
||||||
} catch (error) {
|
|
||||||
console.error(error);
|
|
||||||
handleAuthError();
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
setInitialRoute("/login/index");
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
setInitialRoute("/setup/server");
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
function App() {
|
|
||||||
const [appReady, setAppReady] = useState(false);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
init().then(() => {
|
|
||||||
setAppReady(true);
|
|
||||||
});
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
if (!appReady) {
|
|
||||||
return (
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
position: "fixed",
|
|
||||||
top: "50%",
|
|
||||||
left: "50%",
|
|
||||||
transform: "translate(-50%, -50%)",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<CircularProgress size={72} thickness={1.4} />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return <AppReady />;
|
|
||||||
}
|
|
||||||
function AppReady() {
|
|
||||||
const [audioPlayerVisible] = useAudioPlayback((state) => [state.display]);
|
|
||||||
const { enqueueSnackbar } = useSnackbar();
|
|
||||||
|
|
||||||
const [initialRoute] = useCentralStore((state) => [state.initialRoute]);
|
|
||||||
const [backdropUrl, backdropId] = useBackdropStore((state) => [
|
|
||||||
state.backdropUrl,
|
|
||||||
state.backdropId,
|
|
||||||
]);
|
|
||||||
const [playbackDataLoading] = usePlaybackDataLoadStore((state) => [
|
|
||||||
state.isPending,
|
|
||||||
]);
|
|
||||||
|
|
||||||
const location = useLocation();
|
|
||||||
const navigate = useNavigate();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const isQueryFetching = useIsFetching();
|
|
||||||
const isMutating = useIsMutating();
|
|
||||||
|
|
||||||
useEffect(() => window.scrollTo(0, 0), [location.key]);
|
|
||||||
|
|
||||||
const [videoPlaybackItem] = usePlaybackStore((state) => [state.item]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!initialRoute) {
|
|
||||||
return (
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
position: "fixed",
|
|
||||||
top: "50%",
|
|
||||||
left: "50%",
|
|
||||||
transform: "translate(-50%, -50%)",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<CircularProgress size={72} thickness={1.4} />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{/* Show Dialog if server not reachable */}
|
|
||||||
|
|
||||||
|
|
||||||
<div
|
|
||||||
className={audioPlayerVisible ? "audio-playing" : ""}
|
|
||||||
style={{
|
|
||||||
display: "flex",
|
|
||||||
width: "100vw",
|
|
||||||
transition: "padding 250ms",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
|
|
||||||
<ErrorBoundary FallbackComponent={ErrorNotice} key={location.key}>
|
|
||||||
<Routes location={location}>
|
|
||||||
<Route path="/" element={<Navigate to={initialRoute} />} />
|
|
||||||
<Route
|
|
||||||
path="/error"
|
|
||||||
element={
|
|
||||||
<Dialog
|
|
||||||
open
|
|
||||||
onClose={handleRelaunch}
|
|
||||||
aria-labelledby="alert-dialog-text"
|
|
||||||
aria-describedby="alert-dialog-desc"
|
|
||||||
maxWidth="md"
|
|
||||||
>
|
|
||||||
<DialogTitle id="alert-dialog-text">
|
|
||||||
Unable to reach server
|
|
||||||
</DialogTitle>
|
|
||||||
<DialogContent>
|
|
||||||
<DialogContentText id="alert-dialog-desc">
|
|
||||||
Unable to connect to the jellyfin server.
|
|
||||||
</DialogContentText>
|
|
||||||
</DialogContent>
|
|
||||||
<DialogActions>
|
|
||||||
<Button
|
|
||||||
color="secondary"
|
|
||||||
variant="contained"
|
|
||||||
onClick={() => navigate("/servers/list")}
|
|
||||||
>
|
|
||||||
Change Server
|
|
||||||
</Button>
|
|
||||||
<Button
|
|
||||||
variant="contained"
|
|
||||||
color="primary"
|
|
||||||
onClick={handleRelaunch}
|
|
||||||
>
|
|
||||||
Restart JellyPlayer
|
|
||||||
</Button>
|
|
||||||
</DialogActions>
|
|
||||||
</Dialog>
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
<Route path="/login/index" element={<LoginRoute />} />
|
|
||||||
|
|
||||||
<Route path="/home" element={<Home />} />
|
|
||||||
<Route path="/setup/server" element={<ServerSetup />} />
|
|
||||||
<Route path="/servers/list" element={<ServerList />} />
|
|
||||||
<Route
|
|
||||||
path="/login/withImg/:userName/:userId/"
|
|
||||||
element={<LoginWithImage />}
|
|
||||||
/>
|
|
||||||
<Route path="/login/users" element={<UserLogin />} />
|
|
||||||
<Route path="/login/manual" element={<UserLoginManual />} />
|
|
||||||
<Route path="/library/:id" element={<LibraryView />} />
|
|
||||||
<Route path="/item/:id" element={<ItemDetail />} />
|
|
||||||
<Route
|
|
||||||
path="/musicalbum/:id"
|
|
||||||
element={<MusicAlbumTitlePage />}
|
|
||||||
errorElement={<div>Error</div>}
|
|
||||||
/>
|
|
||||||
<Route path="/artist/:id" element={<ArtistTitlePage />} />
|
|
||||||
<Route path="/boxset/:id" element={<BoxSetTitlePage />} />
|
|
||||||
<Route path="/episode/:id" element={<EpisodeTitlePage />} />
|
|
||||||
<Route path="/person/:id" element={<PersonTitlePage />} />
|
|
||||||
<Route path="/playlist/:id" element={<PlaylistTitlePage />} />
|
|
||||||
<Route path="/series/:id" element={<SeriesTitlePage />} />
|
|
||||||
<Route path="/search" element={<SearchPage />} />
|
|
||||||
<Route path="/favorite" element={<FavoritePage />} />
|
|
||||||
<Route path="/about" element={<About />} />
|
|
||||||
<Route
|
|
||||||
path="/player"
|
|
||||||
element={<VideoPlayer />}
|
|
||||||
key={videoPlaybackItem?.Id ?? "noplayback"}
|
|
||||||
/>
|
|
||||||
</Routes>
|
|
||||||
</ErrorBoundary>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ReactQueryDevtools buttonPosition="bottom-right" position="left" />
|
|
||||||
</>
|
|
||||||
</SnackbarProvider>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export default App;
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="1310" height="1512" viewBox="0 0 1310 1512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M654.715 756L52 1103.98L654.715 1451.96L1257.43 1103.98V408.022L654.715 60.0444L52 408.022L654.715 756ZM654.715 0L1309.43 378V1134L654.715 1512L0 1134V1073.96V438.044V378L654.715 0Z" fill="#101010"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 360 B |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 94 KiB |
@@ -1,11 +1,16 @@
|
|||||||
<svg width="1512" height="1512" viewBox="0 0 1512 1512" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
<svg width="1512" height="1512" viewBox="0 0 1512 1512" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<rect width="1512" height="1512" rx="756" fill="white"/>
|
<rect width="1512" height="1512" rx="756" fill="white"/>
|
||||||
<rect width="1012" height="1012" transform="translate(250 250)" fill="white"/>
|
<rect width="1012" height="1012" transform="translate(250 250)" fill="white"/>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M755.809 756L317.601 503V1009L755.809 756Z" fill="url(#pattern0_1167_274)"/>
|
<mask id="mask0_1167_274" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="317" y="503" width="439" height="506">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M755.809 756L317.601 503V1009L755.809 756Z" fill="#D9D9D9"/>
|
||||||
|
</mask>
|
||||||
|
<g mask="url(#mask0_1167_274)">
|
||||||
|
<rect x="220.55" y="503" width="535.45" height="506" fill="url(#pattern0_1167_274)"/>
|
||||||
|
</g>
|
||||||
<path d="M1194.02 503L755.809 250L317.601 503L755.809 756L317.601 1009L755.809 1262L1194.02 1009V503Z" fill="#222222"/>
|
<path d="M1194.02 503L755.809 250L317.601 503L755.809 756L317.601 1009L755.809 1262L1194.02 1009V503Z" fill="#222222"/>
|
||||||
<defs>
|
<defs>
|
||||||
<pattern id="pattern0_1167_274" patternContentUnits="objectBoundingBox" width="1" height="1">
|
<pattern id="pattern0_1167_274" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||||
<use xlink:href="#image0_1167_274" transform="matrix(0 -0.000244141 0.000281909 0 -0.0773503 1)"/>
|
<use xlink:href="#image0_1167_274" transform="matrix(0.000572484 0 0 0.000580984 -0.735848 -0.442641)"/>
|
||||||
</pattern>
|
</pattern>
|
||||||
<image id="image0_1167_274" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFxnH2fy3R34lIMro5n+Qzbcgz35bLNfisXvhGXTXIHDqfcicsqSbRGkvEo7q/p8CiiT0J9VATDPo8m0rmkZjAZnslAlmM0+mToBG6trtV3uqT7tpnoOievpNfEyqvVS34pCWOdXT3ejSV5Dv2x4m/S+epjJTIVOHIOUo3FsSTZtX+d2qYk17sbM3il3saqqVXPRNbjZkytYe/X8UoSL3A+k8NLfJxrZcdUakxerYyYrwG0Nh2HpPWFXC+tVqGYpPeWjfMaTW1MfX66sXA/I73V/jW4JWGM/LGOU9dr7V9gzKgjPObOYfu3tk2FIrpnd2NqbXt7LY6qS5quHpFjJF+XJJ3si+dVz1OPY+XcIpEaVY5h5dxrWjt9POE+acBHGI35IGLjjqHdVebfrTEwMi9xTF5gMRqRHb2mYxBf0o3m67HWdLF55wnfbMOGztb4Zz3tGWDVY8xOy4aH7MAz0pAdNjcMdoRdT+2IXO04J80S74cYJ8zujv2gRZvpB3l8V+3HudMQJ9tO045z0i3Hah/fH+b6BtkftMitHdLLGrLPKlJP3acetXytmLo+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RTvFbFLS8kRmTufZjGYU7ux8mvaeQM/aj/qC/uV+e5mutMjiiGH5dJOxvind3Sbfq4tt3BAcGaOWuE4qzkVNvJ60aulTQvNqcSC78IHsGq/SVOHlZpO3pmUbbT+xfDwn91XrPFfvlcW1fSHoP+6rx9hrO20fZsn78diwQvv/dwLGtE6z2JSYSTbItdcK/1OAsRNE4E80dvAkBEk5ySyY5cFLlW9s7hrSOvm7w+ZkJ3QJ2J5x+7zUit9T7B9XYUZLWhK7K0LQXxwzAzk3WYWcYx611iDWZGljAjc3InYVot6xG/V76zFs8MYlLXKdEnK/eZyH3OMR7Rmo3EG5kX3YeXTbQPEw0SJyX98nw0hlmrEBfplQWJAbQ+wKcmetMGxdIBqV8Z2Deel6CkPNtXG5LPj+VLedpIfhpWpW9wcK62j8QB9aGGm2Rbjf05aK9V93K3eLY3KOikDEzyzRmybxFBuKCeCO1W/QL+0qZkU8enRpM5JdYxWgbt2s038Mi6RP1Yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
<image id="image0_1167_274" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If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9V93K3eLY3KOikDEzyzRmybxFBuKCeCO1W/QL+0qZkU8enRpM5JdYxWgbt2s038Mi6RP1Yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
||||||
</defs>
|
</defs>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
@@ -0,0 +1,4 @@
|
|||||||
|
<svg width="39" height="14" viewBox="0 0 39 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0H34.69C36.8991 0 38.69 1.79086 38.69 4V10C38.69 12.2091 36.8991 14 34.69 14H4.00001C1.79087 14 0 12.2091 0 10V4C0 1.79086 1.79086 0 4 0ZM6.7 9.395H4.4V3.525H3V10.505H6.7V9.395ZM10.7798 8.075L13.1398 3.525H11.5798L10.0898 6.715L8.58984 3.525H7.00984L9.37984 8.075V10.505H10.7798V8.075ZM16.0073 7.785L17.5473 10.505H19.1673L17.4973 7.675C18.0239 7.535 18.4206 7.28167 18.6873 6.915C18.9539 6.54167 19.0873 6.125 19.0873 5.665C19.0873 5.265 18.9906 4.905 18.7973 4.585C18.6106 4.25833 18.3273 4.00167 17.9473 3.815C17.5673 3.62167 17.1073 3.525 16.5673 3.525H13.9473V10.505H15.3473V7.785H16.0073ZM21.7535 10.505V3.525H20.3535V10.505H21.7535ZM23.2567 5.165C22.9501 5.705 22.7967 6.31833 22.7967 7.005C22.7967 7.69167 22.9501 8.305 23.2567 8.845C23.5701 9.385 23.9934 9.80833 24.5267 10.115C25.0667 10.415 25.6701 10.565 26.3367 10.565C27.1234 10.565 27.8067 10.3683 28.3867 9.975C28.9734 9.575 29.3834 9.01833 29.6167 8.305H28.0067C27.8467 8.63833 27.6201 8.89167 27.3267 9.065C27.0401 9.23167 26.7067 9.315 26.3267 9.315C25.9201 9.315 25.5567 9.22167 25.2367 9.035C24.9234 8.84167 24.6767 8.57167 24.4967 8.225C24.3234 7.87167 24.2367 7.465 24.2367 7.005C24.2367 6.53833 24.3234 6.13167 24.4967 5.785C24.6767 5.43833 24.9234 5.17167 25.2367 4.985C25.5567 4.79167 25.9201 4.695 26.3267 4.695C26.7067 4.695 27.0401 4.77833 27.3267 4.945C27.6201 5.11167 27.8467 5.36167 28.0067 5.695H29.6167C29.3834 4.98833 28.9734 4.435 28.3867 4.035C27.8001 3.635 27.1167 3.435 26.3367 3.435C25.6701 3.435 25.0667 3.58833 24.5267 3.895C23.9934 4.195 23.5701 4.61833 23.2567 5.165ZM31.9025 10.325C32.2958 10.4917 32.7358 10.575 33.2225 10.575C33.7358 10.575 34.1792 10.4817 34.5525 10.295C34.9258 10.1017 35.2092 9.845 35.4025 9.525C35.5958 9.205 35.6925 8.85833 35.6925 8.485C35.6925 8.05167 35.5892 7.70167 35.3825 7.435C35.1758 7.16833 34.9292 6.96833 34.6425 6.835C34.3558 6.70167 33.9858 6.56833 33.5325 6.435C33.1992 6.335 32.9392 6.24833 32.7525 6.175C32.5725 6.095 32.4192 5.995 32.2925 5.875C32.1725 5.74833 32.1125 5.59167 32.1125 5.405C32.1125 5.13833 32.1925 4.935 32.3525 4.795C32.5192 4.655 32.7392 4.585 33.0125 4.585C33.3258 4.585 33.5758 4.665 33.7625 4.825C33.9558 4.97833 34.0592 5.175 34.0725 5.415H35.6125C35.5658 4.78833 35.3158 4.30167 34.8625 3.955C34.4158 3.60167 33.8325 3.425 33.1125 3.425C32.6325 3.425 32.2058 3.50833 31.8325 3.675C31.4592 3.835 31.1692 4.06833 30.9625 4.375C30.7558 4.68167 30.6525 5.04167 30.6525 5.455C30.6525 5.895 30.7525 6.24833 30.9525 6.515C31.1592 6.775 31.4025 6.97167 31.6825 7.105C31.9692 7.23167 32.3392 7.36167 32.7925 7.495C33.1258 7.58833 33.3858 7.675 33.5725 7.755C33.7658 7.82833 33.9258 7.93167 34.0525 8.065C34.1792 8.19833 34.2425 8.36833 34.2425 8.575C34.2425 8.82833 34.1492 9.035 33.9625 9.195C33.7758 9.34833 33.5192 9.425 33.1925 9.425C32.8725 9.425 32.6192 9.34167 32.4325 9.175C32.2525 9.00833 32.1525 8.78167 32.1325 8.495H30.6325C30.6392 8.92167 30.7558 9.29167 30.9825 9.605C31.2092 9.91833 31.5158 10.1583 31.9025 10.325Z" fill="white"/>
|
||||||
|
<path d="M15.3473 6.735H16.5173C16.8973 6.735 17.1806 6.645 17.3673 6.465C17.5539 6.27833 17.6473 6.02167 17.6473 5.695C17.6473 5.375 17.5539 5.12833 17.3673 4.955C17.1806 4.775 16.8973 4.685 16.5173 4.685H15.3473V6.735Z" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.3 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_1029_262)">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.5024 12.9928C23.271 9.28227 21.3839 6.50613 18.5446 4.9541C18.5607 5.04452 18.4802 5.15755 18.3886 5.11752C16.5315 4.30511 13.3809 6.93435 11.1793 5.55749C11.1958 6.05163 11.0993 8.46208 7.70374 8.6019C7.62358 8.60519 7.57946 8.52333 7.63015 8.46537C8.08426 7.94743 8.54275 6.63609 7.88349 5.93701C6.47168 7.20213 5.65179 7.67825 2.94477 7.04997C1.21159 8.86222 0.229486 11.3426 0.422283 14.4324C0.815644 20.7399 6.72373 24.3454 12.6732 23.9741C18.6223 23.6032 23.8959 19.3003 23.5024 12.9928Z" fill="#FA320A"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.6598 3.43995C13.8824 3.14856 17.3987 3.41156 18.5253 4.90604C18.5929 4.99566 18.4977 5.16526 18.3887 5.11766C16.5315 4.30524 13.3809 6.93449 11.1793 5.55762C11.1958 6.05176 11.0993 8.46222 7.7038 8.60204C7.62363 8.60532 7.57952 8.52347 7.6302 8.46551C8.08431 7.94756 8.5427 6.63623 7.88355 5.93714C6.34566 7.3153 5.51193 7.75815 2.17404 6.85591C2.06479 6.82644 2.10204 6.65087 2.21825 6.60655C2.84913 6.36546 4.27837 5.30946 5.63054 4.844C5.88796 4.75547 6.14459 4.68675 6.39505 4.64682C4.90625 4.51377 4.23515 4.30674 3.2882 4.44954C3.18443 4.46517 3.11392 4.34438 3.17825 4.26152C4.45414 2.61807 6.80454 2.12174 8.2547 2.9948C7.36083 1.88722 6.66064 1.0039 6.66064 1.0039L8.31973 0.0615234C8.31973 0.0615234 9.00518 1.59294 9.5039 2.7075C10.7381 0.883996 13.0343 0.715698 14.0044 2.00951C14.062 2.08639 14.0019 2.19573 13.9058 2.19344C13.1161 2.17422 12.6814 2.89243 12.6484 3.43865L12.6598 3.43995Z" fill="#00912D"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_1029_262">
|
||||||
|
<rect width="24" height="24" fill="white"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,10 @@
|
|||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_1029_259)">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.4392 21.4361C16.9038 21.6742 15.9771 16.4845 14.1977 16.5215C13.4395 16.5374 12.8419 17.3301 13.1043 18.254C13.2487 18.7619 13.649 19.5067 13.9012 19.9689C14.7909 21.6 13.4756 23.4458 11.9364 23.6019C9.37865 23.8614 8.31171 22.3776 8.37771 20.8586C8.45192 19.1535 9.89771 17.4111 8.41486 16.6698C6.86086 15.8928 5.5976 18.931 4.11055 19.6091C2.76465 20.2229 0.896337 19.747 0.232126 18.2525C-0.2344 17.2023 -0.149558 15.1801 1.9276 14.4085C3.22507 13.9266 6.11644 15.0387 6.26476 13.6301C6.43571 12.0063 3.22728 11.8694 2.26128 11.48C0.552021 10.7911 -0.456821 9.31714 0.3336 7.73588C0.926653 6.54978 2.6716 6.06714 4.00349 6.58672C5.59907 7.20914 5.85518 8.86409 6.67265 9.5523C7.37686 10.1455 8.34065 10.2197 8.97097 9.81188C9.43581 9.51104 9.59055 8.8503 9.41518 8.24672C9.18255 7.44546 8.56518 6.94546 7.96286 6.45556C6.89097 5.5842 5.37771 4.83493 6.29307 2.45651C7.04339 0.507354 9.24402 0.437144 9.24402 0.437144C10.1183 0.338828 10.9013 0.602828 11.5393 1.17283C12.3922 1.93483 12.5583 2.95335 12.4156 4.03999C12.2852 5.03188 11.9341 5.90062 11.7511 6.88335C11.5387 8.0243 12.1484 9.17399 13.3081 9.21872C14.8335 9.27767 15.2909 8.10525 15.4775 7.36209C15.7508 6.27472 16.1094 5.26525 17.1185 4.62946C18.5669 3.71693 20.5787 3.91693 21.512 5.67072C22.2503 7.05841 22.0133 8.96872 20.8808 10.0119C20.3727 10.4798 19.7617 10.6447 19.1009 10.6494C18.1532 10.6561 17.2059 10.6328 16.3262 11.0763C15.7274 11.3781 15.4664 11.8699 15.4665 12.529C15.4665 13.1715 15.801 13.591 16.3429 13.8641C17.3635 14.3785 18.4901 14.4837 19.5927 14.6767C21.1915 14.9567 22.5973 15.5199 23.4998 17.0036C23.5079 17.0166 23.5158 17.0298 23.5235 17.043C24.56 18.7997 23.476 21.329 21.4392 21.4361Z" fill="#0AC855"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_1029_259">
|
||||||
|
<rect width="24" height="24" fill="white"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 25 KiB |
@@ -1,12 +1,21 @@
|
|||||||
<svg width="1395" height="522" viewBox="0 0 1395 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
<svg width="1302" height="522" viewBox="0 0 1302 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<rect width="1395" height="522" fill="white"/>
|
<rect width="1301.68" height="522" fill="white"/>
|
||||||
<rect width="322" height="322" transform="translate(100 100)" fill="white"/>
|
<rect width="322" height="322" transform="translate(100 100)" fill="white"/>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="url(#pattern0_1155_288)"/>
|
<mask id="mask0_1155_288" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="121" y="180" width="140" height="162">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="#D9D9D9"/>
|
||||||
|
</mask>
|
||||||
|
<g mask="url(#mask0_1155_288)">
|
||||||
|
<rect x="90.6289" y="180.5" width="170.37" height="161" fill="url(#pattern0_1155_288)"/>
|
||||||
|
</g>
|
||||||
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="#222222"/>
|
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="#222222"/>
|
||||||
<path d="M473.213 361V165.798H564.679C588.103 165.798 605.95 170.446 618.22 179.741C630.49 188.85 636.625 201.12 636.625 216.551C636.625 226.961 634.208 235.885 629.374 243.321C624.541 250.571 618.034 256.242 609.854 260.332C601.86 264.236 593.123 266.188 583.641 266.188L588.661 256.149C599.629 256.149 609.482 258.194 618.22 262.284C626.958 266.188 633.836 271.951 638.856 279.573C644.061 287.195 646.664 296.676 646.664 308.017C646.664 324.748 640.25 337.762 627.422 347.057C614.595 356.352 595.539 361 570.256 361H473.213ZM509.465 332.556H568.025C581.596 332.556 592.007 330.325 599.258 325.864C606.508 321.402 610.133 314.244 610.133 304.391C610.133 294.724 606.508 287.66 599.258 283.198C592.007 278.55 581.596 276.227 568.025 276.227H506.676V248.062H560.775C573.417 248.062 583.084 245.831 589.776 241.369C596.655 236.907 600.094 230.215 600.094 221.291C600.094 212.182 596.655 205.396 589.776 200.934C583.084 196.473 573.417 194.242 560.775 194.242H509.465V332.556ZM682.007 361V154.086H716.865V361H682.007ZM762.615 361V212.089H797.473V361H762.615ZM780.183 187.549C773.676 187.549 768.285 185.504 764.009 181.414C759.919 177.324 757.874 172.398 757.874 166.635C757.874 160.686 759.919 155.759 764.009 151.855C768.285 147.765 773.676 145.72 780.183 145.72C786.69 145.72 791.988 147.672 796.078 151.576C800.354 155.294 802.492 160.035 802.492 165.798C802.492 171.933 800.447 177.138 796.357 181.414C792.267 185.504 786.876 187.549 780.183 187.549ZM927.718 210.416C939.616 210.416 950.212 212.739 959.508 217.387C968.989 222.035 976.425 229.192 981.816 238.859C987.208 248.341 989.903 260.61 989.903 275.669V361H955.046V280.131C955.046 266.931 951.885 257.078 945.565 250.571C939.43 244.065 930.785 240.811 919.631 240.811C911.451 240.811 904.2 242.485 897.88 245.831C891.559 249.177 886.632 254.197 883.1 260.889C879.754 267.396 878.08 275.669 878.08 285.708V361H843.223V212.089H876.407V252.245L870.551 239.975C875.757 230.494 883.286 223.243 893.139 218.224C903.178 213.018 914.704 210.416 927.718 210.416ZM1062.57 327.816L1063.4 284.035L1141.2 212.089H1183.03L1116.94 278.457L1098.54 293.795L1062.57 327.816ZM1034.12 361V154.086H1068.98V361H1034.12ZM1146.5 361L1092.13 293.795L1114.16 265.909L1188.89 361H1146.5ZM1225.28 362.952C1218.96 362.952 1213.57 360.814 1209.11 356.538C1204.65 352.076 1202.42 346.499 1202.42 339.807C1202.42 332.742 1204.65 327.165 1209.11 323.075C1213.57 318.799 1218.96 316.661 1225.28 316.661C1231.6 316.661 1237 318.799 1241.46 323.075C1245.92 327.165 1248.15 332.742 1248.15 339.807C1248.15 346.499 1245.92 352.076 1241.46 356.538C1237 360.814 1231.6 362.952 1225.28 362.952Z" fill="#222222"/>
|
<path d="M694.794 368.28V161.366H729.652V368.28H694.794Z" fill="#222222"/>
|
||||||
|
<path d="M775.402 368.28V219.369H810.26V368.28H775.402ZM792.97 194.829C786.464 194.829 781.072 192.784 776.796 188.694C772.707 184.604 770.662 179.678 770.662 173.914C770.662 167.965 772.707 163.039 776.796 159.135C781.072 155.045 786.464 153 792.97 153C799.477 153 804.775 154.952 808.865 158.856C813.141 162.574 815.279 167.315 815.279 173.078C815.279 179.213 813.234 184.418 809.144 188.694C805.054 192.784 799.663 194.829 792.97 194.829Z" fill="#222222"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M486 368.28V173.078H577.466C600.89 173.078 618.737 177.726 631.007 187.021C643.277 196.13 649.412 208.4 649.412 223.83C649.412 234.241 646.995 243.165 642.162 250.601C637.625 257.407 631.613 262.82 624.128 266.841C626.493 267.616 628.786 268.524 631.007 269.563C639.745 273.468 646.623 279.231 651.643 286.853C656.848 294.475 659.451 303.956 659.451 315.297C659.451 332.028 653.037 345.042 640.21 354.337C627.382 363.632 608.327 368.28 583.043 368.28H486ZM580.812 339.836H522.252V283.506H580.812C594.384 283.506 604.794 285.83 612.045 290.478C619.295 294.94 622.92 302.004 622.92 311.671C622.92 321.524 619.295 328.682 612.045 333.144C604.794 337.605 594.384 339.836 580.812 339.836ZM602.563 248.649C595.871 253.111 586.204 255.342 573.562 255.342H522.252V201.522H573.562C586.204 201.522 595.871 203.753 602.563 208.214C609.442 212.676 612.881 219.462 612.881 228.571C612.881 237.495 609.442 244.187 602.563 248.649Z" fill="#222222"/>
|
||||||
|
<path d="M940.505 217.696C952.403 217.696 962.999 220.019 972.295 224.667C981.776 229.315 989.212 236.472 994.604 246.139C999.995 255.62 1002.69 267.89 1002.69 282.949V368.28H967.833V287.411C967.833 274.211 964.673 264.358 958.352 257.851C952.217 251.345 943.572 248.091 932.418 248.091C924.238 248.091 916.988 249.764 910.667 253.111C904.346 256.457 899.419 261.477 895.887 268.169C892.541 274.676 890.868 282.949 890.868 292.988V368.28H856.01V219.369H889.194V238.664C893.72 233.268 899.297 228.881 905.926 225.504C915.965 220.298 927.491 217.696 940.505 217.696Z" fill="#222222"/>
|
||||||
|
<path d="M1153.99 219.369H1195.82L1133.68 281.767L1201.68 368.28H1159.29L1107.69 304.511L1081.77 329.03V368.28H1046.91V161.366H1081.77V286.157L1153.99 219.369Z" fill="#222222"/>
|
||||||
<defs>
|
<defs>
|
||||||
<pattern id="pattern0_1155_288" patternContentUnits="objectBoundingBox" width="1" height="1">
|
<pattern id="pattern0_1155_288" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||||
<use xlink:href="#image0_1155_288" transform="matrix(0 -0.000244141 0.000281909 0 -0.0773502 1)"/>
|
<use xlink:href="#image0_1155_288" transform="matrix(0.000572484 0 0 0.000580984 -0.735848 -0.442641)"/>
|
||||||
</pattern>
|
</pattern>
|
||||||
<image id="image0_1155_288" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFx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yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
<image id="image0_1155_288" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFxnH2fy3R34lIMro5n+Qzbcgz35bLNfisXvhGXTXIHDqfcicsqSbRGkvEo7q/p8CiiT0J9VATDPo8m0rmkZjAZnslAlmM0+mToBG6trtV3uqT7tpnoOievpNfEyqvVS34pCWOdXT3ejSV5Dv2x4m/S+epjJTIVOHIOUo3FsSTZtX+d2qYk17sbM3il3saqqVXPRNbjZkytYe/X8UoSL3A+k8NLfJxrZcdUakxerYyYrwG0Nh2HpPWFXC+tVqGYpPeWjfMaTW1MfX66sXA/I73V/jW4JWGM/LGOU9dr7V9gzKgjPObOYfu3tk2FIrpnd2NqbXt7LY6qS5quHpFjJF+XJJ3si+dVz1OPY+XcIpEaVY5h5dxrWjt9POE+acBHGI35IGLjjqHdVebfrTEwMi9xTF5gMRqRHb2mYxBf0o3m67HWdLF55wnfbMOGztb4Zz3tGWDV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nswLrXFvGVl/eP4oJ7SH2YhjHdmo1ojfU/FaoXXS0GwNgtPbjXPSvGN1itmtxUL7KeLf2vRHvq2uvW8tr8Oa1Us2K/mv9r3aL+o7EmeG251jReRTvFbFLS8kRmTufZjGYU7ux8mvaeQM/aj/qC/uV+e5mutMjiiGH5dJOxvind3Sbfq4tt3BAcGaOWuE4qzkVNvJ60aulTQvNqcSC78IHsGq/SVOHlZpO3pmUbbT+xfDwn91XrPFfvlcW1fSHoP+6rx9hrO20fZsn78diwQvv/dwLGtE6z2JSYSTbItdcK/1OAsRNE4E80dvAkBEk5ySyY5cFLlW9s7hrSOvm7w+ZkJ3QJ2J5x+7zUit9T7B9XYUZLWhK7K0LQXxwzAzk3WYWcYx611iDWZGljAjc3InYVot6xG/V76zFs8MYlLXKdEnK/eZyH3OMR7Rmo3EG5kX3YeXTbQPEw0SJyX98nw0hlmrEBfplQWJAbQ+wKcmetMGxdIBqV8Z2Deel6CkPNtXG5LPj+VLedpIfhpWpW9wcK62j8QB9aGGm2Rbjf05aK9V93K3eLY3KOikDEzyzRmybxFBuKCeCO1W/QL+0qZkU8enRpM5JdYxWgbt2s038Mi6RP1Yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
||||||
</defs>
|
</defs>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 25 KiB |
@@ -1,12 +1,21 @@
|
|||||||
<svg width="1395" height="522" viewBox="0 0 1395 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
<svg width="1302" height="522" viewBox="0 0 1302 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<rect width="1395" height="522" fill="#222222"/>
|
<rect width="1302" height="522" fill="#222222"/>
|
||||||
<rect width="322" height="322" transform="translate(100 100)" fill="#222222"/>
|
<rect width="322" height="322" transform="translate(100 100)" fill="#222222"/>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="url(#pattern0_1178_275)"/>
|
<mask id="mask0_1178_275" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="121" y="180" width="140" height="162">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="#D9D9D9"/>
|
||||||
|
</mask>
|
||||||
|
<g mask="url(#mask0_1178_275)">
|
||||||
|
<rect x="90.6289" y="180.5" width="170.37" height="161" fill="url(#pattern0_1178_275)"/>
|
||||||
|
</g>
|
||||||
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="white"/>
|
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="white"/>
|
||||||
<path d="M473.213 361V165.798H564.679C588.103 165.798 605.95 170.446 618.22 179.741C630.49 188.85 636.625 201.12 636.625 216.551C636.625 226.961 634.208 235.885 629.374 243.321C624.541 250.571 618.034 256.242 609.854 260.332C601.86 264.236 593.123 266.188 583.641 266.188L588.661 256.149C599.629 256.149 609.482 258.194 618.22 262.284C626.958 266.188 633.836 271.951 638.856 279.573C644.061 287.195 646.664 296.676 646.664 308.017C646.664 324.748 640.25 337.762 627.422 347.057C614.595 356.352 595.539 361 570.256 361H473.213ZM509.465 332.556H568.025C581.596 332.556 592.007 330.325 599.258 325.864C606.508 321.402 610.133 314.244 610.133 304.391C610.133 294.724 606.508 287.66 599.258 283.198C592.007 278.55 581.596 276.227 568.025 276.227H506.676V248.062H560.775C573.417 248.062 583.084 245.831 589.776 241.369C596.655 236.907 600.094 230.215 600.094 221.291C600.094 212.182 596.655 205.396 589.776 200.934C583.084 196.473 573.417 194.242 560.775 194.242H509.465V332.556ZM682.007 361V154.086H716.865V361H682.007ZM762.615 361V212.089H797.473V361H762.615ZM780.183 187.549C773.676 187.549 768.285 185.504 764.009 181.414C759.919 177.324 757.874 172.398 757.874 166.635C757.874 160.686 759.919 155.759 764.009 151.855C768.285 147.765 773.676 145.72 780.183 145.72C786.69 145.72 791.988 147.672 796.078 151.576C800.354 155.294 802.492 160.035 802.492 165.798C802.492 171.933 800.447 177.138 796.357 181.414C792.267 185.504 786.876 187.549 780.183 187.549ZM927.718 210.416C939.616 210.416 950.212 212.739 959.508 217.387C968.989 222.035 976.425 229.192 981.816 238.859C987.208 248.341 989.903 260.61 989.903 275.669V361H955.046V280.131C955.046 266.931 951.885 257.078 945.565 250.571C939.43 244.065 930.785 240.811 919.631 240.811C911.451 240.811 904.2 242.485 897.88 245.831C891.559 249.177 886.632 254.197 883.1 260.889C879.754 267.396 878.08 275.669 878.08 285.708V361H843.223V212.089H876.407V252.245L870.551 239.975C875.757 230.494 883.286 223.243 893.139 218.224C903.178 213.018 914.704 210.416 927.718 210.416ZM1062.57 327.816L1063.4 284.035L1141.2 212.089H1183.03L1116.94 278.457L1098.54 293.795L1062.57 327.816ZM1034.12 361V154.086H1068.98V361H1034.12ZM1146.5 361L1092.13 293.795L1114.16 265.909L1188.89 361H1146.5ZM1225.28 362.952C1218.96 362.952 1213.57 360.814 1209.11 356.538C1204.65 352.076 1202.42 346.499 1202.42 339.807C1202.42 332.742 1204.65 327.165 1209.11 323.075C1213.57 318.799 1218.96 316.661 1225.28 316.661C1231.6 316.661 1237 318.799 1241.46 323.075C1245.92 327.165 1248.15 332.742 1248.15 339.807C1248.15 346.499 1245.92 352.076 1241.46 356.538C1237 360.814 1231.6 362.952 1225.28 362.952Z" fill="white"/>
|
<path d="M694.794 368.64V161.726H729.652V368.64H694.794Z" fill="white"/>
|
||||||
|
<path d="M775.402 368.64V219.729H810.26V368.64H775.402ZM792.97 195.189C786.464 195.189 781.072 193.144 776.796 189.054C772.707 184.964 770.662 180.037 770.662 174.274C770.662 168.325 772.707 163.399 776.796 159.495C781.072 155.405 786.464 153.36 792.97 153.36C799.477 153.36 804.775 155.312 808.865 159.216C813.141 162.934 815.279 167.675 815.279 173.438C815.279 179.573 813.234 184.778 809.144 189.054C805.054 193.144 799.663 195.189 792.97 195.189Z" fill="white"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M486 368.64V173.438H577.466C600.89 173.438 618.737 178.085 631.007 187.381C643.277 196.49 649.412 208.76 649.412 224.19C649.412 234.601 646.995 243.525 642.162 250.961C637.625 257.766 631.613 263.18 624.128 267.201C626.493 267.976 628.786 268.884 631.007 269.923C639.745 273.827 646.623 279.59 651.643 287.213C656.848 294.835 659.451 304.316 659.451 315.656C659.451 332.388 653.037 345.401 640.21 354.697C627.382 363.992 608.327 368.64 583.043 368.64H486ZM580.812 340.196H522.252V283.866H580.812C594.384 283.866 604.794 286.19 612.045 290.838C619.295 295.3 622.92 302.364 622.92 312.031C622.92 321.884 619.295 329.042 612.045 333.503C604.794 337.965 594.384 340.196 580.812 340.196ZM602.563 249.009C595.871 253.471 586.204 255.701 573.562 255.701H522.252V201.881H573.562C586.204 201.881 595.871 204.112 602.563 208.574C609.442 213.036 612.881 219.821 612.881 228.931C612.881 237.854 609.442 244.547 602.563 249.009Z" fill="white"/>
|
||||||
|
<path d="M940.505 218.055C952.403 218.055 962.999 220.379 972.295 225.027C981.776 229.675 989.212 236.832 994.604 246.499C999.995 255.98 1002.69 268.25 1002.69 283.309V368.64H967.833V287.77C967.833 274.571 964.673 264.718 958.352 258.211C952.217 251.704 943.572 248.451 932.418 248.451C924.238 248.451 916.988 250.124 910.667 253.471C904.346 256.817 899.419 261.836 895.887 268.529C892.541 275.036 890.868 283.309 890.868 293.348V368.64H856.01V219.729H889.194V239.024C893.72 233.627 899.297 229.241 905.926 225.863C915.965 220.658 927.491 218.055 940.505 218.055Z" fill="white"/>
|
||||||
|
<path d="M1153.99 219.729H1195.82L1133.68 282.127L1201.68 368.64H1159.29L1107.69 304.871L1081.77 329.39V368.64H1046.91V161.726H1081.77V286.517L1153.99 219.729Z" fill="white"/>
|
||||||
<defs>
|
<defs>
|
||||||
<pattern id="pattern0_1178_275" patternContentUnits="objectBoundingBox" width="1" height="1">
|
<pattern id="pattern0_1178_275" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||||
<use xlink:href="#image0_1178_275" transform="matrix(0 -0.000244141 0.000281909 0 -0.0773502 1)"/>
|
<use xlink:href="#image0_1178_275" transform="matrix(0.000572484 0 0 0.000580984 -0.735848 -0.442641)"/>
|
||||||
</pattern>
|
</pattern>
|
||||||
<image id="image0_1178_275" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFxnH2fy3R34lIMro5n+Qzbcgz35bLNfisXvhGXTXIHDqfcicsqSbRGkvEo7q/p8CiiT0J9VATDPo8m0rmkZjAZnslAlmM0+mToBG6trtV3uqT7tpnoOievpNfEyqvVS34pCWOdXT3ejSV5Dv2x4m/S+epjJTIVOHIOUo3FsSTZtX+d2qYk17sbM3il3saqqVXPRN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OefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
<image id="image0_1178_275" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFxnH2fy3R34lIMro5n+Qzbcgz35bLNfisXvhGXTXIHDqfcicsqSbRGkvEo7q/p8CiiT0J9VATDPo8m0rmkZjAZnslAlmM0+mToBG6trtV3uqT7tpnoOievpNfEyqvVS34pCWOdXT3ejSV5Dv2x4m/S+epjJTIVOHIOUo3FsSTZtX+d2qYk17sbM3il3saqqVXPRNbjZkytYe/X8UoSL3A+k8NLfJxrZcdUakxerYyYrwG0Nh2HpPWFXC+tVqGYpPeWjfMaTW1MfX66sXA/I73V/jW4JWGM/LGOU9dr7V9gzKgjPObOYfu3tk2FIrpnd2NqbXt7LY6qS5quHpFjJF+XJJ3si+dVz1OPY+XcIpEaVY5h5dxrWjt9POE+acBHGI35IGLjjqHdVebfrTEwMi9xTF5gMRqRHb2mYxBf0o3m67HWdLF55wnfbMOGztb4Zz3tGWDVY8xOy4aH7MAz0pAdNjcMdoRdT+2IXO04J80S74cYJ8zujv2gRZvpB3l8V+3HudMQJ9tO045z0i3Hah/fH+b6BtkftMitHdLLGrLPKlJP3acetXytmLo+Fsn3Z0c/4726PthaHxVeYDHvEcVcE2EeRZqbtOWd0RxmCozOSQwTs17J03tP7sXy3kMnxxvD10fj/tg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uE4qzkVNvJ60aulTQvNqcSC78IHsGq/SVOHlZpO3pmUbbT+xfDwn91XrPFfvlcW1fSHoP+6rx9hrO20fZsn78diwQvv/dwLGtE6z2JSYSTbItdcK/1OAsRNE4E80dvAkBEk5ySyY5cFLlW9s7hrSOvm7w+ZkJ3QJ2J5x+7zUit9T7B9XYUZLWhK7K0LQXxwzAzk3WYWcYx611iDWZGljAjc3InYVot6xG/V76zFs8MYlLXKdEnK/eZyH3OMR7Rmo3EG5kX3YeXTbQPEw0SJyX98nw0hlmrEBfplQWJAbQ+wKcmetMGxdIBqV8Z2Deel6CkPNtXG5LPj+VLedpIfhpWpW9wcK62j8QB9aGGm2Rbjf05aK9V93K3eLY3KOikDEzyzRmybxFBuKCeCO1W/QL+0qZkU8enRpM5JdYxWgbt2s038Mi6RP1Yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
|
||||||
</defs>
|
</defs>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
@@ -0,0 +1,171 @@
|
|||||||
|
import useDebounce from "@/utils/hooks/useDebounce";
|
||||||
|
import React, {
|
||||||
|
type ReactNode,
|
||||||
|
useCallback,
|
||||||
|
useEffect,
|
||||||
|
useRef,
|
||||||
|
useState,
|
||||||
|
} from "react";
|
||||||
|
|
||||||
|
import { useSpring } from "@react-spring/web";
|
||||||
|
import { debounce } from "lodash";
|
||||||
|
|
||||||
|
import "./style.scss";
|
||||||
|
import { Button, IconButton } from "@mui/material";
|
||||||
|
|
||||||
|
enum Direction {
|
||||||
|
RIGHT = 0,
|
||||||
|
LEFT = 1,
|
||||||
|
}
|
||||||
|
|
||||||
|
const Slider = ({
|
||||||
|
content,
|
||||||
|
currentSlide,
|
||||||
|
}: { content: ReactNode[]; currentSlide: number }) => {
|
||||||
|
const containerRef = useRef<HTMLDivElement>(null);
|
||||||
|
const [scrollPos, setScrollPos] = useState({ isStart: true, isEnd: false });
|
||||||
|
|
||||||
|
const handleScroll = useCallback(() => {
|
||||||
|
const scrollWidth = containerRef.current?.scrollWidth ?? 0;
|
||||||
|
const clientWidth =
|
||||||
|
containerRef.current?.getBoundingClientRect().width ?? 0;
|
||||||
|
const scrolledPostion = containerRef.current?.scrollLeft ?? 0;
|
||||||
|
if (content.length === 0) {
|
||||||
|
setScrollPos({ isStart: true, isEnd: true });
|
||||||
|
} else if (clientWidth >= scrollWidth) {
|
||||||
|
setScrollPos({ isStart: true, isEnd: true });
|
||||||
|
} else if (
|
||||||
|
scrolledPostion >=
|
||||||
|
(containerRef.current?.scrollWidth ?? 0) - clientWidth
|
||||||
|
) {
|
||||||
|
setScrollPos({ isStart: false, isEnd: true });
|
||||||
|
} else if (scrolledPostion > 0) {
|
||||||
|
setScrollPos({ isStart: false, isEnd: false });
|
||||||
|
} else {
|
||||||
|
setScrollPos({ isStart: true, isEnd: false });
|
||||||
|
}
|
||||||
|
}, [content]);
|
||||||
|
|
||||||
|
const debouncedScroll = useCallback(
|
||||||
|
() => debounce(handleScroll, 50),
|
||||||
|
[handleScroll],
|
||||||
|
);
|
||||||
|
useEffect(() => {
|
||||||
|
const handleResize = () => {
|
||||||
|
debouncedScroll();
|
||||||
|
};
|
||||||
|
window.addEventListener("resize", handleResize, { passive: true });
|
||||||
|
return () => window.removeEventListener("resize", handleResize);
|
||||||
|
}, [debouncedScroll]);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
handleScroll();
|
||||||
|
}, [handleScroll, content]);
|
||||||
|
|
||||||
|
const onScroll = () => {
|
||||||
|
debouncedScroll();
|
||||||
|
};
|
||||||
|
|
||||||
|
const [, setX] = useSpring(() => ({
|
||||||
|
from: { x: 0 },
|
||||||
|
to: { x: 0 },
|
||||||
|
onChange: (results) => {
|
||||||
|
if (containerRef.current) {
|
||||||
|
containerRef.current.scrollLeft = results.value.x;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}));
|
||||||
|
|
||||||
|
const slide = (direction: Direction) => {
|
||||||
|
const clientWidth =
|
||||||
|
containerRef.current?.getBoundingClientRect().width ?? 0;
|
||||||
|
const cardWidth =
|
||||||
|
containerRef.current?.firstElementChild?.getBoundingClientRect().width ??
|
||||||
|
0;
|
||||||
|
const scrollPosition = containerRef.current?.scrollLeft ?? 0;
|
||||||
|
const visibleItems = Math.floor(clientWidth / cardWidth);
|
||||||
|
const scrollOffset = scrollPosition % cardWidth;
|
||||||
|
|
||||||
|
if (direction === Direction.LEFT) {
|
||||||
|
const newX = Math.max(
|
||||||
|
scrollPosition - scrollOffset - visibleItems * cardWidth,
|
||||||
|
0,
|
||||||
|
);
|
||||||
|
setX.start({
|
||||||
|
from: { x: scrollPosition },
|
||||||
|
to: { x: newX },
|
||||||
|
onChange: (results) => {
|
||||||
|
if (containerRef.current) {
|
||||||
|
containerRef.current.scrollLeft = results.value.x;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
reset: true,
|
||||||
|
config: { friction: 60, tension: 1000, velocity: 2 },
|
||||||
|
});
|
||||||
|
|
||||||
|
if (newX === 0) {
|
||||||
|
setScrollPos({ isStart: true, isEnd: false });
|
||||||
|
} else {
|
||||||
|
setScrollPos({ isStart: false, isEnd: false });
|
||||||
|
}
|
||||||
|
} else if (direction === Direction.RIGHT) {
|
||||||
|
const newX = Math.min(
|
||||||
|
scrollPosition - scrollOffset + visibleItems * cardWidth,
|
||||||
|
containerRef.current?.scrollWidth ?? 0 - clientWidth,
|
||||||
|
);
|
||||||
|
setX.start({
|
||||||
|
from: { x: scrollPosition },
|
||||||
|
to: { x: newX },
|
||||||
|
onChange: (results) => {
|
||||||
|
if (containerRef.current) {
|
||||||
|
containerRef.current.scrollLeft = results.value.x;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
reset: true,
|
||||||
|
config: { friction: 60, tension: 500, velocity: 2 },
|
||||||
|
});
|
||||||
|
|
||||||
|
if (newX >= (containerRef.current?.scrollWidth ?? 0) - clientWidth) {
|
||||||
|
setScrollPos({ isStart: false, isEnd: true });
|
||||||
|
} else {
|
||||||
|
setScrollPos({ isStart: false, isEnd: false });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="slider">
|
||||||
|
<IconButton
|
||||||
|
className="slider-button left"
|
||||||
|
onClick={() => slide(Direction.LEFT)}
|
||||||
|
disabled={scrollPos.isStart}
|
||||||
|
variant="contained"
|
||||||
|
>
|
||||||
|
<span className="material-symbols-rounded">chevron_left</span>
|
||||||
|
</IconButton>
|
||||||
|
<div className="slider-track" ref={containerRef} onScroll={onScroll}>
|
||||||
|
{content?.map((item, index) => (
|
||||||
|
<div
|
||||||
|
key={index}
|
||||||
|
className={
|
||||||
|
currentSlide === index
|
||||||
|
? "slider-track-item active"
|
||||||
|
: "slider-track-item"
|
||||||
|
}
|
||||||
|
>
|
||||||
|
{item}
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
<IconButton
|
||||||
|
className="slider-button right"
|
||||||
|
onClick={() => slide(Direction.RIGHT)}
|
||||||
|
disabled={scrollPos.isEnd}
|
||||||
|
variant="contained"
|
||||||
|
>
|
||||||
|
<span className="material-symbols-rounded">chevron_right</span>
|
||||||
|
</IconButton>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
export default Slider;
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
.slider {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&-track {
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: nowrap;
|
||||||
|
position: relative;
|
||||||
|
overscroll-behavior-x: contain;
|
||||||
|
margin: 0.5em 1em;
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-item {
|
||||||
|
display: inline-block;
|
||||||
|
// align-self: top;
|
||||||
|
padding: 0.5em 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&-button {
|
||||||
|
position: absolute !important;
|
||||||
|
bottom: 1.3em;
|
||||||
|
|
||||||
|
&.left {
|
||||||
|
left: -1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.right {
|
||||||
|
right: -1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,47 +1,28 @@
|
|||||||
import type React from "react";
|
import React, { type ReactNode } from "react";
|
||||||
import { useEffect, useRef, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
|
|
||||||
import { relaunch } from "@tauri-apps/api/process";
|
|
||||||
|
|
||||||
import MuiAppBar from "@mui/material/AppBar";
|
import MuiAppBar from "@mui/material/AppBar";
|
||||||
import Avatar from "@mui/material/Avatar";
|
import Avatar from "@mui/material/Avatar";
|
||||||
import Button from "@mui/material/Button";
|
|
||||||
import Grow from "@mui/material/Grow";
|
|
||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
import ListItemIcon from "@mui/material/ListItemIcon";
|
import ListItemIcon from "@mui/material/ListItemIcon";
|
||||||
import Menu from "@mui/material/Menu";
|
import Menu from "@mui/material/Menu";
|
||||||
import MenuItem from "@mui/material/MenuItem";
|
import MenuItem from "@mui/material/MenuItem";
|
||||||
import Paper from "@mui/material/Paper";
|
|
||||||
import Popper from "@mui/material/Popper";
|
|
||||||
import Toolbar from "@mui/material/Toolbar";
|
|
||||||
import Typography from "@mui/material/Typography";
|
|
||||||
import useScrollTrigger from "@mui/material/useScrollTrigger";
|
import useScrollTrigger from "@mui/material/useScrollTrigger";
|
||||||
|
|
||||||
import { red } from "@mui/material/colors";
|
import { Link, useLocation, useNavigate } from "@tanstack/react-router";
|
||||||
|
|
||||||
import {
|
|
||||||
Link,
|
|
||||||
useLocation,
|
|
||||||
useNavigate,
|
|
||||||
useRouteContext,
|
|
||||||
} from "@tanstack/react-router";
|
|
||||||
|
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import { getUserViewsApi } from "@jellyfin/sdk/lib/utils/api/user-views-api";
|
import { getUserViewsApi } from "@jellyfin/sdk/lib/utils/api/user-views-api";
|
||||||
|
|
||||||
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
||||||
|
|
||||||
import { delServer } from "@/utils/storage/servers";
|
|
||||||
import { delUser } from "@/utils/storage/user";
|
import { delUser } from "@/utils/storage/user";
|
||||||
import { useDrawerStore } from "@/utils/store/drawer";
|
|
||||||
import "./appBar.scss";
|
import "./appBar.scss";
|
||||||
|
|
||||||
import { EventEmitter as event } from "@/eventEmitter";
|
|
||||||
|
|
||||||
import { getTypeIcon } from "../utils/iconsCollection";
|
import { getTypeIcon } from "../utils/iconsCollection";
|
||||||
|
|
||||||
import { useApiInContext } from "@/utils/store/api";
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
import useSettingsStore, {
|
import {
|
||||||
setSettingsDialogOpen,
|
setSettingsDialogOpen,
|
||||||
setSettingsTabValue,
|
setSettingsTabValue,
|
||||||
} from "@/utils/store/settings";
|
} from "@/utils/store/settings";
|
||||||
@@ -56,7 +37,7 @@ import {
|
|||||||
import BackButton from "../buttons/backButton";
|
import BackButton from "../buttons/backButton";
|
||||||
|
|
||||||
interface ListItemLinkProps {
|
interface ListItemLinkProps {
|
||||||
icon?: React.ReactElement;
|
icon?: ReactNode;
|
||||||
primary: string;
|
primary: string;
|
||||||
to: string;
|
to: string;
|
||||||
}
|
}
|
||||||
@@ -102,7 +83,8 @@ export const AppBar = () => {
|
|||||||
const usr = await getUserApi(api).getCurrentUser();
|
const usr = await getUserApi(api).getCurrentUser();
|
||||||
return usr.data;
|
return usr.data;
|
||||||
},
|
},
|
||||||
enabled: display,
|
enabled: display && Boolean(api?.accessToken),
|
||||||
|
throwOnError: true,
|
||||||
});
|
});
|
||||||
const libraries = useQuery({
|
const libraries = useQuery({
|
||||||
queryKey: ["libraries"],
|
queryKey: ["libraries"],
|
||||||
@@ -137,10 +119,9 @@ export const AppBar = () => {
|
|||||||
await api.logout();
|
await api.logout();
|
||||||
delUser();
|
delUser();
|
||||||
sessionStorage.removeItem("accessToken");
|
sessionStorage.removeItem("accessToken");
|
||||||
event.emit("create-jellyfin-api", api.basePath);
|
|
||||||
queryClient.clear();
|
queryClient.clear();
|
||||||
setAnchorEl(null);
|
setAnchorEl(null);
|
||||||
navigate("/login/index");
|
navigate({ to: "/login" });
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -148,7 +129,7 @@ export const AppBar = () => {
|
|||||||
location.pathname.includes("login") ||
|
location.pathname.includes("login") ||
|
||||||
location.pathname.includes("setup") ||
|
location.pathname.includes("setup") ||
|
||||||
location.pathname.includes("server") ||
|
location.pathname.includes("server") ||
|
||||||
location.pathname.includes("player") ||
|
location.pathname === "/player" ||
|
||||||
location.pathname.includes("error") ||
|
location.pathname.includes("error") ||
|
||||||
location.pathname === "/"
|
location.pathname === "/"
|
||||||
) {
|
) {
|
||||||
@@ -156,7 +137,6 @@ export const AppBar = () => {
|
|||||||
} else {
|
} else {
|
||||||
setDisplay(true);
|
setDisplay(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
}, [location]);
|
}, [location]);
|
||||||
|
|
||||||
const [showDrawer, setShowDrawer] = useState(false);
|
const [showDrawer, setShowDrawer] = useState(false);
|
||||||
@@ -185,7 +165,7 @@ export const AppBar = () => {
|
|||||||
<div className="material-symbols-rounded">menu</div>
|
<div className="material-symbols-rounded">menu</div>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
<BackButton />
|
<BackButton />
|
||||||
<IconButton onClick={() => navigate({ to: "/home/" })}>
|
<IconButton onClick={() => navigate({ to: "/home" })}>
|
||||||
<div
|
<div
|
||||||
className={
|
className={
|
||||||
location.pathname === "/home"
|
location.pathname === "/home"
|
||||||
@@ -208,7 +188,10 @@ export const AppBar = () => {
|
|||||||
<IconButton sx={{ p: 0 }} onClick={handleMenuOpen}>
|
<IconButton sx={{ p: 0 }} onClick={handleMenuOpen}>
|
||||||
{user.isSuccess &&
|
{user.isSuccess &&
|
||||||
(user.data.PrimaryImageTag === undefined ? (
|
(user.data.PrimaryImageTag === undefined ? (
|
||||||
<Avatar className="appBar-avatar" alt={user.data.Name}>
|
<Avatar
|
||||||
|
className="appBar-avatar"
|
||||||
|
alt={user.data.Name ?? "image"}
|
||||||
|
>
|
||||||
<span className="material-symbols-rounded appBar-avatar-icon">
|
<span className="material-symbols-rounded appBar-avatar-icon">
|
||||||
account_circle
|
account_circle
|
||||||
</span>
|
</span>
|
||||||
@@ -217,7 +200,7 @@ export const AppBar = () => {
|
|||||||
<Avatar
|
<Avatar
|
||||||
className="appBar-avatar"
|
className="appBar-avatar"
|
||||||
src={`${api.basePath}/Users/${user.data.Id}/Images/Primary`}
|
src={`${api.basePath}/Users/${user.data.Id}/Images/Primary`}
|
||||||
alt={user.data.Name}
|
alt={user.data.Name ?? "image"}
|
||||||
>
|
>
|
||||||
<span className="material-symbols-rounded appBar-avatar-icon">
|
<span className="material-symbols-rounded appBar-avatar-icon">
|
||||||
account_circle
|
account_circle
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import {
|
|||||||
type BaseItemDtoQueryResult,
|
type BaseItemDtoQueryResult,
|
||||||
BaseItemKind,
|
BaseItemKind,
|
||||||
ItemFields,
|
ItemFields,
|
||||||
|
MediaProtocol,
|
||||||
type PlaybackInfoResponse,
|
type PlaybackInfoResponse,
|
||||||
SortOrder,
|
SortOrder,
|
||||||
type UserItemDataDto,
|
type UserItemDataDto,
|
||||||
@@ -33,8 +34,10 @@ import { playItem, usePlaybackDataLoadStore } from "@/utils/store/playback";
|
|||||||
|
|
||||||
import type PlayResult from "@//utils/types/playResult";
|
import type PlayResult from "@//utils/types/playResult";
|
||||||
import { getRuntimeCompact } from "@/utils/date/time";
|
import { getRuntimeCompact } from "@/utils/date/time";
|
||||||
|
import getSubtitle from "@/utils/methods/getSubtitles";
|
||||||
import playbackProfile from "@/utils/playback-profiles";
|
import playbackProfile from "@/utils/playback-profiles";
|
||||||
import { useApiInContext } from "@/utils/store/api";
|
import { axiosClient, useApiInContext } from "@/utils/store/api";
|
||||||
|
import type IntroMediaInfo from "@/utils/types/introMediaInfo";
|
||||||
import { getMediaInfoApi } from "@jellyfin/sdk/lib/utils/api/media-info-api";
|
import { getMediaInfoApi } from "@jellyfin/sdk/lib/utils/api/media-info-api";
|
||||||
import type { SxProps } from "@mui/material";
|
import type { SxProps } from "@mui/material";
|
||||||
import type { AxiosResponse } from "axios";
|
import type { AxiosResponse } from "axios";
|
||||||
@@ -93,39 +96,71 @@ const PlayButton = ({
|
|||||||
setPlaybackDataLoading(true);
|
setPlaybackDataLoading(true);
|
||||||
let result: undefined | AxiosResponse<BaseItemDtoQueryResult, any>;
|
let result: undefined | AxiosResponse<BaseItemDtoQueryResult, any>;
|
||||||
let mediaSource: undefined | AxiosResponse<PlaybackInfoResponse, any>;
|
let mediaSource: undefined | AxiosResponse<PlaybackInfoResponse, any>;
|
||||||
|
let introInfo: undefined | AxiosResponse<IntroMediaInfo, any>;
|
||||||
|
const indexNumber = item.IndexNumber ? item.IndexNumber - 1 : 0;
|
||||||
if (playlistItem) {
|
if (playlistItem) {
|
||||||
result = await getPlaylistsApi(api).getPlaylistItems({
|
result = await getPlaylistsApi(api).getPlaylistItems({
|
||||||
userId: userId,
|
userId: userId,
|
||||||
playlistId: playlistItemId,
|
playlistId: playlistItemId,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
console.log(itemType);
|
||||||
switch (itemType) {
|
switch (itemType) {
|
||||||
case BaseItemKind.Episode:
|
case BaseItemKind.Episode:
|
||||||
result = await getTvShowsApi(api).getEpisodes({
|
result = await getTvShowsApi(api).getEpisodes({
|
||||||
seriesId: item.SeriesId,
|
seriesId: item.SeriesId,
|
||||||
fields: [ItemFields.MediaSources, ItemFields.MediaStreams],
|
fields: [
|
||||||
|
ItemFields.MediaSources,
|
||||||
|
ItemFields.MediaStreams,
|
||||||
|
ItemFields.Overview,
|
||||||
|
ItemFields.Chapters,
|
||||||
|
ItemFields.Trickplay,
|
||||||
|
],
|
||||||
enableUserData: true,
|
enableUserData: true,
|
||||||
userId: userId,
|
userId: userId,
|
||||||
|
seasonId: item.SeasonId,
|
||||||
startItemId: item.Id,
|
startItemId: item.Id,
|
||||||
});
|
});
|
||||||
mediaSource = await getMediaInfoApi(api).getPostedPlaybackInfo({
|
mediaSource = await getMediaInfoApi(api).getPostedPlaybackInfo({
|
||||||
audioStreamIndex: currentAudioTrack,
|
audioStreamIndex: currentAudioTrack,
|
||||||
subtitleStreamIndex:
|
subtitleStreamIndex:
|
||||||
currentSubTrack === "nosub" ? -1 : currentSubTrack,
|
currentSubTrack === "nosub" ? -1 : currentSubTrack,
|
||||||
itemId: result.data.Items[0].Id,
|
itemId: result.data.Items?.[indexNumber].Id,
|
||||||
startTimeTicks:
|
startTimeTicks:
|
||||||
result.data.Items[0].UserData?.PlaybackPositionTicks,
|
result.data.Items?.[indexNumber].UserData
|
||||||
|
?.PlaybackPositionTicks,
|
||||||
userId: userId,
|
userId: userId,
|
||||||
mediaSourceId: result.data.Items[0].MediaSources[0].Id,
|
mediaSourceId:
|
||||||
|
result.data.Items?.[indexNumber].MediaSources?.[0].Id,
|
||||||
playbackInfoDto: {
|
playbackInfoDto: {
|
||||||
DeviceProfile: playbackProfile,
|
DeviceProfile: playbackProfile,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
try {
|
||||||
|
introInfo = (
|
||||||
|
await axiosClient.get(
|
||||||
|
`${api.basePath}/Episode/${result.data.Items?.[0]?.Id}/IntroSkipperSegments`,
|
||||||
|
{
|
||||||
|
headers: {
|
||||||
|
Authorization: `MediaBrowser Token=${api.accessToken}`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
)
|
||||||
|
)?.data;
|
||||||
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case BaseItemKind.Series:
|
case BaseItemKind.Series:
|
||||||
result = await getTvShowsApi(api).getEpisodes({
|
result = await getTvShowsApi(api).getEpisodes({
|
||||||
seriesId: itemId,
|
seriesId: itemId,
|
||||||
fields: [ItemFields.MediaSources, ItemFields.MediaStreams],
|
fields: [
|
||||||
|
ItemFields.MediaSources,
|
||||||
|
ItemFields.MediaStreams,
|
||||||
|
ItemFields.Overview,
|
||||||
|
ItemFields.Chapters,
|
||||||
|
ItemFields.Trickplay,
|
||||||
|
],
|
||||||
enableUserData: true,
|
enableUserData: true,
|
||||||
userId: userId,
|
userId: userId,
|
||||||
});
|
});
|
||||||
@@ -133,15 +168,29 @@ const PlayButton = ({
|
|||||||
audioStreamIndex: currentAudioTrack,
|
audioStreamIndex: currentAudioTrack,
|
||||||
subtitleStreamIndex:
|
subtitleStreamIndex:
|
||||||
currentSubTrack === "nosub" ? -1 : currentSubTrack,
|
currentSubTrack === "nosub" ? -1 : currentSubTrack,
|
||||||
itemId: result.data.Items[0].Id,
|
itemId: result.data.Items?.[0].Id,
|
||||||
startTimeTicks:
|
startTimeTicks:
|
||||||
result.data.Items[0].UserData?.PlaybackPositionTicks,
|
result.data.Items?.[0].UserData?.PlaybackPositionTicks,
|
||||||
userId: userId,
|
userId: userId,
|
||||||
mediaSourceId: result.data.Items[0].MediaSources[0].Id,
|
mediaSourceId: result.data.Items?.[0].MediaSources?.[0].Id,
|
||||||
playbackInfoDto: {
|
playbackInfoDto: {
|
||||||
DeviceProfile: playbackProfile,
|
DeviceProfile: playbackProfile,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
try {
|
||||||
|
introInfo = (
|
||||||
|
await axiosClient.get(
|
||||||
|
`${api.basePath}/Episode/${result.data.Items?.[0]?.Id}/IntroSkipperSegments`,
|
||||||
|
{
|
||||||
|
headers: {
|
||||||
|
Authorization: `MediaBrowser Token=${api.accessToken}`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
)
|
||||||
|
)?.data;
|
||||||
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case BaseItemKind.Playlist:
|
case BaseItemKind.Playlist:
|
||||||
result = await getPlaylistsApi(api).getPlaylistItems({
|
result = await getPlaylistsApi(api).getPlaylistItems({
|
||||||
@@ -173,7 +222,12 @@ const PlayButton = ({
|
|||||||
result = await getItemsApi(api).getItems({
|
result = await getItemsApi(api).getItems({
|
||||||
parentId: itemId,
|
parentId: itemId,
|
||||||
userId,
|
userId,
|
||||||
fields: [ItemFields.MediaSources, ItemFields.MediaStreams],
|
fields: [
|
||||||
|
ItemFields.MediaSources,
|
||||||
|
ItemFields.MediaStreams,
|
||||||
|
ItemFields.Chapters,
|
||||||
|
ItemFields.Trickplay,
|
||||||
|
],
|
||||||
sortOrder: [SortOrder.Ascending],
|
sortOrder: [SortOrder.Ascending],
|
||||||
sortBy: ["IndexNumber"],
|
sortBy: ["IndexNumber"],
|
||||||
});
|
});
|
||||||
@@ -182,7 +236,12 @@ const PlayButton = ({
|
|||||||
result = await getItemsApi(api).getItems({
|
result = await getItemsApi(api).getItems({
|
||||||
ids: [itemId],
|
ids: [itemId],
|
||||||
userId: userId,
|
userId: userId,
|
||||||
fields: [ItemFields.MediaSources, ItemFields.MediaStreams],
|
fields: [
|
||||||
|
ItemFields.MediaSources,
|
||||||
|
ItemFields.MediaStreams,
|
||||||
|
ItemFields.Chapters,
|
||||||
|
ItemFields.Trickplay,
|
||||||
|
],
|
||||||
sortOrder: [SortOrder.Ascending],
|
sortOrder: [SortOrder.Ascending],
|
||||||
sortBy: ["IndexNumber"],
|
sortBy: ["IndexNumber"],
|
||||||
});
|
});
|
||||||
@@ -192,9 +251,9 @@ const PlayButton = ({
|
|||||||
currentSubTrack === "nosub" ? -1 : currentSubTrack,
|
currentSubTrack === "nosub" ? -1 : currentSubTrack,
|
||||||
itemId: itemId,
|
itemId: itemId,
|
||||||
startTimeTicks:
|
startTimeTicks:
|
||||||
result.data.Items[0].UserData.PlaybackPositionTicks,
|
result.data.Items?.[0].UserData?.PlaybackPositionTicks,
|
||||||
userId: userId,
|
userId: userId,
|
||||||
mediaSourceId: result.data.Items[0].MediaSources[0].Id,
|
mediaSourceId: result.data.Items?.[0].MediaSources?.[0].Id,
|
||||||
playbackInfoDto: {
|
playbackInfoDto: {
|
||||||
DeviceProfile: playbackProfile,
|
DeviceProfile: playbackProfile,
|
||||||
},
|
},
|
||||||
@@ -202,7 +261,7 @@ const PlayButton = ({
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return { item: result?.data, mediaSource: mediaSource?.data };
|
return { item: result?.data, mediaSource: mediaSource?.data, introInfo };
|
||||||
},
|
},
|
||||||
onSuccess: (result: PlayResult | null) => {
|
onSuccess: (result: PlayResult | null) => {
|
||||||
if (trackIndex) {
|
if (trackIndex) {
|
||||||
@@ -221,53 +280,41 @@ const PlayButton = ({
|
|||||||
playAudio(playbackUrl, result?.item.Items[0], undefined);
|
playAudio(playbackUrl, result?.item.Items[0], undefined);
|
||||||
setQueue(result?.item.Items ?? [], 0);
|
setQueue(result?.item.Items ?? [], 0);
|
||||||
} else {
|
} else {
|
||||||
|
const episodeIndex = item.IndexNumber ? item.IndexNumber - 1 : 0;
|
||||||
// Creates a queue containing all Episodes for a particular season(series) or collection of movies
|
// Creates a queue containing all Episodes for a particular season(series) or collection of movies
|
||||||
const queue = result?.item.Items;
|
const queue = result?.item.Items;
|
||||||
|
|
||||||
let itemName = item.Name;
|
let itemName = item.Name;
|
||||||
let episodeTitle = "";
|
let episodeTitle = "";
|
||||||
if (result?.item.Items[0].SeriesId) {
|
if (result?.item.Items?.[episodeIndex].SeriesId) {
|
||||||
itemName = result?.item.Items[0].SeriesName;
|
itemName = result?.item.Items[episodeIndex].SeriesName;
|
||||||
episodeTitle = `S${result?.item.Items[0].ParentIndexNumber ?? 0}:E${
|
episodeTitle = `S${result?.item.Items[episodeIndex].ParentIndexNumber ?? 0}:E${
|
||||||
result?.item.Items[0].IndexNumber ?? 0
|
result?.item.Items[episodeIndex].IndexNumber ?? 0
|
||||||
} ${result?.item.Items[0].Name}`;
|
} ${result?.item.Items[episodeIndex].Name}`;
|
||||||
}
|
}
|
||||||
|
// Subtitle
|
||||||
// Select correct subtitle track, this is useful if item is played with playbutton from card since that does not provide coorect default subtitle track index.
|
const subtitle = getSubtitle(
|
||||||
let selectedSubtitleTrack: number | "nosub" | undefined =
|
currentSubTrack,
|
||||||
currentSubTrack;
|
result?.mediaSource.MediaSources?.[0].MediaStreams,
|
||||||
const subtitles =
|
|
||||||
result?.mediaSource.MediaSources[0].MediaStreams?.filter(
|
|
||||||
(value) => value.Type === "Subtitle",
|
|
||||||
);
|
);
|
||||||
let enableSubtitles = true;
|
// URL generation
|
||||||
if (currentSubTrack === "nosub") {
|
|
||||||
enableSubtitles = false;
|
|
||||||
selectedSubtitleTrack = "nosub";
|
|
||||||
} else if (!currentSubTrack && subtitles?.length > 0) {
|
|
||||||
selectedSubtitleTrack = subtitles[0].Index;
|
|
||||||
} else {
|
|
||||||
enableSubtitles = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
const urlOptions = {
|
const urlOptions = {
|
||||||
Static: true,
|
Static: true,
|
||||||
tag: result?.mediaSource.MediaSources[0].ETag,
|
tag: result?.mediaSource.MediaSources?.[0].ETag,
|
||||||
mediaSourceId: result?.mediaSource.MediaSources[0].Id,
|
mediaSourceId: result?.mediaSource.MediaSources?.[0].Id,
|
||||||
deviceId: api?.deviceInfo.id,
|
deviceId: api?.deviceInfo.id,
|
||||||
api_key: api?.accessToken,
|
api_key: api?.accessToken,
|
||||||
};
|
};
|
||||||
|
|
||||||
const urlParams = new URLSearchParams(urlOptions).toString();
|
const urlParams = new URLSearchParams(urlOptions).toString();
|
||||||
let playbackUrl = `${api?.basePath}/Videos/${result?.mediaSource.MediaSources[0].Id}/stream.${result?.mediaSource.MediaSources[0].Container}?${urlParams}`;
|
let playbackUrl = `${api?.basePath}/Videos/${result?.mediaSource.MediaSources?.[0].Id}/stream.${result?.mediaSource.MediaSources?.[0].Container}?${urlParams}`;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
result?.mediaSource.MediaSources[0].SupportsTranscoding &&
|
result?.mediaSource.MediaSources?.[0].SupportsTranscoding &&
|
||||||
result?.mediaSource.MediaSources[0].TranscodingUrl
|
result?.mediaSource.MediaSources?.[0].TranscodingUrl
|
||||||
) {
|
) {
|
||||||
playbackUrl = `${api.basePath}${result.mediaSource.MediaSources[0].TranscodingUrl}`;
|
playbackUrl = `${api.basePath}${result.mediaSource.MediaSources[0].TranscodingUrl}`;
|
||||||
} else if (result?.mediaSource.MediaSources[0].hlsStream) {
|
}
|
||||||
playbackUrl = result.mediaSource.MediaSources[0].hlsStream;
|
let playItemValue = item;
|
||||||
|
if (itemType === BaseItemKind.Movie) {
|
||||||
|
playItemValue = result?.item.Items?.[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
playItem(
|
playItem(
|
||||||
@@ -275,19 +322,18 @@ const PlayButton = ({
|
|||||||
episodeTitle,
|
episodeTitle,
|
||||||
currentVideoTrack,
|
currentVideoTrack,
|
||||||
currentAudioTrack,
|
currentAudioTrack,
|
||||||
selectedSubtitleTrack,
|
result?.mediaSource?.MediaSources?.[0].Container ?? "mkv",
|
||||||
result?.mediaSource?.MediaSources[0].Container ?? "mkv",
|
|
||||||
enableSubtitles,
|
|
||||||
playbackUrl,
|
playbackUrl,
|
||||||
userId,
|
userId,
|
||||||
item.UserData?.PlaybackPositionTicks,
|
item.UserData?.PlaybackPositionTicks,
|
||||||
item.RunTimeTicks,
|
item.RunTimeTicks,
|
||||||
item,
|
playItemValue,
|
||||||
queue,
|
queue,
|
||||||
0,
|
episodeIndex,
|
||||||
subtitles,
|
result?.mediaSource.MediaSources?.[0]?.Id,
|
||||||
result?.mediaSource.MediaSources[0].Id,
|
|
||||||
result?.mediaSource.PlaySessionId,
|
result?.mediaSource.PlaySessionId,
|
||||||
|
subtitle,
|
||||||
|
result?.introInfo,
|
||||||
);
|
);
|
||||||
navigate({ to: "/player" });
|
navigate({ to: "/player" });
|
||||||
}
|
}
|
||||||
@@ -359,7 +405,7 @@ const PlayButton = ({
|
|||||||
color="white"
|
color="white"
|
||||||
size={size}
|
size={size}
|
||||||
>
|
>
|
||||||
{itemUserData.PlaybackPositionTicks > 0
|
{itemUserData?.PlaybackPositionTicks
|
||||||
? "Continue Watching"
|
? "Continue Watching"
|
||||||
: item?.Type === "MusicAlbum" ||
|
: item?.Type === "MusicAlbum" ||
|
||||||
item?.Type === "Audio" ||
|
item?.Type === "Audio" ||
|
||||||
@@ -371,8 +417,8 @@ const PlayButton = ({
|
|||||||
<LinearProgress
|
<LinearProgress
|
||||||
variant="determinate"
|
variant="determinate"
|
||||||
value={
|
value={
|
||||||
100 > itemUserData.PlayedPercentage > 0
|
100 > itemUserData?.PlayedPercentage > 0
|
||||||
? itemUserData.PlayedPercentage
|
? itemUserData?.PlayedPercentage
|
||||||
: 0
|
: 0
|
||||||
}
|
}
|
||||||
sx={{
|
sx={{
|
||||||
@@ -390,7 +436,7 @@ const PlayButton = ({
|
|||||||
color="white"
|
color="white"
|
||||||
/>
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
{itemUserData.PlaybackPositionTicks > 0 && (
|
{itemUserData?.PlaybackPositionTicks > 0 && (
|
||||||
<Typography
|
<Typography
|
||||||
sx={{
|
sx={{
|
||||||
opacity: 0.8,
|
opacity: 0.8,
|
||||||
@@ -412,18 +458,3 @@ const PlayButton = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default PlayButton;
|
export default PlayButton;
|
||||||
|
|
||||||
PlayButton.propTypes = {
|
|
||||||
itemId: PropTypes.string,
|
|
||||||
itemUserData: PropTypes.object,
|
|
||||||
userId: PropTypes.string,
|
|
||||||
itemType: PropTypes.string,
|
|
||||||
currentAudioTrack: PropTypes.number,
|
|
||||||
currentSubTrack: PropTypes.number,
|
|
||||||
currentVideoTrack: PropTypes.number,
|
|
||||||
className: PropTypes.string,
|
|
||||||
sx: PropTypes.any,
|
|
||||||
iconProps: PropTypes.any,
|
|
||||||
buttonProps: PropTypes.any,
|
|
||||||
iconOnly: PropTypes.bool,
|
|
||||||
};
|
|
||||||
@@ -4,7 +4,7 @@ import useQueue from "@/utils/store/queue";
|
|||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import { IconButton } from "@mui/material";
|
import { IconButton } from "@mui/material";
|
||||||
import { useMutation, useQuery } from "@tanstack/react-query";
|
import { useMutation, useQuery } from "@tanstack/react-query";
|
||||||
import { useRouteContext } from "@tanstack/react-router";
|
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
const PlayNextButton = () => {
|
const PlayNextButton = () => {
|
||||||
@@ -16,9 +16,10 @@ const PlayNextButton = () => {
|
|||||||
return result.data;
|
return result.data;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
const navigate = useNavigate();
|
||||||
const handlePlayNext = useMutation({
|
const handlePlayNext = useMutation({
|
||||||
mutationKey: ["playNextButton"],
|
mutationKey: ["playNextButton"],
|
||||||
mutationFn: () => playItemFromQueue("next", user.data?.Id),
|
mutationFn: () => playItemFromQueue("next", user.data?.Id, api),
|
||||||
onError: (error) => [console.error(error)],
|
onError: (error) => [console.error(error)],
|
||||||
});
|
});
|
||||||
const [queueItems, currentItemIndex] = useQueue((state) => [
|
const [queueItems, currentItemIndex] = useQueue((state) => [
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ const PlayPreviousButton = () => {
|
|||||||
});
|
});
|
||||||
const handlePlayNext = useMutation({
|
const handlePlayNext = useMutation({
|
||||||
mutationKey: ["playPreviousButton"],
|
mutationKey: ["playPreviousButton"],
|
||||||
mutationFn: () => playItemFromQueue("previous", user.data?.Id),
|
mutationFn: () => playItemFromQueue("previous", user.data?.Id, api),
|
||||||
onError: (error) => [console.error(error)],
|
onError: (error) => [console.error(error)],
|
||||||
});
|
});
|
||||||
const [queueItems, currentItemIndex] = useQueue((state) => [
|
const [queueItems, currentItemIndex] = useQueue((state) => [
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ const QueueButton = () => {
|
|||||||
>
|
>
|
||||||
<Typography variant="subtitle2">
|
<Typography variant="subtitle2">
|
||||||
{item.Type === "Audio"
|
{item.Type === "Audio"
|
||||||
? item.IndexNumber ?? 0
|
? index + 1
|
||||||
: item.IndexNumberEnd
|
: item.IndexNumberEnd
|
||||||
? `S${item.ParentIndexNumber}:E${item.IndexNumber} / ${item.IndexNumberEnd}`
|
? `S${item.ParentIndexNumber}:E${item.IndexNumber} / ${item.IndexNumberEnd}`
|
||||||
: `S${item.ParentIndexNumber}:E${item.IndexNumber}`}
|
: `S${item.ParentIndexNumber}:E${item.IndexNumber}`}
|
||||||
|
|||||||
@@ -0,0 +1,205 @@
|
|||||||
|
import { saveUser } from "@/utils/storage/user";
|
||||||
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
|
import { getQuickConnectApi } from "@jellyfin/sdk/lib/utils/api/quick-connect-api";
|
||||||
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
|
import { LoadingButton } from "@mui/lab";
|
||||||
|
import {
|
||||||
|
Button,
|
||||||
|
Checkbox,
|
||||||
|
Dialog,
|
||||||
|
DialogActions,
|
||||||
|
DialogContent,
|
||||||
|
DialogContentText,
|
||||||
|
FormControlLabel,
|
||||||
|
Tooltip,
|
||||||
|
Typography,
|
||||||
|
} from "@mui/material";
|
||||||
|
import { useMutation, useQuery } from "@tanstack/react-query";
|
||||||
|
import { useNavigate } from "@tanstack/react-router";
|
||||||
|
import type { Timeout } from "@tanstack/react-router/dist/esm/utils";
|
||||||
|
import { writeText } from "@tauri-apps/plugin-clipboard-manager";
|
||||||
|
import { useSnackbar } from "notistack";
|
||||||
|
import React, { useState } from "react";
|
||||||
|
|
||||||
|
const QuickConnectButton = () => {
|
||||||
|
const api = useApiInContext((s) => s.api);
|
||||||
|
const createApi = useApiInContext((s) => s.createApi);
|
||||||
|
const headers = {
|
||||||
|
"X-Emby-Authorization": `MediaBrowser Client="${api.clientInfo.name}", Device="${api.deviceInfo.name}", DeviceId="${api.deviceInfo.id}", Version="${api.clientInfo.version}"`,
|
||||||
|
};
|
||||||
|
|
||||||
|
const [quickConnectStatusInterval, setQuickConnectStatusInterval] =
|
||||||
|
useState<Timeout | null>(null);
|
||||||
|
|
||||||
|
const quickConnectEnabled = useQuery({
|
||||||
|
queryKey: ["quick-connect-button", "check-quick-connect-enabled"],
|
||||||
|
queryFn: async () => await getQuickConnectApi(api).getQuickConnectEnabled(),
|
||||||
|
});
|
||||||
|
|
||||||
|
const navigate = useNavigate();
|
||||||
|
|
||||||
|
const { enqueueSnackbar } = useSnackbar();
|
||||||
|
const [quickConnectCode, setQuickConnectCode] = useState<string | null>();
|
||||||
|
const [rememberUser, setRememberUser] = useState(true);
|
||||||
|
const checkQuickConnectStatus = useMutation({
|
||||||
|
mutationKey: ["quick-connect-button", "check-quick-connect-status"],
|
||||||
|
mutationFn: async (secret: string) =>
|
||||||
|
(
|
||||||
|
await getQuickConnectApi(api).getQuickConnectState(
|
||||||
|
{ secret },
|
||||||
|
{ headers },
|
||||||
|
)
|
||||||
|
).data,
|
||||||
|
});
|
||||||
|
const initQuickConnect = useMutation({
|
||||||
|
mutationKey: ["quick-connect-button", "initiate-connection"],
|
||||||
|
mutationFn: async () => {
|
||||||
|
if (!quickConnectEnabled.data?.data) {
|
||||||
|
enqueueSnackbar("Quick Connect is not enabled on server.", {
|
||||||
|
variant: "error",
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return await getQuickConnectApi(api).initiateQuickConnect({ headers });
|
||||||
|
},
|
||||||
|
onSuccess: (result) => {
|
||||||
|
setQuickConnectCode(result.data.Code);
|
||||||
|
const authAwaitInterval = setInterval(async () => {
|
||||||
|
// Check if user has been authenticated by the server
|
||||||
|
const quickConnectCheck = await checkQuickConnectStatus.mutateAsync(
|
||||||
|
result.data.Secret,
|
||||||
|
);
|
||||||
|
if (quickConnectCheck.Authenticated) {
|
||||||
|
const userAuth = await getUserApi(api).authenticateWithQuickConnect({
|
||||||
|
quickConnectDto: {
|
||||||
|
Secret: quickConnectCheck.Secret,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
enqueueSnackbar(`Logged in as ${userAuth.data.User?.Name}!`, {
|
||||||
|
variant: "success",
|
||||||
|
});
|
||||||
|
sessionStorage.setItem("accessToken", userAuth.data.AccessToken);
|
||||||
|
createApi(api.basePath, userAuth.data.AccessToken);
|
||||||
|
|
||||||
|
if (rememberUser) {
|
||||||
|
await saveUser(userAuth.data.User?.Name, userAuth.data.AccessToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
clearInterval(authAwaitInterval);
|
||||||
|
|
||||||
|
navigate({ to: "/home" });
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
setQuickConnectStatusInterval(authAwaitInterval);
|
||||||
|
},
|
||||||
|
onError: (error) => {
|
||||||
|
enqueueSnackbar("Error initiating Quick Connect.", { variant: "error" });
|
||||||
|
console.error(error);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<LoadingButton
|
||||||
|
disabled={
|
||||||
|
quickConnectEnabled.isPending ||
|
||||||
|
Boolean(!quickConnectEnabled.data?.data)
|
||||||
|
}
|
||||||
|
loading={
|
||||||
|
initQuickConnect.isPending ||
|
||||||
|
checkQuickConnectStatus.isPending ||
|
||||||
|
(quickConnectCode && !checkQuickConnectStatus.data?.Authenticated)
|
||||||
|
}
|
||||||
|
variant="contained"
|
||||||
|
size="large"
|
||||||
|
style={{ flex: 1 }}
|
||||||
|
onClick={initQuickConnect.mutate}
|
||||||
|
>
|
||||||
|
Quick Connect
|
||||||
|
</LoadingButton>
|
||||||
|
<Dialog
|
||||||
|
open={Boolean(quickConnectCode)}
|
||||||
|
onClose={() => {
|
||||||
|
setQuickConnectCode(null);
|
||||||
|
clearInterval(quickConnectStatusInterval);
|
||||||
|
}}
|
||||||
|
fullWidth
|
||||||
|
maxWidth="xs"
|
||||||
|
>
|
||||||
|
<DialogContent
|
||||||
|
style={{
|
||||||
|
display: "flex",
|
||||||
|
flexDirection: "column",
|
||||||
|
alignItems: "center",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Typography
|
||||||
|
variant="h5"
|
||||||
|
mb={2}
|
||||||
|
style={{
|
||||||
|
width: "100%",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Quick Connect Code:
|
||||||
|
</Typography>
|
||||||
|
<DialogContentText>
|
||||||
|
Use this code in the Quick Connect tab in your server to login.
|
||||||
|
</DialogContentText>
|
||||||
|
<div
|
||||||
|
className="flex flex-row"
|
||||||
|
style={{ gap: "1em", alignItems: "center", marginTop: "1em" }}
|
||||||
|
>
|
||||||
|
<Tooltip title="Click to copy" arrow placement="top">
|
||||||
|
<Typography
|
||||||
|
variant="h3"
|
||||||
|
color="textPrimary"
|
||||||
|
textAlign="center"
|
||||||
|
sx={{
|
||||||
|
background: "rgb(255 255 255 / 0.1)",
|
||||||
|
width: "fit-content",
|
||||||
|
padding: "0.4em",
|
||||||
|
borderRadius: "10px",
|
||||||
|
cursor: "pointer",
|
||||||
|
}}
|
||||||
|
onClick={async (e) => {
|
||||||
|
await writeText(quickConnectCode);
|
||||||
|
enqueueSnackbar("Quick Connect Code copied!", {
|
||||||
|
variant: "info",
|
||||||
|
key: "copiedText",
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{quickConnectCode}
|
||||||
|
</Typography>
|
||||||
|
</Tooltip>
|
||||||
|
</div>
|
||||||
|
</DialogContent>
|
||||||
|
<DialogActions
|
||||||
|
className="flex flex-row"
|
||||||
|
sx={{
|
||||||
|
padding: "0em 1em 1em 1em",
|
||||||
|
justifyContent: "space-between",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<FormControlLabel
|
||||||
|
control={
|
||||||
|
<Checkbox
|
||||||
|
checked={rememberUser}
|
||||||
|
onChange={(e) => setRememberUser(e.target.checked)}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
label="Remember device"
|
||||||
|
/>
|
||||||
|
<Button
|
||||||
|
variant="contained"
|
||||||
|
onClick={() => {
|
||||||
|
setQuickConnectCode(null);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Close
|
||||||
|
</Button>
|
||||||
|
</DialogActions>
|
||||||
|
</Dialog>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default QuickConnectButton;
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
/** @format */
|
/** @format */
|
||||||
|
|
||||||
import React from "react";
|
import React, { memo } from "react";
|
||||||
import { Component, useState } from "react";
|
import { Component, useState } from "react";
|
||||||
|
|
||||||
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
||||||
@@ -11,6 +11,7 @@ import Typography from "@mui/material/Typography";
|
|||||||
import {
|
import {
|
||||||
type BaseItemDto,
|
type BaseItemDto,
|
||||||
BaseItemKind,
|
BaseItemKind,
|
||||||
|
type ImageType,
|
||||||
} from "@jellyfin/sdk/lib/generated-client";
|
} from "@jellyfin/sdk/lib/generated-client";
|
||||||
import LikeButton from "../buttons/likeButton";
|
import LikeButton from "../buttons/likeButton";
|
||||||
import MarkPlayedButton from "../buttons/markPlayedButton";
|
import MarkPlayedButton from "../buttons/markPlayedButton";
|
||||||
@@ -34,7 +35,7 @@ const availableSpecialRoutes = [
|
|||||||
BaseItemKind.Playlist,
|
BaseItemKind.Playlist,
|
||||||
];
|
];
|
||||||
|
|
||||||
export const Card = ({
|
const CardComponent = ({
|
||||||
item,
|
item,
|
||||||
cardTitle,
|
cardTitle,
|
||||||
cardCaption,
|
cardCaption,
|
||||||
@@ -49,22 +50,21 @@ export const Card = ({
|
|||||||
overrideIcon,
|
overrideIcon,
|
||||||
}: {
|
}: {
|
||||||
item: BaseItemDto;
|
item: BaseItemDto;
|
||||||
cardTitle: string | null;
|
cardTitle: string | undefined | null;
|
||||||
cardCaption: string | null;
|
cardCaption?: string | null | number;
|
||||||
imageType: string;
|
imageType: ImageType;
|
||||||
cardType: string;
|
cardType: string;
|
||||||
queryKey: [];
|
queryKey?: string[];
|
||||||
userId: string;
|
userId?: string;
|
||||||
seriesId: string | null;
|
seriesId?: string | null;
|
||||||
hideText: boolean;
|
hideText?: boolean;
|
||||||
onClick: () => null | null;
|
onClick?: () => void;
|
||||||
disableOverlay: boolean;
|
disableOverlay?: boolean;
|
||||||
overrideIcon: any;
|
overrideIcon?: any;
|
||||||
}) => {
|
}) => {
|
||||||
const api = useApiInContext((s) => s.api);
|
const api = useApiInContext((s) => s.api);
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const defaultOnClick = () => {
|
const defaultOnClick = () => {
|
||||||
|
|
||||||
switch (item.Type) {
|
switch (item.Type) {
|
||||||
case BaseItemKind.BoxSet:
|
case BaseItemKind.BoxSet:
|
||||||
navigate({ to: "/boxset/$id", params: { id: item.Id } });
|
navigate({ to: "/boxset/$id", params: { id: item.Id } });
|
||||||
@@ -94,11 +94,7 @@ export const Card = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div className="card" onClick={onClick ? onClick : defaultOnClick}>
|
||||||
className="card"
|
|
||||||
elevation={0}
|
|
||||||
onClick={onClick ? onClick : defaultOnClick}
|
|
||||||
>
|
|
||||||
<div className={`card-image-container ${cardType}`}>
|
<div className={`card-image-container ${cardType}`}>
|
||||||
<ErrorBoundary fallback>
|
<ErrorBoundary fallback>
|
||||||
<div
|
<div
|
||||||
@@ -124,21 +120,11 @@ export const Card = ({
|
|||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
{/* {!!imageBlurhash && (
|
|
||||||
<Blurhash
|
|
||||||
hash={imageBlurhash}
|
|
||||||
width={128}
|
|
||||||
height={128}
|
|
||||||
resolutionX={24}
|
|
||||||
resolutionY={24}
|
|
||||||
className="card-image-blurhash"
|
|
||||||
/>
|
|
||||||
)} */}
|
|
||||||
<div className="card-image-icon-container">
|
<div className="card-image-icon-container">
|
||||||
{overrideIcon ? getTypeIcon(overrideIcon) : getTypeIcon(item.Type)}
|
{overrideIcon ? getTypeIcon(overrideIcon) : getTypeIcon(item.Type)}
|
||||||
</div>
|
</div>
|
||||||
<img
|
<img
|
||||||
alt={item.Name}
|
alt={item.Name ?? "blink"}
|
||||||
src={
|
src={
|
||||||
overrideIcon === "User"
|
overrideIcon === "User"
|
||||||
? `${api.basePath}/Users/${item.Id}/Images/Primary`
|
? `${api.basePath}/Users/${item.Id}/Images/Primary`
|
||||||
@@ -172,7 +158,7 @@ export const Card = ({
|
|||||||
userId={userId}
|
userId={userId}
|
||||||
itemType={item.Type}
|
itemType={item.Type}
|
||||||
currentAudioTrack={0}
|
currentAudioTrack={0}
|
||||||
currentSubTrack={0}
|
currentSubTrack="nosub"
|
||||||
currentVideoTrack={0}
|
currentVideoTrack={0}
|
||||||
className="card-play-button"
|
className="card-play-button"
|
||||||
iconProps={{
|
iconProps={{
|
||||||
@@ -215,24 +201,6 @@ export const Card = ({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{/*
|
|
||||||
{item.UserData?.PlaybackPositionTicks > 0 && (
|
|
||||||
<LinearProgress
|
|
||||||
variant="determinate"
|
|
||||||
value={item.UserData?.PlayedPercentage}
|
|
||||||
style={{
|
|
||||||
position: "absolute",
|
|
||||||
left: 0,
|
|
||||||
right: 0,
|
|
||||||
bottom: 0,
|
|
||||||
zIndex: 2,
|
|
||||||
height: "6px",
|
|
||||||
background: "rgb(5 5 5 / 0.5) !important",
|
|
||||||
backdropFilter: "blur(5px)",
|
|
||||||
}}
|
|
||||||
color="primary"
|
|
||||||
/>
|
|
||||||
)} */}
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="card-text-container"
|
className="card-text-container"
|
||||||
@@ -253,3 +221,5 @@ export const Card = ({
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const Card = memo(CardComponent);
|
||||||
@@ -10,6 +10,7 @@ import { Blurhash } from "react-blurhash";
|
|||||||
import "./card.scss";
|
import "./card.scss";
|
||||||
|
|
||||||
import { getRuntimeCompact } from "@/utils/date/time";
|
import { getRuntimeCompact } from "@/utils/date/time";
|
||||||
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
||||||
import LikeButton from "../buttons/likeButton";
|
import LikeButton from "../buttons/likeButton";
|
||||||
import MarkPlayedButton from "../buttons/markPlayedButton";
|
import MarkPlayedButton from "../buttons/markPlayedButton";
|
||||||
@@ -43,7 +44,7 @@ export const EpisodeCard = ({
|
|||||||
disableRunTime = false,
|
disableRunTime = false,
|
||||||
onClick,
|
onClick,
|
||||||
}) => {
|
}) => {
|
||||||
const api = useRouteContext({ from: "/" }).api;
|
const api = useApiInContext((s) => s.api);
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const defaultOnClick = () => {
|
const defaultOnClick = () => {
|
||||||
navigate({ to: `/episode/${item.Id}` });
|
navigate({ to: `/episode/${item.Id}` });
|
||||||
|
|||||||
@@ -1,45 +1,72 @@
|
|||||||
|
|
||||||
.carousel {
|
.carousel {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 70vh;
|
height: 64vh;
|
||||||
|
width: calc(100% + 2*$page-margin);
|
||||||
|
left: -$page-margin;
|
||||||
margin-bottom: 3.2em;
|
margin-bottom: 3.2em;
|
||||||
|
.slider {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
max-width: 35%;
|
||||||
|
right: $page-margin;
|
||||||
|
}
|
||||||
&-button {
|
&-button {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
|
||||||
&.right {
|
&.right {
|
||||||
left: calc(100% + 0.5em);
|
right: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.left {
|
&.left {
|
||||||
right: calc(100% + 0.5em);
|
left: 0.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-indicator {
|
&-indicator {
|
||||||
height: 3px;
|
aspect-ratio: 1.77777;
|
||||||
width: 100%;
|
overflow: hidden;
|
||||||
border-radius: 10px;
|
border-radius: 2px;
|
||||||
transition: background $transition-time-fast,
|
padding: 2px;
|
||||||
height $transition-time-fast;
|
transition: opacity $transition-time-fast;
|
||||||
background: rgb(255 255 255 / 0.5);
|
opacity: 0.5;
|
||||||
|
width: auto;
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 6px;
|
opacity: 0.8;
|
||||||
background: rgb(255 255 255 / 0.8) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&-container {
|
&-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: absolute;
|
|
||||||
bottom: -1.5em;
|
|
||||||
left: 10px;
|
|
||||||
right: 10px;
|
|
||||||
gap: 1em;
|
gap: 1em;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
&-image {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-icon {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: rgb(155 155 155 / 0.4);
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
&.active {
|
&.active {
|
||||||
height: 6px;
|
opacity: 1;
|
||||||
background: white !important;
|
|
||||||
|
.material-symbols-rounded {
|
||||||
|
|
||||||
|
--fill: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5,46 +5,60 @@ import IconButton from "@mui/material/IconButton";
|
|||||||
|
|
||||||
import { useCarouselStore } from "../../utils/store/carousel";
|
import { useCarouselStore } from "../../utils/store/carousel";
|
||||||
import "./carousel.scss";
|
import "./carousel.scss";
|
||||||
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
|
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
|
||||||
|
import CarouselSlide from "../carouselSlide";
|
||||||
|
|
||||||
|
import ReactMultiCarousel from "react-multi-carousel";
|
||||||
|
import Slider from "../Slider";
|
||||||
|
import { getTypeIcon } from "../utils/iconsCollection";
|
||||||
|
|
||||||
const swipeConfidenceThreshold = 8000;
|
const swipeConfidenceThreshold = 8000;
|
||||||
const swipePower = (offset, velocity) => {
|
const swipePower = (offset, velocity) => {
|
||||||
return Math.abs(offset) * velocity;
|
return Math.abs(offset) * velocity;
|
||||||
};
|
};
|
||||||
|
|
||||||
const Carousel = ({ content, onChange }) => {
|
const Carousel = ({
|
||||||
|
content,
|
||||||
|
onChange,
|
||||||
|
}: {
|
||||||
|
content: BaseItemDto[];
|
||||||
|
onChange: () => void;
|
||||||
|
}) => {
|
||||||
const [currentSlide, setCurrentSlide] = useState(0);
|
const [currentSlide, setCurrentSlide] = useState(0);
|
||||||
|
|
||||||
const [setDirection, dir] = useCarouselStore((state) => [
|
const [setDirection, dir] = useCarouselStore((state) => [
|
||||||
state.setDirection,
|
state.setDirection,
|
||||||
state.direction,
|
state.direction,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// biome-ignore lint/correctness/useExhaustiveDependencies: <explanation>
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
onChange(currentSlide);
|
onChange(currentSlide);
|
||||||
}, [content[currentSlide]?.key]);
|
}, [content[currentSlide]?.Id]);
|
||||||
|
|
||||||
|
const api = useApiInContext((s) => s.api);
|
||||||
|
|
||||||
|
const responsive = {
|
||||||
|
superLargeDesktop: {
|
||||||
|
// the naming can be any, depends on you.
|
||||||
|
breakpoint: { max: 4000, min: 3000 },
|
||||||
|
items: 6,
|
||||||
|
},
|
||||||
|
desktop: {
|
||||||
|
breakpoint: { max: 3000, min: 1024 },
|
||||||
|
items: 6,
|
||||||
|
},
|
||||||
|
tablet: {
|
||||||
|
breakpoint: { max: 1024, min: 464 },
|
||||||
|
items: 4,
|
||||||
|
},
|
||||||
|
mobile: {
|
||||||
|
breakpoint: { max: 464, min: 0 },
|
||||||
|
items: 1,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="carousel">
|
<div className="carousel">
|
||||||
<IconButton
|
|
||||||
className="carousel-button left"
|
|
||||||
onClick={() => {
|
|
||||||
if (currentSlide === 0) {
|
|
||||||
setDirection("left");
|
|
||||||
setCurrentSlide(content.length - 1);
|
|
||||||
}
|
|
||||||
if (currentSlide > 0) {
|
|
||||||
setDirection("left");
|
|
||||||
setCurrentSlide((init) => init - 1);
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
sx={{
|
|
||||||
background: " rgb(200 200 200 / 0.05)",
|
|
||||||
}}
|
|
||||||
// disabled={currentSlide == 0}
|
|
||||||
>
|
|
||||||
<div className="material-symbols-rounded">arrow_left</div>
|
|
||||||
</IconButton>
|
|
||||||
<AnimatePresence mode="sync">
|
<AnimatePresence mode="sync">
|
||||||
<motion.div
|
<motion.div
|
||||||
key={currentSlide}
|
key={currentSlide}
|
||||||
@@ -77,35 +91,31 @@ const Carousel = ({ content, onChange }) => {
|
|||||||
position: "absolute",
|
position: "absolute",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{content[currentSlide]}
|
<CarouselSlide
|
||||||
|
item={content[currentSlide]}
|
||||||
|
key={content[currentSlide].Id}
|
||||||
|
/>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
</AnimatePresence>
|
</AnimatePresence>
|
||||||
<IconButton
|
<Slider
|
||||||
className="carousel-button right"
|
currentSlide={currentSlide}
|
||||||
onClick={() => {
|
content={content.map((item, index) => (
|
||||||
if (currentSlide === content.length - 1) {
|
<motion.div
|
||||||
setDirection("right");
|
|
||||||
setCurrentSlide(0);
|
|
||||||
} else if (currentSlide < content.length - 1) {
|
|
||||||
setDirection("right");
|
|
||||||
setCurrentSlide((init) => init + 1);
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
// disabled={currentSlide == content.length - 1}
|
|
||||||
sx={{
|
|
||||||
background: " rgb(200 200 200 / 0.05)",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div className="material-symbols-rounded">arrow_right</div>
|
|
||||||
</IconButton>
|
|
||||||
<div className="carousel-indicator-container">
|
|
||||||
{content.map((item, index) => (
|
|
||||||
<div
|
|
||||||
className={
|
className={
|
||||||
currentSlide === index
|
currentSlide === index
|
||||||
? "carousel-indicator active"
|
? "carousel-indicator active"
|
||||||
: "carousel-indicator"
|
: "carousel-indicator"
|
||||||
}
|
}
|
||||||
|
layout
|
||||||
|
initial={{
|
||||||
|
height: "4.6em",
|
||||||
|
}}
|
||||||
|
whileHover={{
|
||||||
|
height: "5.5em",
|
||||||
|
}}
|
||||||
|
transition={{
|
||||||
|
duration: 0.05,
|
||||||
|
}}
|
||||||
key={item.Id}
|
key={item.Id}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (currentSlide > index) {
|
if (currentSlide > index) {
|
||||||
@@ -115,9 +125,24 @@ const Carousel = ({ content, onChange }) => {
|
|||||||
}
|
}
|
||||||
setCurrentSlide(index);
|
setCurrentSlide(index);
|
||||||
}}
|
}}
|
||||||
|
>
|
||||||
|
{item.ImageTags?.Thumb ? (
|
||||||
|
<img
|
||||||
|
src={api.getItemImageUrl(item.Id, "Thumb", {
|
||||||
|
tag: item.ImageTags.Primary,
|
||||||
|
fillWidth: 300,
|
||||||
|
})}
|
||||||
|
alt={item.Name ?? "item-image"}
|
||||||
|
className="carousel-indicator-image"
|
||||||
/>
|
/>
|
||||||
))}
|
) : (
|
||||||
|
<div className="carousel-indicator-icon">
|
||||||
|
{getTypeIcon(item.Type)}
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
|
</motion.div>
|
||||||
|
))}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -14,12 +14,15 @@ import { yellow } from "@mui/material/colors";
|
|||||||
import { endsAt, getRuntime } from "@/utils/date/time";
|
import { endsAt, getRuntime } from "@/utils/date/time";
|
||||||
import { green, red } from "@mui/material/colors";
|
import { green, red } from "@mui/material/colors";
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
import { useNavigate } from "@tanstack/react-router";
|
||||||
import { getTypeIcon } from "../utils/iconsCollection";
|
import { getTypeIcon } from "../utils/iconsCollection";
|
||||||
|
|
||||||
import { useApiInContext } from "@/utils/store/api";
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
import { useCarouselStore } from "@/utils/store/carousel";
|
import { useCarouselStore } from "@/utils/store/carousel";
|
||||||
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
import {
|
||||||
|
type BaseItemDto,
|
||||||
|
BaseItemKind,
|
||||||
|
} from "@jellyfin/sdk/lib/generated-client";
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import LikeButton from "../buttons/likeButton";
|
import LikeButton from "../buttons/likeButton";
|
||||||
import MarkPlayedButton from "../buttons/markPlayedButton";
|
import MarkPlayedButton from "../buttons/markPlayedButton";
|
||||||
@@ -41,7 +44,7 @@ const availableSpecialRoutes = [
|
|||||||
* @param {Props}
|
* @param {Props}
|
||||||
* @returns {React.Component}
|
* @returns {React.Component}
|
||||||
*/
|
*/
|
||||||
const CarouselSlide = ({ item }) => {
|
const CarouselSlide = ({ item }: { item: BaseItemDto }) => {
|
||||||
const api = useApiInContext((s) => s.api);
|
const api = useApiInContext((s) => s.api);
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
@@ -55,19 +58,31 @@ const CarouselSlide = ({ item }) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const handleMoreInfo = () => {
|
const handleMoreInfo = () => {
|
||||||
if (availableSpecialRoutes.includes(item.Type)) {
|
switch (item.Type) {
|
||||||
navigate({
|
case BaseItemKind.BoxSet:
|
||||||
to: `/${item.Type.toLocaleLowerCase()}/$id`,
|
navigate({ to: "/boxset/$id", params: { id: item.Id } });
|
||||||
params: { id: item.Id },
|
break;
|
||||||
});
|
case BaseItemKind.Episode:
|
||||||
} else if (!!item.Role || item.Type === BaseItemKind.Person) {
|
|
||||||
navigate({ to: "/person/$id", params: { id: item.Id } });
|
|
||||||
} else if (item.Type === BaseItemKind.MusicArtist) {
|
|
||||||
navigate({ to: "/artist/$id", params: { id: item.Id } });
|
|
||||||
} else if (item.Type === BaseItemKind.Episode) {
|
|
||||||
navigate({ to: "/episode/$id", params: { id: item.Id } });
|
navigate({ to: "/episode/$id", params: { id: item.Id } });
|
||||||
} else {
|
break;
|
||||||
|
case BaseItemKind.MusicAlbum:
|
||||||
|
navigate({ to: "/album/$id", params: { id: item.Id } });
|
||||||
|
break;
|
||||||
|
case BaseItemKind.MusicArtist:
|
||||||
|
navigate({ to: "/artist/$id", params: { id: item.Id } });
|
||||||
|
break;
|
||||||
|
case BaseItemKind.Person:
|
||||||
|
navigate({ to: "/person/$id", params: { id: item.Id } });
|
||||||
|
break;
|
||||||
|
case BaseItemKind.Series:
|
||||||
|
navigate({ to: "/series/$id", params: { id: item.Id } });
|
||||||
|
break;
|
||||||
|
case BaseItemKind.Playlist:
|
||||||
|
navigate({ to: "/playlist/$id", params: { id: item.Id } });
|
||||||
|
break;
|
||||||
|
default:
|
||||||
navigate({ to: "/item/$id", params: { id: item.Id } });
|
navigate({ to: "/item/$id", params: { id: item.Id } });
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -78,29 +93,12 @@ const CarouselSlide = ({ item }) => {
|
|||||||
className="hero-carousel-slide"
|
className="hero-carousel-slide"
|
||||||
sx={{
|
sx={{
|
||||||
background: "transparent",
|
background: "transparent",
|
||||||
px: 3,
|
// px: 3,
|
||||||
}}
|
}}
|
||||||
elevation={10}
|
elevation={0}
|
||||||
>
|
>
|
||||||
<div className="hero-carousel-background-container">
|
<div className="hero-carousel-background-container">
|
||||||
{!!item.ImageBlurHashes.Backdrop && (
|
{item.BackdropImageTags?.length ? (
|
||||||
<>
|
|
||||||
{Object.keys(item.ImageBlurHashes.Backdrop).length !== 0 && (
|
|
||||||
<Blurhash
|
|
||||||
hash={
|
|
||||||
item.ImageBlurHashes.Backdrop[
|
|
||||||
Object.keys(item.ImageBlurHashes.Backdrop)[0]
|
|
||||||
]
|
|
||||||
}
|
|
||||||
// hash="LEHV6nWB2yk8pyo0adR*.7kCMdnj"
|
|
||||||
width="256"
|
|
||||||
height="179.2"
|
|
||||||
resolutionX={64}
|
|
||||||
resolutionY={45}
|
|
||||||
className="hero-carousel-background-blurhash"
|
|
||||||
punch={1.4}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
<img
|
<img
|
||||||
alt={item.Name}
|
alt={item.Name}
|
||||||
className="hero-carousel-background-image"
|
className="hero-carousel-background-image"
|
||||||
@@ -117,11 +115,11 @@ const CarouselSlide = ({ item }) => {
|
|||||||
}}
|
}}
|
||||||
loading="eager"
|
loading="eager"
|
||||||
/>
|
/>
|
||||||
</>
|
) : (
|
||||||
)}
|
|
||||||
<div className="hero-carousel-background-icon-container">
|
<div className="hero-carousel-background-icon-container">
|
||||||
{getTypeIcon(item.Type)}
|
{getTypeIcon(item.Type)}
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="hero-carousel-detail">
|
<div className="hero-carousel-detail">
|
||||||
<Typography
|
<Typography
|
||||||
@@ -207,10 +205,14 @@ const CarouselSlide = ({ item }) => {
|
|||||||
justifyItems="flex-start"
|
justifyItems="flex-start"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<Typography style={{ opacity: "0.8" }} variant="subtitle1">
|
{item.PremiereDate && (
|
||||||
{item.ProductionYear ? item.ProductionYear : "Unknown"}
|
<Typography style={{ opacity: "0.8" }} variant="subtitle2">
|
||||||
|
{item.ProductionYear ?? ""}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Chip variant="filled" label={item.OfficialRating ?? "Not Rated"} />
|
)}
|
||||||
|
{item.OfficialRating && (
|
||||||
|
<Chip variant="filled" size="small" label={item.OfficialRating} />
|
||||||
|
)}
|
||||||
|
|
||||||
{item.CommunityRating && (
|
{item.CommunityRating && (
|
||||||
<div
|
<div
|
||||||
@@ -222,12 +224,10 @@ const CarouselSlide = ({ item }) => {
|
|||||||
className="hero-carousel-info-rating"
|
className="hero-carousel-info-rating"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="material-symbols-rounded "
|
className="material-symbols-rounded fill"
|
||||||
style={{
|
style={{
|
||||||
// fontSize: "2.2em",
|
// fontSize: "2.2em",
|
||||||
color: yellow[400],
|
color: yellow[400],
|
||||||
fontVariationSettings:
|
|
||||||
'"FILL" 1, "wght" 300, "GRAD" 25, "opsz" 40',
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
star
|
star
|
||||||
@@ -236,13 +236,13 @@ const CarouselSlide = ({ item }) => {
|
|||||||
style={{
|
style={{
|
||||||
opacity: "0.8",
|
opacity: "0.8",
|
||||||
}}
|
}}
|
||||||
variant="subtitle1"
|
variant="subtitle2"
|
||||||
>
|
>
|
||||||
{Math.round(item.CommunityRating * 10) / 10}
|
{Math.round(item.CommunityRating * 10) / 10}
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{Boolean(item.CriticRating) && (
|
{item.CriticRating && (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
@@ -252,11 +252,9 @@ const CarouselSlide = ({ item }) => {
|
|||||||
className="hero-carousel-info-rating"
|
className="hero-carousel-info-rating"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="material-symbols-rounded "
|
className="material-symbols-rounded fill"
|
||||||
style={{
|
style={{
|
||||||
color: item.CriticRating > 50 ? green[400] : red[400],
|
color: item.CriticRating > 50 ? green[400] : red[400],
|
||||||
fontVariationSettings:
|
|
||||||
'"FILL" 1, "wght" 300, "GRAD" 25, "opsz" 40',
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{item.CriticRating > 50 ? "thumb_up" : "thumb_down"}
|
{item.CriticRating > 50 ? "thumb_up" : "thumb_down"}
|
||||||
@@ -265,23 +263,26 @@ const CarouselSlide = ({ item }) => {
|
|||||||
style={{
|
style={{
|
||||||
opacity: "0.8",
|
opacity: "0.8",
|
||||||
}}
|
}}
|
||||||
variant="subtitle1"
|
variant="subtitle2"
|
||||||
>
|
>
|
||||||
{item.CriticRating}
|
{item.CriticRating}
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{!!item.RunTimeTicks && (
|
{item.RunTimeTicks && (
|
||||||
<Typography style={{ opacity: "0.8" }} variant="subtitle1">
|
<Typography style={{ opacity: "0.8" }} variant="subtitle2">
|
||||||
{getRuntime(item.RunTimeTicks)}
|
{getRuntime(item.RunTimeTicks)}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
{!!item.RunTimeTicks && (
|
{item.RunTimeTicks && (
|
||||||
<Typography style={{ opacity: "0.8" }} variant="subtitle1">
|
<Typography style={{ opacity: "0.8" }} variant="subtitle2">
|
||||||
{endsAt(item.RunTimeTicks)}
|
{endsAt(item.RunTimeTicks - item.UserData.PlaybackPositionTicks)}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
|
<Typography variant="subtitle2" style={{ opacity: 0.8 }}>
|
||||||
|
{item.Genres?.slice(0, 4).join(" / ")}
|
||||||
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Typography
|
<Typography
|
||||||
component={motion.div}
|
component={motion.div}
|
||||||
@@ -308,7 +309,6 @@ const CarouselSlide = ({ item }) => {
|
|||||||
duration: 0.25,
|
duration: 0.25,
|
||||||
ease: "easeInOut",
|
ease: "easeInOut",
|
||||||
}}
|
}}
|
||||||
variant="subtitle1"
|
|
||||||
className="hero-carousel-text"
|
className="hero-carousel-text"
|
||||||
sx={{
|
sx={{
|
||||||
display: "-webkit-box",
|
display: "-webkit-box",
|
||||||
@@ -319,6 +319,8 @@ const CarouselSlide = ({ item }) => {
|
|||||||
WebkitLineClamp: "4",
|
WebkitLineClamp: "4",
|
||||||
WebkitBoxOrient: "vertical",
|
WebkitBoxOrient: "vertical",
|
||||||
}}
|
}}
|
||||||
|
variant="subtitle2"
|
||||||
|
fontWeight={300}
|
||||||
>
|
>
|
||||||
{item.Overview}
|
{item.Overview}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
@@ -5,15 +5,19 @@ import { CardScroller } from "../../cardScroller/cardScroller";
|
|||||||
import { CardsSkeleton } from "../../skeleton/cards";
|
import { CardsSkeleton } from "../../skeleton/cards";
|
||||||
|
|
||||||
import { useApiInContext } from "@/utils/store/api";
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
import {
|
||||||
|
type BaseItemDto,
|
||||||
|
BaseItemKind,
|
||||||
|
} from "@jellyfin/sdk/lib/generated-client";
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import { getUserLibraryApi } from "@jellyfin/sdk/lib/utils/api/user-library-api";
|
import { getUserLibraryApi } from "@jellyfin/sdk/lib/utils/api/user-library-api";
|
||||||
import { useRouteContext } from "@tanstack/react-router";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Latest Media Section
|
* @description Latest Media Section
|
||||||
*/
|
*/
|
||||||
export const LatestMediaSection = ({ latestMediaLib }) => {
|
export const LatestMediaSection = ({
|
||||||
|
latestMediaLib,
|
||||||
|
}: { latestMediaLib: BaseItemDto }) => {
|
||||||
const api = useApiInContext((s) => s.api);
|
const api = useApiInContext((s) => s.api);
|
||||||
const user = useQuery({
|
const user = useQuery({
|
||||||
queryKey: ["user"],
|
queryKey: ["user"],
|
||||||
@@ -23,27 +27,27 @@ export const LatestMediaSection = ({ latestMediaLib }) => {
|
|||||||
},
|
},
|
||||||
networkMode: "always",
|
networkMode: "always",
|
||||||
});
|
});
|
||||||
const fetchLatestMedia = async (library) => {
|
const fetchLatestMedia = async (library: BaseItemDto) => {
|
||||||
const media = await getUserLibraryApi(api).getLatestMedia({
|
const media = await getUserLibraryApi(api).getLatestMedia({
|
||||||
userId: user.data.Id,
|
userId: user.data?.Id,
|
||||||
parentId: library,
|
parentId: library.Id,
|
||||||
limit: 16,
|
limit: 16,
|
||||||
fields: ["PrimaryImageAspectRatio"],
|
fields: ["PrimaryImageAspectRatio"],
|
||||||
});
|
});
|
||||||
return media.data;
|
return media.data;
|
||||||
};
|
};
|
||||||
const data = useQuery({
|
const data = useQuery({
|
||||||
queryKey: ["homeSection, latestMedia", latestMediaLib],
|
queryKey: ["home", "latestMedia", latestMediaLib.Id],
|
||||||
queryFn: () => fetchLatestMedia(latestMediaLib[0]),
|
queryFn: () => fetchLatestMedia(latestMediaLib),
|
||||||
enabled: !!user.data,
|
enabled: !!user.data,
|
||||||
refetchOnMount: true
|
refetchOnMount: true,
|
||||||
});
|
});
|
||||||
if (data.isPending) {
|
if (data.isPending) {
|
||||||
return <CardsSkeleton />;
|
return <CardsSkeleton />;
|
||||||
}
|
}
|
||||||
if (data.isSuccess && data.data.length >= 1) {
|
if (data.isSuccess && data.data.length >= 1) {
|
||||||
return (
|
return (
|
||||||
<CardScroller displayCards={7} title={`Latest ${latestMediaLib[1]}`}>
|
<CardScroller displayCards={7} title={`Latest ${latestMediaLib.Name}`}>
|
||||||
{data.data.map((item) => {
|
{data.data.map((item) => {
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
@@ -75,8 +79,8 @@ export const LatestMediaSection = ({ latestMediaLib }) => {
|
|||||||
? "square"
|
? "square"
|
||||||
: "portrait"
|
: "portrait"
|
||||||
}
|
}
|
||||||
queryKey={["homeSection, latestMedia", latestMediaLib]}
|
queryKey={["home", "latestMedia", latestMediaLib.Id]}
|
||||||
userId={user.data.Id}
|
userId={user.data?.Id}
|
||||||
imageBlurhash={
|
imageBlurhash={
|
||||||
!!item.ImageBlurHashes?.Primary &&
|
!!item.ImageBlurHashes?.Primary &&
|
||||||
item.ImageBlurHashes?.Primary[
|
item.ImageBlurHashes?.Primary[
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
||||||
import { getItemsApi } from "@jellyfin/sdk/lib/utils/api/items-api";
|
import { getItemsApi } from "@jellyfin/sdk/lib/utils/api/items-api";
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
@@ -8,7 +9,7 @@ import { Card } from "../../../card/card";
|
|||||||
import { CardScroller } from "../../../cardScroller/cardScroller";
|
import { CardScroller } from "../../../cardScroller/cardScroller";
|
||||||
|
|
||||||
const GenreView = ({ libraryId, genreId, genreName, userId }) => {
|
const GenreView = ({ libraryId, genreId, genreName, userId }) => {
|
||||||
const api = useRouteContext({ from: "/" }).api;
|
const api = useApiInContext((s) => s.api);
|
||||||
|
|
||||||
const items = useQuery({
|
const items = useQuery({
|
||||||
queryKey: ["library", "genreItem", genreId],
|
queryKey: ["library", "genreItem", genreId],
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ import PlayButton from "../buttons/playButton";
|
|||||||
import TextLink from "../textLink";
|
import TextLink from "../textLink";
|
||||||
import "./musicTrack.scss";
|
import "./musicTrack.scss";
|
||||||
import { useApiInContext } from "@/utils/store/api";
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
import { useRouteContext } from "@tanstack/react-router";
|
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
|
||||||
|
import type { QueryKey } from "@tanstack/react-query";
|
||||||
|
import lyrics_icon from "../../assets/icons/lyrics.svg";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} Props
|
* @typedef {Object} Props
|
||||||
@@ -33,6 +35,14 @@ const MusicTrack = ({
|
|||||||
playlistItemId,
|
playlistItemId,
|
||||||
trackIndex,
|
trackIndex,
|
||||||
className = "",
|
className = "",
|
||||||
|
}: {
|
||||||
|
item: BaseItemDto;
|
||||||
|
queryKey: QueryKey;
|
||||||
|
userId: string | undefined;
|
||||||
|
playlistItem: boolean;
|
||||||
|
playlistItemId: string;
|
||||||
|
trackIndex: number;
|
||||||
|
className: string;
|
||||||
}) => {
|
}) => {
|
||||||
const api = useApiInContext((s) => s.api);
|
const api = useApiInContext((s) => s.api);
|
||||||
const [currentTrackItem] = useAudioPlayback((state) => [state.item]);
|
const [currentTrackItem] = useAudioPlayback((state) => [state.item]);
|
||||||
@@ -100,13 +110,24 @@ const MusicTrack = ({
|
|||||||
opacity: 0.8,
|
opacity: 0.8,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{item.ArtistItems.map((artist, index) => (
|
{item.HasLyrics && (
|
||||||
|
<img
|
||||||
|
src={lyrics_icon}
|
||||||
|
alt="Lyrics"
|
||||||
|
className="music-track-info-lyrics"
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
{item.ArtistItems?.map((artist, index) => (
|
||||||
<>
|
<>
|
||||||
<TextLink
|
<TextLink
|
||||||
|
key={index}
|
||||||
variant={"subtitle2"}
|
variant={"subtitle2"}
|
||||||
location={`/artist/${artist.Id}`}
|
location={`/artist/${artist.Id}`}
|
||||||
otherProps={{
|
otherProps={{
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
|
style: {
|
||||||
|
textDecoration: "none",
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{artist.Name}
|
{artist.Name}
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
cursor: pointer;
|
||||||
&-icon {
|
&-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -20,7 +21,7 @@
|
|||||||
}
|
}
|
||||||
&-image {
|
&-image {
|
||||||
margin: 0.4em;
|
margin: 0.4em;
|
||||||
border-radius: $border-radius-default;
|
border-radius: $border-radius_04;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -43,6 +44,9 @@
|
|||||||
}
|
}
|
||||||
&-info {
|
&-info {
|
||||||
justify-self: start;
|
justify-self: start;
|
||||||
|
&-lyrics {
|
||||||
|
margin-right: 0.4em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ const NProgress: React.FC<{ isAnimating: boolean | number }> = ({
|
|||||||
isAnimating,
|
isAnimating,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (isAnimating) {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
opacity: isFinished ? 0 : 1,
|
|
||||||
pointerEvents: "none",
|
pointerEvents: "none",
|
||||||
transition: `opacity ${animationDuration}ms linear`,
|
transition: `opacity ${animationDuration}ms linear`,
|
||||||
position: "fixed",
|
position: "fixed",
|
||||||
@@ -32,6 +32,7 @@ const NProgress: React.FC<{ isAnimating: boolean | number }> = ({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export default NProgress;
|
export default NProgress;
|
||||||
@@ -14,7 +14,9 @@ export const EmptyNotice = ({ extraMsg }) => {
|
|||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
flexFlow: "column",
|
flexFlow: "column",
|
||||||
// opacity: 0.2,
|
position: "static",
|
||||||
|
top: 0,
|
||||||
|
left: 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -0,0 +1,87 @@
|
|||||||
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
|
import { playItemFromQueue, usePlaybackStore } from "@/utils/store/playback";
|
||||||
|
import useQueue from "@/utils/store/queue";
|
||||||
|
import { Button, Typography } from "@mui/material";
|
||||||
|
import React from "react";
|
||||||
|
import { getTypeIcon } from "../utils/iconsCollection";
|
||||||
|
|
||||||
|
import "./outroCard.scss";
|
||||||
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
|
import { useMutation, useQuery } from "@tanstack/react-query";
|
||||||
|
|
||||||
|
const OutroCard = (props: { handleShowCredits: () => void }) => {
|
||||||
|
const api = useApiInContext((s) => s.api);
|
||||||
|
const [nextItemIndex, queueItems] = useQueue((s) => [
|
||||||
|
s.currentItemIndex,
|
||||||
|
s.tracks,
|
||||||
|
]);
|
||||||
|
const item = queueItems[nextItemIndex + 1];
|
||||||
|
const user = useQuery({
|
||||||
|
queryKey: ["user"],
|
||||||
|
queryFn: async () => {
|
||||||
|
const result = await getUserApi(api).getCurrentUser();
|
||||||
|
return result.data;
|
||||||
|
},
|
||||||
|
});
|
||||||
|
const handlePlayNext = useMutation({
|
||||||
|
mutationKey: ["playNextButton"],
|
||||||
|
mutationFn: () => playItemFromQueue("next", user.data?.Id, api),
|
||||||
|
onError: (error) => [console.error(error)],
|
||||||
|
});
|
||||||
|
return (
|
||||||
|
<div className="outro-card">
|
||||||
|
<Typography variant="h4">Up Next</Typography>
|
||||||
|
<div className="outro-card-content">
|
||||||
|
{item?.ImageTags?.Primary ? (
|
||||||
|
<img
|
||||||
|
className="outro-card-content-image"
|
||||||
|
alt={item.Name ?? "Cover"}
|
||||||
|
src={api.getItemImageUrl(item.Id, "Primary", {
|
||||||
|
tag: item.ImageTags.Primary,
|
||||||
|
quality: 80,
|
||||||
|
})}
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
|
<div className="outro-card-content-image icon">
|
||||||
|
{getTypeIcon(item?.Type)}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<Typography variant="h5" className="outro-card-content-title">
|
||||||
|
{item.Name}
|
||||||
|
</Typography>
|
||||||
|
<Typography variant="subtitle2" className="outro-card-content-overview">
|
||||||
|
{item.Overview}
|
||||||
|
</Typography>
|
||||||
|
<div className="outro-card-content-buttons">
|
||||||
|
<Button
|
||||||
|
onClick={handlePlayNext.mutate}
|
||||||
|
color="white"
|
||||||
|
variant="contained"
|
||||||
|
startIcon={
|
||||||
|
<div
|
||||||
|
className="material-symbols-rounded fill"
|
||||||
|
style={{
|
||||||
|
zIndex: 1,
|
||||||
|
fontSize: "2em",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
play_arrow
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
>
|
||||||
|
Play Now
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
onClick={props.handleShowCredits}
|
||||||
|
color="white"
|
||||||
|
variant="outlined"
|
||||||
|
>
|
||||||
|
Watch Credits
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default OutroCard;
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
.outro-card {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 1000;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 0 5vw 2em 5vw;
|
||||||
|
gap: 1.2em;
|
||||||
|
background: linear-gradient(to top, rgb(10 10 10), rgb(10 10 10 / 0.7) 50%, transparent);
|
||||||
|
padding-top: 25vh;
|
||||||
|
|
||||||
|
&-content {
|
||||||
|
display: grid;
|
||||||
|
grid-template-areas: "img title"
|
||||||
|
"img info"
|
||||||
|
"img buttons";
|
||||||
|
grid-template-columns: 20em 1fr;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1em;
|
||||||
|
|
||||||
|
&-image {
|
||||||
|
grid-area: img;
|
||||||
|
max-height: 14em;
|
||||||
|
width: 20em;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: $border-radius-default;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-title {
|
||||||
|
grid-area: title;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-overview {
|
||||||
|
grid-area: info;
|
||||||
|
display: -webkit-box;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-buttons {
|
||||||
|
grid-area: buttons;
|
||||||
|
display: flex;
|
||||||
|
gap: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,13 +19,13 @@ import Typography from "@mui/material/Typography";
|
|||||||
|
|
||||||
import WaveSurfer from "wavesurfer.js";
|
import WaveSurfer from "wavesurfer.js";
|
||||||
|
|
||||||
import { useAudioPlayback } from "@/utils/store/audioPlayback";
|
import { setAudioRef, useAudioPlayback } from "@/utils/store/audioPlayback";
|
||||||
import useQueue from "@/utils/store/queue";
|
import useQueue from "@/utils/store/queue";
|
||||||
|
|
||||||
import { AnimatePresence } from "framer-motion";
|
import { AnimatePresence } from "framer-motion";
|
||||||
import "./audioPlayer.scss";
|
import "./audioPlayer.scss";
|
||||||
|
|
||||||
import { getRuntimeMusic, secToTicks } from "@/utils/date/time";
|
import { getRuntimeMusic, secToTicks, ticksToSec } from "@/utils/date/time";
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
|
|
||||||
@@ -33,22 +33,15 @@ import PlayNextButton from "@/components/buttons/playNextButton";
|
|||||||
import PlayPreviousButton from "@/components/buttons/playPreviousButtom";
|
import PlayPreviousButton from "@/components/buttons/playPreviousButtom";
|
||||||
import QueueButton from "@/components/buttons/queueButton";
|
import QueueButton from "@/components/buttons/queueButton";
|
||||||
import { useApiInContext } from "@/utils/store/api";
|
import { useApiInContext } from "@/utils/store/api";
|
||||||
import { useRouteContext } from "@tanstack/react-router";
|
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
||||||
|
|
||||||
const AudioPlayer = () => {
|
const AudioPlayer = () => {
|
||||||
const api = useApiInContext((s) => s.api);
|
const api = useApiInContext((s) => s.api);
|
||||||
const [
|
const audioRef = useRef<HTMLAudioElement>(null!);
|
||||||
url,
|
const [url, display, item] = useAudioPlayback((state) => [
|
||||||
display,
|
|
||||||
item,
|
|
||||||
// tracks,
|
|
||||||
// currentTrack,
|
|
||||||
setCurrentTrack,
|
|
||||||
] = useAudioPlayback((state) => [
|
|
||||||
state.url,
|
state.url,
|
||||||
state.display,
|
state.display,
|
||||||
state.item,
|
state.item,
|
||||||
state.playlistItemId,
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const [tracks, currentTrack] = useQueue((state) => [
|
const [tracks, currentTrack] = useQueue((state) => [
|
||||||
@@ -63,96 +56,46 @@ const AudioPlayer = () => {
|
|||||||
return usr.data;
|
return usr.data;
|
||||||
},
|
},
|
||||||
networkMode: "always",
|
networkMode: "always",
|
||||||
enabled: Boolean(display),
|
enabled: Boolean(display) && Boolean(api),
|
||||||
});
|
});
|
||||||
|
|
||||||
const waveSurferRef = useRef(null);
|
|
||||||
const waveSurferContainerRef = useRef(null);
|
const waveSurferContainerRef = useRef(null);
|
||||||
|
|
||||||
|
const playing = useMemo(() => {
|
||||||
|
if (audioRef.current?.paused) return false;
|
||||||
|
return true;
|
||||||
|
}, [audioRef.current?.paused]);
|
||||||
const [playerReady, setPlayerReady] = useState(false);
|
const [playerReady, setPlayerReady] = useState(false);
|
||||||
const [playing, setPlaying] = useState(true);
|
|
||||||
const [volume, setVolume] = useState(0.8);
|
const [volume, setVolume] = useState(0.8);
|
||||||
const [isMuted, setIsMuted] = useState(false);
|
const [isMuted, setIsMuted] = useState(false);
|
||||||
|
const [progress, setProgress] = useState(0);
|
||||||
|
const [isScrubbing, setIsScrubbing] = useState(false);
|
||||||
|
const [sliderProgress, setSliderProgress] = useState(false);
|
||||||
|
|
||||||
const [loading, setLoading] = useState(true);
|
const [loading, setLoading] = useState(true);
|
||||||
|
|
||||||
const [showWaveform, setShowWaveform] = useState(false);
|
|
||||||
|
|
||||||
const [currentTime, setCurrentTime] = useState(0);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (display) {
|
if (display) {
|
||||||
const waveSurfer = WaveSurfer.create({
|
const audioUrlRequest = new Request(audioRef.current?.dataset.src, {
|
||||||
container: waveSurferContainerRef.current,
|
method: "GET",
|
||||||
dragToSeek: true,
|
headers: {
|
||||||
height: 25,
|
Authorization: api.authorizationHeader,
|
||||||
cursorColor: "#fb2376",
|
},
|
||||||
progressColor: "#fb2376",
|
|
||||||
waveColor: "#ffffff2f",
|
|
||||||
normalize: true,
|
|
||||||
barHeight: 0.6,
|
|
||||||
backend: "MediaElementWebAudio",
|
|
||||||
});
|
});
|
||||||
waveSurfer.load(url);
|
fetch(audioUrlRequest)
|
||||||
waveSurfer.on("load", () => {
|
.then((res) => res)
|
||||||
setLoading(true);
|
.then(async (result) => {
|
||||||
});
|
const blob = await result.blob();
|
||||||
waveSurfer.on("ready", () => {
|
const blobUrl = URL.createObjectURL(blob);
|
||||||
waveSurferRef.current = waveSurfer;
|
audioRef.current.src = blobUrl;
|
||||||
waveSurfer.play();
|
audioRef.current.play();
|
||||||
waveSurfer.setVolume(volume);
|
|
||||||
waveSurfer.setMuted(isMuted);
|
|
||||||
setPlayerReady(true);
|
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
});
|
});
|
||||||
waveSurfer.on("timeupdate", async (atime) => {
|
setAudioRef(audioRef);
|
||||||
setCurrentTime(atime);
|
|
||||||
});
|
|
||||||
waveSurfer.on("redraw", () => {
|
|
||||||
setShowWaveform(true);
|
|
||||||
});
|
|
||||||
waveSurfer.on("play", () => {
|
|
||||||
setPlaying(true);
|
|
||||||
});
|
|
||||||
waveSurfer.on("pause", () => {
|
|
||||||
setPlaying(false);
|
|
||||||
});
|
|
||||||
waveSurfer.on("finish", () => {
|
|
||||||
setPlaying(false);
|
|
||||||
if (currentTrack !== tracks.length - 1) {
|
|
||||||
setCurrentTrack(currentTrack + 1);
|
|
||||||
setAudioUrl(
|
|
||||||
`${api.basePath}/Audio/${
|
|
||||||
tracks[currentTrack + 1].Id
|
|
||||||
}/universal?deviceId=${api.deviceInfo.id}&userId=${
|
|
||||||
user.data.Id
|
|
||||||
}&api_key=${api.accessToken}`,
|
|
||||||
);
|
|
||||||
setAudioItem(tracks[currentTrack + 1]);
|
|
||||||
setShowWaveform(false);
|
|
||||||
}
|
}
|
||||||
});
|
}, [url, tracks[currentTrack]?.Id]);
|
||||||
waveSurfer.on("destroy", () => {
|
|
||||||
waveSurfer.unAll();
|
|
||||||
setLoading(true);
|
|
||||||
});
|
|
||||||
|
|
||||||
return () => {
|
const navigate = useNavigate();
|
||||||
waveSurfer.destroy();
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}, [url, currentTrack]);
|
|
||||||
|
|
||||||
useLayoutEffect(() => {
|
|
||||||
if (playerReady) {
|
|
||||||
waveSurferRef.current.setVolume(volume);
|
|
||||||
waveSurferRef.current.setMuted(isMuted);
|
|
||||||
}
|
|
||||||
}, [playerReady, volume, isMuted]);
|
|
||||||
|
|
||||||
const handlePlayPause = () => {
|
|
||||||
waveSurferRef.current.playPause();
|
|
||||||
};
|
|
||||||
|
|
||||||
const info = useMemo(
|
const info = useMemo(
|
||||||
() => (
|
() => (
|
||||||
@@ -222,7 +165,14 @@ const AudioPlayer = () => {
|
|||||||
position: "relative",
|
position: "relative",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Fab size="small" onClick={handlePlayPause}>
|
<Fab
|
||||||
|
size="small"
|
||||||
|
onClick={() =>
|
||||||
|
audioRef.current.paused
|
||||||
|
? audioRef.current.play()
|
||||||
|
: audioRef.current.pause()
|
||||||
|
}
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
className="material-symbols-rounded"
|
className="material-symbols-rounded"
|
||||||
style={{
|
style={{
|
||||||
@@ -248,6 +198,9 @@ const AudioPlayer = () => {
|
|||||||
justifyContent: "flex-end",
|
justifyContent: "flex-end",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<IconButton onClick={() => navigate({ to: "/player/audio" })}>
|
||||||
|
<span className="material-symbols-rounded">info</span>
|
||||||
|
</IconButton>
|
||||||
<QueueButton />
|
<QueueButton />
|
||||||
<IconButton
|
<IconButton
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
@@ -262,7 +215,10 @@ const AudioPlayer = () => {
|
|||||||
value={isMuted ? 0 : volume * 100}
|
value={isMuted ? 0 : volume * 100}
|
||||||
step={1}
|
step={1}
|
||||||
max={100}
|
max={100}
|
||||||
onChange={(e, newVal) => setVolume(newVal / 100)}
|
onChange={(e, newVal) => {
|
||||||
|
setVolume(newVal / 100);
|
||||||
|
audioRef.current.volume = newVal / 100;
|
||||||
|
}}
|
||||||
valueLabelDisplay="auto"
|
valueLabelDisplay="auto"
|
||||||
valueLabelFormat={(value) => Math.floor(value)}
|
valueLabelFormat={(value) => Math.floor(value)}
|
||||||
size="small"
|
size="small"
|
||||||
@@ -311,7 +267,12 @@ const AudioPlayer = () => {
|
|||||||
initial={{
|
initial={{
|
||||||
transform: "translateY(100%)",
|
transform: "translateY(100%)",
|
||||||
}}
|
}}
|
||||||
animate={{ transform: "translateY(0)" }}
|
animate={{
|
||||||
|
transform:
|
||||||
|
location.pathname === "/player/audio"
|
||||||
|
? "translateY(100%)"
|
||||||
|
: "translateY(0%)",
|
||||||
|
}}
|
||||||
exit={{
|
exit={{
|
||||||
transform: "translateY(100%)",
|
transform: "translateY(100%)",
|
||||||
}}
|
}}
|
||||||
@@ -325,7 +286,15 @@ const AudioPlayer = () => {
|
|||||||
className="audio-player glass"
|
className="audio-player glass"
|
||||||
>
|
>
|
||||||
{info}
|
{info}
|
||||||
|
<audio
|
||||||
|
data-src={url}
|
||||||
|
ref={audioRef}
|
||||||
|
key={item?.Id}
|
||||||
|
onTimeUpdate={(e) =>
|
||||||
|
setProgress(secToTicks(e.currentTarget.currentTime))
|
||||||
|
}
|
||||||
|
id="audio-player"
|
||||||
|
/>
|
||||||
<div className="audio-player-controls">
|
<div className="audio-player-controls">
|
||||||
{controls}
|
{controls}
|
||||||
<div
|
<div
|
||||||
@@ -344,12 +313,23 @@ const AudioPlayer = () => {
|
|||||||
opacity: 0.8,
|
opacity: 0.8,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{getRuntimeMusic(secToTicks(currentTime))}
|
{getRuntimeMusic(progress)}
|
||||||
</Typography>
|
</Typography>
|
||||||
<div
|
<Slider
|
||||||
id="waveform"
|
value={isScrubbing ? sliderProgress : progress}
|
||||||
ref={waveSurferContainerRef}
|
step={1}
|
||||||
data-show={Boolean(showWaveform)}
|
size="small"
|
||||||
|
max={item?.RunTimeTicks}
|
||||||
|
onChange={(e, value) => {
|
||||||
|
setIsScrubbing(true);
|
||||||
|
setSliderProgress(value);
|
||||||
|
}}
|
||||||
|
onChangeCommitted={(e, value) => {
|
||||||
|
setIsScrubbing(false);
|
||||||
|
// console.log(ticksToSec(value * item?.RunTimeTicks));
|
||||||
|
setProgress(value);
|
||||||
|
audioRef.current.currentTime = ticksToSec(value);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<Typography
|
<Typography
|
||||||
variant="subtitle2"
|
variant="subtitle2"
|
||||||
@@ -0,0 +1,114 @@
|
|||||||
|
import { getRuntimeMusic } from "@/utils/date/time";
|
||||||
|
import useQueue, { setQueue } from "@/utils/store/queue";
|
||||||
|
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
|
||||||
|
import { Typography } from "@mui/material";
|
||||||
|
import React from "react";
|
||||||
|
import { useCallback, useRef } from "react";
|
||||||
|
import { type XYCoord, useDrag, useDrop } from "react-dnd";
|
||||||
|
import type { Identifier } from "typescript";
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
track: BaseItemDto;
|
||||||
|
index: number;
|
||||||
|
};
|
||||||
|
const QueueTrack = (props: Props) => {
|
||||||
|
const { track, index } = props;
|
||||||
|
const [queue, currentItemIndex] = useQueue((s) => [
|
||||||
|
s.tracks,
|
||||||
|
s.currentItemIndex,
|
||||||
|
]);
|
||||||
|
const trackRef = useRef<HTMLDivElement | null>(null);
|
||||||
|
const handleQueueUpdate = useCallback(
|
||||||
|
(dragIndex: number, dropIndex: number) => {
|
||||||
|
const prevState = queue;
|
||||||
|
prevState.splice(dropIndex, 0, prevState.splice(dragIndex, 1)[0]);
|
||||||
|
setQueue(prevState, dropIndex);
|
||||||
|
},
|
||||||
|
[queue],
|
||||||
|
);
|
||||||
|
|
||||||
|
const [{ handlerId }, drop] = useDrop<
|
||||||
|
{
|
||||||
|
index: number;
|
||||||
|
id: string;
|
||||||
|
type: string;
|
||||||
|
},
|
||||||
|
void,
|
||||||
|
{ handlerId: Identifier | null }
|
||||||
|
>({
|
||||||
|
accept: "Row",
|
||||||
|
collect(monitor) {
|
||||||
|
return {
|
||||||
|
handlerId: monitor.getHandlerId(),
|
||||||
|
};
|
||||||
|
},
|
||||||
|
hover(hoverItem, monitor) {
|
||||||
|
console.log(hoverItem);
|
||||||
|
if (!trackRef.current) return;
|
||||||
|
|
||||||
|
const dragIndex = hoverItem.index;
|
||||||
|
const dropIndex = index;
|
||||||
|
|
||||||
|
if (dragIndex === dropIndex) return;
|
||||||
|
|
||||||
|
const hoverBoundingRect = trackRef.current?.getBoundingClientRect();
|
||||||
|
const hoverMiddleY =
|
||||||
|
(hoverBoundingRect.bottom - hoverBoundingRect.top) / 2;
|
||||||
|
|
||||||
|
const clientOffset = monitor.getClientOffset();
|
||||||
|
|
||||||
|
const hoverClientY = (clientOffset as XYCoord).y - hoverBoundingRect.top;
|
||||||
|
|
||||||
|
if (dragIndex < dropIndex && hoverClientY < hoverMiddleY) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dragIndex > dropIndex && hoverClientY > hoverMiddleY) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
handleQueueUpdate(dragIndex, dropIndex);
|
||||||
|
hoverItem.index = dropIndex;
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
const [{ isDragging }, drag] = useDrag({
|
||||||
|
type: "Row",
|
||||||
|
item: () => {
|
||||||
|
const id = track.Id;
|
||||||
|
return { id, index };
|
||||||
|
},
|
||||||
|
collect: (monitor) => ({
|
||||||
|
isDragging: monitor.isDragging(),
|
||||||
|
}),
|
||||||
|
});
|
||||||
|
|
||||||
|
drag(drop(trackRef));
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
ref={trackRef}
|
||||||
|
style={{ opacity: isDragging ? 0.5 : 1 }}
|
||||||
|
className={
|
||||||
|
currentItemIndex === index
|
||||||
|
? "audio-queue-track active"
|
||||||
|
: "audio-queue-track"
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<span className="material-symbols-rounded">drag_handle</span>
|
||||||
|
<div className="audio-queue-track-info">
|
||||||
|
<Typography className="audio-queue-track-info-name">
|
||||||
|
{track.Name}
|
||||||
|
</Typography>
|
||||||
|
<Typography fontWeight={300} className="opacity-07" variant="subtitle2">
|
||||||
|
{track.Artists?.join(", ")}
|
||||||
|
</Typography>
|
||||||
|
</div>
|
||||||
|
<Typography className="opacity-07">
|
||||||
|
{getRuntimeMusic(track.RunTimeTicks)}
|
||||||
|
</Typography>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default QueueTrack;
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
import { getSetting, setSetting } from "@/utils/storage/settings";
|
||||||
|
import { FormControlLabel, Switch, Typography } from "@mui/material";
|
||||||
|
import React, { useState } from "react";
|
||||||
|
|
||||||
|
const SettingOption = ({
|
||||||
|
setting,
|
||||||
|
}: { setting: { key: string; name: string; description: string } }) => {
|
||||||
|
const [settingVal, setSettingVal] = useState(
|
||||||
|
async () => (await getSetting(setting.key)) ?? false,
|
||||||
|
);
|
||||||
|
return (
|
||||||
|
<FormControlLabel
|
||||||
|
control={
|
||||||
|
<Switch
|
||||||
|
color="primary"
|
||||||
|
checked={settingVal}
|
||||||
|
onChange={(e) => {
|
||||||
|
setSetting(setting.key, e.target.checked);
|
||||||
|
setSettingVal(e.target.checked);
|
||||||
|
}}
|
||||||
|
name={setting.name}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
label={
|
||||||
|
<div className="settings-option-info">
|
||||||
|
<Typography variant="subtitle1" fontWeight={400}>
|
||||||
|
{setting.name}
|
||||||
|
</Typography>
|
||||||
|
<Typography
|
||||||
|
variant="caption"
|
||||||
|
className="settings-option-info-caption"
|
||||||
|
>
|
||||||
|
{setting.description}
|
||||||
|
</Typography>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
labelPlacement="start"
|
||||||
|
className="settings-option"
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default SettingOption;
|
||||||
@@ -28,7 +28,7 @@ import React, { useEffect, useState } from "react";
|
|||||||
|
|
||||||
import logo from "@/assets/logo.png";
|
import logo from "@/assets/logo.png";
|
||||||
|
|
||||||
import { createApi, jellyfin, useApiInContext } from "@/utils/store/api";
|
import { jellyfin, useApiInContext } from "@/utils/store/api";
|
||||||
import { useCentralStore } from "@/utils/store/central";
|
import { useCentralStore } from "@/utils/store/central";
|
||||||
import { getSystemApi } from "@jellyfin/sdk/lib/utils/api/system-api";
|
import { getSystemApi } from "@jellyfin/sdk/lib/utils/api/system-api";
|
||||||
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
||||||
@@ -41,14 +41,16 @@ import {
|
|||||||
setDefaultServer,
|
setDefaultServer,
|
||||||
setServer,
|
setServer,
|
||||||
} from "@/utils/storage/servers";
|
} from "@/utils/storage/servers";
|
||||||
|
import { allSettings, getSetting, setSetting } from "@/utils/storage/settings";
|
||||||
import { delUser } from "@/utils/storage/user";
|
import { delUser } from "@/utils/storage/user";
|
||||||
import type { RecommendedServerInfo } from "@jellyfin/sdk";
|
import type { RecommendedServerInfo } from "@jellyfin/sdk";
|
||||||
import { LoadingButton } from "@mui/lab";
|
import { LoadingButton } from "@mui/lab";
|
||||||
import { red, yellow } from "@mui/material/colors";
|
import { red, yellow } from "@mui/material/colors";
|
||||||
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
import { useNavigate, useRouteContext } from "@tanstack/react-router";
|
||||||
import { relaunch } from "@tauri-apps/api/process";
|
import { relaunch } from "@tauri-apps/plugin-process";
|
||||||
import { checkUpdate, installUpdate } from "@tauri-apps/api/updater";
|
import { type Update, check } from "@tauri-apps/plugin-updater";
|
||||||
import { enqueueSnackbar, useSnackbar } from "notistack";
|
import { useSnackbar } from "notistack";
|
||||||
|
import SettingOption from "../settingOption";
|
||||||
|
|
||||||
const motionConfig = {
|
const motionConfig = {
|
||||||
initial: {
|
initial: {
|
||||||
@@ -64,7 +66,9 @@ const Settings = () => {
|
|||||||
state.dialogOpen,
|
state.dialogOpen,
|
||||||
state.tabValue,
|
state.tabValue,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const api = useApiInContext((s) => s.api);
|
const api = useApiInContext((s) => s.api);
|
||||||
|
const createApi = useApiInContext((s) => s.createApi);
|
||||||
|
|
||||||
const systemInfo = useQuery({
|
const systemInfo = useQuery({
|
||||||
queryKey: ["about", "systemInfo"],
|
queryKey: ["about", "systemInfo"],
|
||||||
@@ -91,7 +95,7 @@ const Settings = () => {
|
|||||||
|
|
||||||
const updateInfo = useQuery({
|
const updateInfo = useQuery({
|
||||||
queryKey: ["about", "updater"],
|
queryKey: ["about", "updater"],
|
||||||
queryFn: async () => await checkUpdate(),
|
queryFn: async () => await check(),
|
||||||
enabled: open,
|
enabled: open,
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -117,7 +121,7 @@ const Settings = () => {
|
|||||||
},
|
},
|
||||||
onSuccess: async () => {
|
onSuccess: async () => {
|
||||||
setSettingsDialogOpen(false);
|
setSettingsDialogOpen(false);
|
||||||
navigate({ to: "/login/index" });
|
navigate({ to: "/login" });
|
||||||
},
|
},
|
||||||
onError: (error) => {
|
onError: (error) => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
@@ -259,27 +263,8 @@ const Settings = () => {
|
|||||||
{/* General */}
|
{/* General */}
|
||||||
{tabValue === 1 && (
|
{tabValue === 1 && (
|
||||||
<div className="settings-container">
|
<div className="settings-container">
|
||||||
{Array.from(new Array(10)).map((i) => (
|
{allSettings.general.map((setting) => (
|
||||||
<FormControlLabel
|
<SettingOption key={setting.key} setting={setting} />
|
||||||
key={i}
|
|
||||||
value="start"
|
|
||||||
control={<Switch color="primary" />}
|
|
||||||
label={
|
|
||||||
<div className="settings-option-info">
|
|
||||||
<Typography variant="subtitle1">
|
|
||||||
Some dummy setting
|
|
||||||
</Typography>
|
|
||||||
<Typography
|
|
||||||
variant="caption"
|
|
||||||
className="settings-option-info-caption"
|
|
||||||
>
|
|
||||||
this a test
|
|
||||||
</Typography>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
labelPlacement="start"
|
|
||||||
className="settings-option"
|
|
||||||
/>
|
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@@ -436,7 +421,7 @@ const Settings = () => {
|
|||||||
className="material-symbols-rounded"
|
className="material-symbols-rounded"
|
||||||
style={{ "--wght": 500 }}
|
style={{ "--wght": 500 }}
|
||||||
>
|
>
|
||||||
{updateInfo.data?.shouldUpdate
|
{updateInfo.data?.available
|
||||||
? "new_release"
|
? "new_release"
|
||||||
: "new_releases"}
|
: "new_releases"}
|
||||||
</span>
|
</span>
|
||||||
@@ -446,9 +431,7 @@ const Settings = () => {
|
|||||||
{applicationVersion}
|
{applicationVersion}
|
||||||
</Typography>
|
</Typography>
|
||||||
}
|
}
|
||||||
color={
|
color={updateInfo.data?.available ? "error" : "success"}
|
||||||
updateInfo.data?.shouldUpdate ? "error" : "success"
|
|
||||||
}
|
|
||||||
size="small"
|
size="small"
|
||||||
style={{
|
style={{
|
||||||
width: "fit-content !important",
|
width: "fit-content !important",
|
||||||
@@ -462,7 +445,7 @@ const Settings = () => {
|
|||||||
<Typography variant="subtitle2">
|
<Typography variant="subtitle2">
|
||||||
{updateInfo.isFetching ? (
|
{updateInfo.isFetching ? (
|
||||||
"Checking for new updates..."
|
"Checking for new updates..."
|
||||||
) : updateInfo.data?.shouldUpdate ? (
|
) : updateInfo.data?.available ? (
|
||||||
<Chip
|
<Chip
|
||||||
icon={
|
icon={
|
||||||
<span className="material-symbols-rounded">
|
<span className="material-symbols-rounded">
|
||||||
@@ -491,12 +474,12 @@ const Settings = () => {
|
|||||||
}}
|
}}
|
||||||
loading={updateInfo.isFetching || updating}
|
loading={updateInfo.isFetching || updating}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
disabled={!updateInfo.data?.shouldUpdate}
|
disabled={!updateInfo.data?.available}
|
||||||
loadingPosition="start"
|
loadingPosition="start"
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
if (updateInfo.data?.shouldUpdate) {
|
if (updateInfo.data?.available) {
|
||||||
setUpdating(true);
|
setUpdating(true);
|
||||||
await installUpdate();
|
await updateInfo.data?.downloadAndInstall();
|
||||||
enqueueSnackbar(
|
enqueueSnackbar(
|
||||||
"Update has been installed! You need to relaunch JellyPlayer.",
|
"Update has been installed! You need to relaunch JellyPlayer.",
|
||||||
{
|
{
|
||||||
@@ -509,7 +492,7 @@ const Settings = () => {
|
|||||||
>
|
>
|
||||||
{updateInfo.isFetching
|
{updateInfo.isFetching
|
||||||
? "Checking for Update..."
|
? "Checking for Update..."
|
||||||
: updateInfo.data?.shouldUpdate
|
: updateInfo.data?.available
|
||||||
? "Update"
|
? "Update"
|
||||||
: "No Update Found"}
|
: "No Update Found"}
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
import { Skeleton } from "@mui/material";
|
||||||
|
import React from "react";
|
||||||
|
|
||||||
|
const LibraryItemsSkeleton = () => {
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
style={{
|
||||||
|
display: "flex",
|
||||||
|
width: "100%",
|
||||||
|
overflow: "visible",
|
||||||
|
flexWrap: "wrap",
|
||||||
|
alignItems: "center",
|
||||||
|
justifyContent: "center",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{Array.from(new Array(18)).map((item, index) => (
|
||||||
|
<Skeleton
|
||||||
|
key={index}
|
||||||
|
variant="rounded"
|
||||||
|
sx={{
|
||||||
|
flexBasis: 185,
|
||||||
|
height: "auto",
|
||||||
|
aspectRatio: 0.6666,
|
||||||
|
// background: "red",
|
||||||
|
marginRight: "1.5em",
|
||||||
|
marginBottom: "1.5em",
|
||||||
|
flexShrink: 1,
|
||||||
|
flexGrow: 0,
|
||||||
|
borderRadius: "10px",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default LibraryItemsSkeleton;
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import Divider from "@mui/material/Divider";
|
import Divider from "@mui/material/Divider";
|
||||||
|
import Grid from "@mui/material/Grid2";
|
||||||
import Skeleton from "@mui/material/Skeleton";
|
import Skeleton from "@mui/material/Skeleton";
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
import Grid from "@mui/material/Unstable_Grid2";
|
|
||||||
import EpisodeSkeleton from "./episode";
|
import EpisodeSkeleton from "./episode";
|
||||||
|
|
||||||
export const SeasonSelectorSkeleton = () => {
|
export const SeasonSelectorSkeleton = () => {
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
import { Typography } from "@mui/material";
|
||||||
|
import { Link, type LinkProps } from "@tanstack/react-router";
|
||||||
|
import React from "react";
|
||||||
|
|
||||||
|
import "./tagChip.scss";
|
||||||
|
|
||||||
|
const TagChip = ({
|
||||||
|
label,
|
||||||
|
linkProps,
|
||||||
|
}: { label: string; linkProps: LinkProps }) => {
|
||||||
|
return (
|
||||||
|
<Link className="tag" to="/search" search={{ query: label }} {...linkProps}>
|
||||||
|
<Typography variant="subtitle2" fontWeight={300}>
|
||||||
|
{label}
|
||||||
|
</Typography>
|
||||||
|
</Link>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default TagChip;
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
.tag {
|
||||||
|
display: flex;
|
||||||
|
padding: 0.4em 0.8em;
|
||||||
|
color: white;
|
||||||
|
text-decoration: none;
|
||||||
|
gap: 0.2em;
|
||||||
|
border: 1px solid rgb(255 255 255 / 0.3);
|
||||||
|
border-radius: 4em;
|
||||||
|
.MuiTypography-root {
|
||||||
|
white-space: nowrap;
|
||||||
|
transition: $transition-time-fast;
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
border-color: rgb(255 255 255 / 0.8) !important;
|
||||||
|
.MuiTypography-root {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
export const getTypeIcon = (icon) => {
|
export const getTypeIcon = (icon: BaseItemKind) => {
|
||||||
switch (icon) {
|
switch (icon) {
|
||||||
case "Home":
|
case "Home":
|
||||||
return <div className="material-symbols-rounded">home</div>;
|
return <div className="material-symbols-rounded">home</div>;
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
import { EventEmitter as eventEmitter } from "events";
|
|
||||||
|
|
||||||
export const EventEmitter = new eventEmitter();
|
|
||||||
@@ -1,17 +1,32 @@
|
|||||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||||
import { RouterProvider, createRouter } from "@tanstack/react-router";
|
import {
|
||||||
|
RouterProvider,
|
||||||
|
createRouteMask,
|
||||||
|
createRouter,
|
||||||
|
} from "@tanstack/react-router";
|
||||||
import React, { Suspense } from "react";
|
import React, { Suspense } from "react";
|
||||||
import ReactDOM from "react-dom/client";
|
import ReactDOM from "react-dom/client";
|
||||||
// Import the generated route tree
|
// Import the generated route tree
|
||||||
import { routeTree } from "./routeTree.gen";
|
import { routeTree } from "./routeTree.gen";
|
||||||
|
|
||||||
|
//TODO: Need help implementing modal routes in TanStack Router
|
||||||
|
// const SearchMask = createRouteMask({
|
||||||
|
// routeTree,
|
||||||
|
// from: "/searchModal,
|
||||||
|
// to: "/search",
|
||||||
|
// params: true,
|
||||||
|
// });
|
||||||
|
|
||||||
// Create a new router instance
|
// Create a new router instance
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
routeTree,
|
routeTree,
|
||||||
context: {
|
context: {
|
||||||
api: undefined!,
|
api: undefined!,
|
||||||
createApi: undefined!,
|
createApi: undefined!,
|
||||||
|
user: undefined,
|
||||||
|
jellyfinSDK: undefined!,
|
||||||
},
|
},
|
||||||
|
defaultPreload: "intent",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Register the router instance for type safety
|
// Register the router instance for type safety
|
||||||
@@ -21,9 +36,6 @@ declare module "@tanstack/react-router" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
import { ThemeProvider } from "@mui/material";
|
|
||||||
import { SnackbarProvider } from "notistack";
|
|
||||||
import { theme } from "./theme";
|
|
||||||
import { ApiProvider, useApiInContext } from "./utils/store/api";
|
import { ApiProvider, useApiInContext } from "./utils/store/api";
|
||||||
|
|
||||||
export const queryClient = new QueryClient({
|
export const queryClient = new QueryClient({
|
||||||
@@ -38,9 +50,14 @@ export const queryClient = new QueryClient({
|
|||||||
});
|
});
|
||||||
|
|
||||||
function ProviderWrapper() {
|
function ProviderWrapper() {
|
||||||
const api = useApiInContext((s) => s.api);
|
const [api, createApi, jellyfinSDK] = useApiInContext((s) => [
|
||||||
const createApi = useApiInContext((s) => s.createApi);
|
s.api,
|
||||||
return <RouterProvider router={router} context={{ api, createApi }} />;
|
s.createApi,
|
||||||
|
s.jellyfin,
|
||||||
|
]);
|
||||||
|
return (
|
||||||
|
<RouterProvider router={router} context={{ api, createApi, jellyfinSDK }} />
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReactDOM.createRoot(document.getElementById("root")!).render(
|
ReactDOM.createRoot(document.getElementById("root")!).render(
|
||||||
|
|||||||
@@ -13,9 +13,12 @@
|
|||||||
import { Route as rootRoute } from './routes/__root'
|
import { Route as rootRoute } from './routes/__root'
|
||||||
import { Route as ApiImport } from './routes/_api'
|
import { Route as ApiImport } from './routes/_api'
|
||||||
import { Route as IndexImport } from './routes/index'
|
import { Route as IndexImport } from './routes/index'
|
||||||
|
import { Route as ErrorCodeImport } from './routes/error/$code'
|
||||||
|
import { Route as ApiSearchImport } from './routes/_api/search'
|
||||||
|
import { Route as ApiLoginImport } from './routes/_api/login'
|
||||||
|
import { Route as ApiLibraryImport } from './routes/_api/library'
|
||||||
import { Route as ApiSearchIndexImport } from './routes/_api/search/index'
|
import { Route as ApiSearchIndexImport } from './routes/_api/search/index'
|
||||||
import { Route as ApiPlayerIndexImport } from './routes/_api/player/index'
|
import { Route as ApiPlayerIndexImport } from './routes/_api/player/index'
|
||||||
import { Route as ApiLoginIndexImport } from './routes/_api/login/index'
|
|
||||||
import { Route as ApiHomeIndexImport } from './routes/_api/home/index'
|
import { Route as ApiHomeIndexImport } from './routes/_api/home/index'
|
||||||
import { Route as ApiFavoriteIndexImport } from './routes/_api/favorite/index'
|
import { Route as ApiFavoriteIndexImport } from './routes/_api/favorite/index'
|
||||||
import { Route as SetupServerListImport } from './routes/setup/server.list'
|
import { Route as SetupServerListImport } from './routes/setup/server.list'
|
||||||
@@ -23,6 +26,7 @@ import { Route as SetupServerErrorImport } from './routes/setup/server.error'
|
|||||||
import { Route as SetupServerAddImport } from './routes/setup/server.add'
|
import { Route as SetupServerAddImport } from './routes/setup/server.add'
|
||||||
import { Route as ApiSeriesIdImport } from './routes/_api/series/$id'
|
import { Route as ApiSeriesIdImport } from './routes/_api/series/$id'
|
||||||
import { Route as ApiPlaylistIdImport } from './routes/_api/playlist/$id'
|
import { Route as ApiPlaylistIdImport } from './routes/_api/playlist/$id'
|
||||||
|
import { Route as ApiPlayerAudioImport } from './routes/_api/player/audio'
|
||||||
import { Route as ApiPersonIdImport } from './routes/_api/person/$id'
|
import { Route as ApiPersonIdImport } from './routes/_api/person/$id'
|
||||||
import { Route as ApiLoginManualImport } from './routes/_api/login/manual'
|
import { Route as ApiLoginManualImport } from './routes/_api/login/manual'
|
||||||
import { Route as ApiLoginListImport } from './routes/_api/login/list'
|
import { Route as ApiLoginListImport } from './routes/_api/login/list'
|
||||||
@@ -46,21 +50,36 @@ const IndexRoute = IndexImport.update({
|
|||||||
getParentRoute: () => rootRoute,
|
getParentRoute: () => rootRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const ApiSearchIndexRoute = ApiSearchIndexImport.update({
|
const ErrorCodeRoute = ErrorCodeImport.update({
|
||||||
path: '/search/',
|
path: '/error/$code',
|
||||||
|
getParentRoute: () => rootRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
|
const ApiSearchRoute = ApiSearchImport.update({
|
||||||
|
path: '/search',
|
||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
|
const ApiLoginRoute = ApiLoginImport.update({
|
||||||
|
path: '/login',
|
||||||
|
getParentRoute: () => ApiRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
|
const ApiLibraryRoute = ApiLibraryImport.update({
|
||||||
|
path: '/library',
|
||||||
|
getParentRoute: () => ApiRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
|
const ApiSearchIndexRoute = ApiSearchIndexImport.update({
|
||||||
|
path: '/',
|
||||||
|
getParentRoute: () => ApiSearchRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
const ApiPlayerIndexRoute = ApiPlayerIndexImport.update({
|
const ApiPlayerIndexRoute = ApiPlayerIndexImport.update({
|
||||||
path: '/player/',
|
path: '/player/',
|
||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const ApiLoginIndexRoute = ApiLoginIndexImport.update({
|
|
||||||
path: '/login/',
|
|
||||||
getParentRoute: () => ApiRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const ApiHomeIndexRoute = ApiHomeIndexImport.update({
|
const ApiHomeIndexRoute = ApiHomeIndexImport.update({
|
||||||
path: '/home/',
|
path: '/home/',
|
||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiRoute,
|
||||||
@@ -96,24 +115,29 @@ const ApiPlaylistIdRoute = ApiPlaylistIdImport.update({
|
|||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
|
const ApiPlayerAudioRoute = ApiPlayerAudioImport.update({
|
||||||
|
path: '/player/audio',
|
||||||
|
getParentRoute: () => ApiRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
const ApiPersonIdRoute = ApiPersonIdImport.update({
|
const ApiPersonIdRoute = ApiPersonIdImport.update({
|
||||||
path: '/person/$id',
|
path: '/person/$id',
|
||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const ApiLoginManualRoute = ApiLoginManualImport.update({
|
const ApiLoginManualRoute = ApiLoginManualImport.update({
|
||||||
path: '/login/manual',
|
path: '/manual',
|
||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiLoginRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const ApiLoginListRoute = ApiLoginListImport.update({
|
const ApiLoginListRoute = ApiLoginListImport.update({
|
||||||
path: '/login/list',
|
path: '/list',
|
||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiLoginRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const ApiLibraryIdRoute = ApiLibraryIdImport.update({
|
const ApiLibraryIdRoute = ApiLibraryIdImport.update({
|
||||||
path: '/library/$id',
|
path: '/$id',
|
||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiLibraryRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const ApiItemIdRoute = ApiItemIdImport.update({
|
const ApiItemIdRoute = ApiItemIdImport.update({
|
||||||
@@ -142,8 +166,8 @@ const ApiAlbumIdRoute = ApiAlbumIdImport.update({
|
|||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const ApiLoginUserIdUserNameRoute = ApiLoginUserIdUserNameImport.update({
|
const ApiLoginUserIdUserNameRoute = ApiLoginUserIdUserNameImport.update({
|
||||||
path: '/login/$userId/$userName',
|
path: '/$userId/$userName',
|
||||||
getParentRoute: () => ApiRoute,
|
getParentRoute: () => ApiLoginRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
// Populate the FileRoutesByPath interface
|
// Populate the FileRoutesByPath interface
|
||||||
@@ -164,6 +188,34 @@ declare module '@tanstack/react-router' {
|
|||||||
preLoaderRoute: typeof ApiImport
|
preLoaderRoute: typeof ApiImport
|
||||||
parentRoute: typeof rootRoute
|
parentRoute: typeof rootRoute
|
||||||
}
|
}
|
||||||
|
'/_api/library': {
|
||||||
|
id: '/_api/library'
|
||||||
|
path: '/library'
|
||||||
|
fullPath: '/library'
|
||||||
|
preLoaderRoute: typeof ApiLibraryImport
|
||||||
|
parentRoute: typeof ApiImport
|
||||||
|
}
|
||||||
|
'/_api/login': {
|
||||||
|
id: '/_api/login'
|
||||||
|
path: '/login'
|
||||||
|
fullPath: '/login'
|
||||||
|
preLoaderRoute: typeof ApiLoginImport
|
||||||
|
parentRoute: typeof ApiImport
|
||||||
|
}
|
||||||
|
'/_api/search': {
|
||||||
|
id: '/_api/search'
|
||||||
|
path: '/search'
|
||||||
|
fullPath: '/search'
|
||||||
|
preLoaderRoute: typeof ApiSearchImport
|
||||||
|
parentRoute: typeof ApiImport
|
||||||
|
}
|
||||||
|
'/error/$code': {
|
||||||
|
id: '/error/$code'
|
||||||
|
path: '/error/$code'
|
||||||
|
fullPath: '/error/$code'
|
||||||
|
preLoaderRoute: typeof ErrorCodeImport
|
||||||
|
parentRoute: typeof rootRoute
|
||||||
|
}
|
||||||
'/_api/album/$id': {
|
'/_api/album/$id': {
|
||||||
id: '/_api/album/$id'
|
id: '/_api/album/$id'
|
||||||
path: '/album/$id'
|
path: '/album/$id'
|
||||||
@@ -201,24 +253,24 @@ declare module '@tanstack/react-router' {
|
|||||||
}
|
}
|
||||||
'/_api/library/$id': {
|
'/_api/library/$id': {
|
||||||
id: '/_api/library/$id'
|
id: '/_api/library/$id'
|
||||||
path: '/library/$id'
|
path: '/$id'
|
||||||
fullPath: '/library/$id'
|
fullPath: '/library/$id'
|
||||||
preLoaderRoute: typeof ApiLibraryIdImport
|
preLoaderRoute: typeof ApiLibraryIdImport
|
||||||
parentRoute: typeof ApiImport
|
parentRoute: typeof ApiLibraryImport
|
||||||
}
|
}
|
||||||
'/_api/login/list': {
|
'/_api/login/list': {
|
||||||
id: '/_api/login/list'
|
id: '/_api/login/list'
|
||||||
path: '/login/list'
|
path: '/list'
|
||||||
fullPath: '/login/list'
|
fullPath: '/login/list'
|
||||||
preLoaderRoute: typeof ApiLoginListImport
|
preLoaderRoute: typeof ApiLoginListImport
|
||||||
parentRoute: typeof ApiImport
|
parentRoute: typeof ApiLoginImport
|
||||||
}
|
}
|
||||||
'/_api/login/manual': {
|
'/_api/login/manual': {
|
||||||
id: '/_api/login/manual'
|
id: '/_api/login/manual'
|
||||||
path: '/login/manual'
|
path: '/manual'
|
||||||
fullPath: '/login/manual'
|
fullPath: '/login/manual'
|
||||||
preLoaderRoute: typeof ApiLoginManualImport
|
preLoaderRoute: typeof ApiLoginManualImport
|
||||||
parentRoute: typeof ApiImport
|
parentRoute: typeof ApiLoginImport
|
||||||
}
|
}
|
||||||
'/_api/person/$id': {
|
'/_api/person/$id': {
|
||||||
id: '/_api/person/$id'
|
id: '/_api/person/$id'
|
||||||
@@ -227,6 +279,13 @@ declare module '@tanstack/react-router' {
|
|||||||
preLoaderRoute: typeof ApiPersonIdImport
|
preLoaderRoute: typeof ApiPersonIdImport
|
||||||
parentRoute: typeof ApiImport
|
parentRoute: typeof ApiImport
|
||||||
}
|
}
|
||||||
|
'/_api/player/audio': {
|
||||||
|
id: '/_api/player/audio'
|
||||||
|
path: '/player/audio'
|
||||||
|
fullPath: '/player/audio'
|
||||||
|
preLoaderRoute: typeof ApiPlayerAudioImport
|
||||||
|
parentRoute: typeof ApiImport
|
||||||
|
}
|
||||||
'/_api/playlist/$id': {
|
'/_api/playlist/$id': {
|
||||||
id: '/_api/playlist/$id'
|
id: '/_api/playlist/$id'
|
||||||
path: '/playlist/$id'
|
path: '/playlist/$id'
|
||||||
@@ -276,13 +335,6 @@ declare module '@tanstack/react-router' {
|
|||||||
preLoaderRoute: typeof ApiHomeIndexImport
|
preLoaderRoute: typeof ApiHomeIndexImport
|
||||||
parentRoute: typeof ApiImport
|
parentRoute: typeof ApiImport
|
||||||
}
|
}
|
||||||
'/_api/login/': {
|
|
||||||
id: '/_api/login/'
|
|
||||||
path: '/login'
|
|
||||||
fullPath: '/login'
|
|
||||||
preLoaderRoute: typeof ApiLoginIndexImport
|
|
||||||
parentRoute: typeof ApiImport
|
|
||||||
}
|
|
||||||
'/_api/player/': {
|
'/_api/player/': {
|
||||||
id: '/_api/player/'
|
id: '/_api/player/'
|
||||||
path: '/player'
|
path: '/player'
|
||||||
@@ -292,48 +344,294 @@ declare module '@tanstack/react-router' {
|
|||||||
}
|
}
|
||||||
'/_api/search/': {
|
'/_api/search/': {
|
||||||
id: '/_api/search/'
|
id: '/_api/search/'
|
||||||
path: '/search'
|
path: '/'
|
||||||
fullPath: '/search'
|
fullPath: '/search/'
|
||||||
preLoaderRoute: typeof ApiSearchIndexImport
|
preLoaderRoute: typeof ApiSearchIndexImport
|
||||||
parentRoute: typeof ApiImport
|
parentRoute: typeof ApiSearchImport
|
||||||
}
|
}
|
||||||
'/_api/login/$userId/$userName': {
|
'/_api/login/$userId/$userName': {
|
||||||
id: '/_api/login/$userId/$userName'
|
id: '/_api/login/$userId/$userName'
|
||||||
path: '/login/$userId/$userName'
|
path: '/$userId/$userName'
|
||||||
fullPath: '/login/$userId/$userName'
|
fullPath: '/login/$userId/$userName'
|
||||||
preLoaderRoute: typeof ApiLoginUserIdUserNameImport
|
preLoaderRoute: typeof ApiLoginUserIdUserNameImport
|
||||||
parentRoute: typeof ApiImport
|
parentRoute: typeof ApiLoginImport
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create and export the route tree
|
// Create and export the route tree
|
||||||
|
|
||||||
export const routeTree = rootRoute.addChildren({
|
interface ApiLibraryRouteChildren {
|
||||||
IndexRoute,
|
ApiLibraryIdRoute: typeof ApiLibraryIdRoute
|
||||||
ApiRoute: ApiRoute.addChildren({
|
}
|
||||||
ApiAlbumIdRoute,
|
|
||||||
ApiArtistIdRoute,
|
const ApiLibraryRouteChildren: ApiLibraryRouteChildren = {
|
||||||
ApiBoxsetIdRoute,
|
ApiLibraryIdRoute: ApiLibraryIdRoute,
|
||||||
ApiEpisodeIdRoute,
|
}
|
||||||
ApiItemIdRoute,
|
|
||||||
ApiLibraryIdRoute,
|
const ApiLibraryRouteWithChildren = ApiLibraryRoute._addFileChildren(
|
||||||
ApiLoginListRoute,
|
ApiLibraryRouteChildren,
|
||||||
ApiLoginManualRoute,
|
)
|
||||||
ApiPersonIdRoute,
|
|
||||||
ApiPlaylistIdRoute,
|
interface ApiLoginRouteChildren {
|
||||||
ApiSeriesIdRoute,
|
ApiLoginListRoute: typeof ApiLoginListRoute
|
||||||
ApiFavoriteIndexRoute,
|
ApiLoginManualRoute: typeof ApiLoginManualRoute
|
||||||
ApiHomeIndexRoute,
|
ApiLoginUserIdUserNameRoute: typeof ApiLoginUserIdUserNameRoute
|
||||||
ApiLoginIndexRoute,
|
}
|
||||||
ApiPlayerIndexRoute,
|
|
||||||
ApiSearchIndexRoute,
|
const ApiLoginRouteChildren: ApiLoginRouteChildren = {
|
||||||
ApiLoginUserIdUserNameRoute,
|
ApiLoginListRoute: ApiLoginListRoute,
|
||||||
}),
|
ApiLoginManualRoute: ApiLoginManualRoute,
|
||||||
SetupServerAddRoute,
|
ApiLoginUserIdUserNameRoute: ApiLoginUserIdUserNameRoute,
|
||||||
SetupServerErrorRoute,
|
}
|
||||||
SetupServerListRoute,
|
|
||||||
})
|
const ApiLoginRouteWithChildren = ApiLoginRoute._addFileChildren(
|
||||||
|
ApiLoginRouteChildren,
|
||||||
|
)
|
||||||
|
|
||||||
|
interface ApiSearchRouteChildren {
|
||||||
|
ApiSearchIndexRoute: typeof ApiSearchIndexRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
const ApiSearchRouteChildren: ApiSearchRouteChildren = {
|
||||||
|
ApiSearchIndexRoute: ApiSearchIndexRoute,
|
||||||
|
}
|
||||||
|
|
||||||
|
const ApiSearchRouteWithChildren = ApiSearchRoute._addFileChildren(
|
||||||
|
ApiSearchRouteChildren,
|
||||||
|
)
|
||||||
|
|
||||||
|
interface ApiRouteChildren {
|
||||||
|
ApiLibraryRoute: typeof ApiLibraryRouteWithChildren
|
||||||
|
ApiLoginRoute: typeof ApiLoginRouteWithChildren
|
||||||
|
ApiSearchRoute: typeof ApiSearchRouteWithChildren
|
||||||
|
ApiAlbumIdRoute: typeof ApiAlbumIdRoute
|
||||||
|
ApiArtistIdRoute: typeof ApiArtistIdRoute
|
||||||
|
ApiBoxsetIdRoute: typeof ApiBoxsetIdRoute
|
||||||
|
ApiEpisodeIdRoute: typeof ApiEpisodeIdRoute
|
||||||
|
ApiItemIdRoute: typeof ApiItemIdRoute
|
||||||
|
ApiPersonIdRoute: typeof ApiPersonIdRoute
|
||||||
|
ApiPlayerAudioRoute: typeof ApiPlayerAudioRoute
|
||||||
|
ApiPlaylistIdRoute: typeof ApiPlaylistIdRoute
|
||||||
|
ApiSeriesIdRoute: typeof ApiSeriesIdRoute
|
||||||
|
ApiFavoriteIndexRoute: typeof ApiFavoriteIndexRoute
|
||||||
|
ApiHomeIndexRoute: typeof ApiHomeIndexRoute
|
||||||
|
ApiPlayerIndexRoute: typeof ApiPlayerIndexRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
const ApiRouteChildren: ApiRouteChildren = {
|
||||||
|
ApiLibraryRoute: ApiLibraryRouteWithChildren,
|
||||||
|
ApiLoginRoute: ApiLoginRouteWithChildren,
|
||||||
|
ApiSearchRoute: ApiSearchRouteWithChildren,
|
||||||
|
ApiAlbumIdRoute: ApiAlbumIdRoute,
|
||||||
|
ApiArtistIdRoute: ApiArtistIdRoute,
|
||||||
|
ApiBoxsetIdRoute: ApiBoxsetIdRoute,
|
||||||
|
ApiEpisodeIdRoute: ApiEpisodeIdRoute,
|
||||||
|
ApiItemIdRoute: ApiItemIdRoute,
|
||||||
|
ApiPersonIdRoute: ApiPersonIdRoute,
|
||||||
|
ApiPlayerAudioRoute: ApiPlayerAudioRoute,
|
||||||
|
ApiPlaylistIdRoute: ApiPlaylistIdRoute,
|
||||||
|
ApiSeriesIdRoute: ApiSeriesIdRoute,
|
||||||
|
ApiFavoriteIndexRoute: ApiFavoriteIndexRoute,
|
||||||
|
ApiHomeIndexRoute: ApiHomeIndexRoute,
|
||||||
|
ApiPlayerIndexRoute: ApiPlayerIndexRoute,
|
||||||
|
}
|
||||||
|
|
||||||
|
const ApiRouteWithChildren = ApiRoute._addFileChildren(ApiRouteChildren)
|
||||||
|
|
||||||
|
interface FileRoutesByFullPath {
|
||||||
|
'/': typeof IndexRoute
|
||||||
|
'': typeof ApiRouteWithChildren
|
||||||
|
'/library': typeof ApiLibraryRouteWithChildren
|
||||||
|
'/login': typeof ApiLoginRouteWithChildren
|
||||||
|
'/search': typeof ApiSearchRouteWithChildren
|
||||||
|
'/error/$code': typeof ErrorCodeRoute
|
||||||
|
'/album/$id': typeof ApiAlbumIdRoute
|
||||||
|
'/artist/$id': typeof ApiArtistIdRoute
|
||||||
|
'/boxset/$id': typeof ApiBoxsetIdRoute
|
||||||
|
'/episode/$id': typeof ApiEpisodeIdRoute
|
||||||
|
'/item/$id': typeof ApiItemIdRoute
|
||||||
|
'/library/$id': typeof ApiLibraryIdRoute
|
||||||
|
'/login/list': typeof ApiLoginListRoute
|
||||||
|
'/login/manual': typeof ApiLoginManualRoute
|
||||||
|
'/person/$id': typeof ApiPersonIdRoute
|
||||||
|
'/player/audio': typeof ApiPlayerAudioRoute
|
||||||
|
'/playlist/$id': typeof ApiPlaylistIdRoute
|
||||||
|
'/series/$id': typeof ApiSeriesIdRoute
|
||||||
|
'/setup/server/add': typeof SetupServerAddRoute
|
||||||
|
'/setup/server/error': typeof SetupServerErrorRoute
|
||||||
|
'/setup/server/list': typeof SetupServerListRoute
|
||||||
|
'/favorite': typeof ApiFavoriteIndexRoute
|
||||||
|
'/home': typeof ApiHomeIndexRoute
|
||||||
|
'/player': typeof ApiPlayerIndexRoute
|
||||||
|
'/search/': typeof ApiSearchIndexRoute
|
||||||
|
'/login/$userId/$userName': typeof ApiLoginUserIdUserNameRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
interface FileRoutesByTo {
|
||||||
|
'/': typeof IndexRoute
|
||||||
|
'': typeof ApiRouteWithChildren
|
||||||
|
'/library': typeof ApiLibraryRouteWithChildren
|
||||||
|
'/login': typeof ApiLoginRouteWithChildren
|
||||||
|
'/error/$code': typeof ErrorCodeRoute
|
||||||
|
'/album/$id': typeof ApiAlbumIdRoute
|
||||||
|
'/artist/$id': typeof ApiArtistIdRoute
|
||||||
|
'/boxset/$id': typeof ApiBoxsetIdRoute
|
||||||
|
'/episode/$id': typeof ApiEpisodeIdRoute
|
||||||
|
'/item/$id': typeof ApiItemIdRoute
|
||||||
|
'/library/$id': typeof ApiLibraryIdRoute
|
||||||
|
'/login/list': typeof ApiLoginListRoute
|
||||||
|
'/login/manual': typeof ApiLoginManualRoute
|
||||||
|
'/person/$id': typeof ApiPersonIdRoute
|
||||||
|
'/player/audio': typeof ApiPlayerAudioRoute
|
||||||
|
'/playlist/$id': typeof ApiPlaylistIdRoute
|
||||||
|
'/series/$id': typeof ApiSeriesIdRoute
|
||||||
|
'/setup/server/add': typeof SetupServerAddRoute
|
||||||
|
'/setup/server/error': typeof SetupServerErrorRoute
|
||||||
|
'/setup/server/list': typeof SetupServerListRoute
|
||||||
|
'/favorite': typeof ApiFavoriteIndexRoute
|
||||||
|
'/home': typeof ApiHomeIndexRoute
|
||||||
|
'/player': typeof ApiPlayerIndexRoute
|
||||||
|
'/search': typeof ApiSearchIndexRoute
|
||||||
|
'/login/$userId/$userName': typeof ApiLoginUserIdUserNameRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
interface FileRoutesById {
|
||||||
|
'/': typeof IndexRoute
|
||||||
|
'/_api': typeof ApiRouteWithChildren
|
||||||
|
'/_api/library': typeof ApiLibraryRouteWithChildren
|
||||||
|
'/_api/login': typeof ApiLoginRouteWithChildren
|
||||||
|
'/_api/search': typeof ApiSearchRouteWithChildren
|
||||||
|
'/error/$code': typeof ErrorCodeRoute
|
||||||
|
'/_api/album/$id': typeof ApiAlbumIdRoute
|
||||||
|
'/_api/artist/$id': typeof ApiArtistIdRoute
|
||||||
|
'/_api/boxset/$id': typeof ApiBoxsetIdRoute
|
||||||
|
'/_api/episode/$id': typeof ApiEpisodeIdRoute
|
||||||
|
'/_api/item/$id': typeof ApiItemIdRoute
|
||||||
|
'/_api/library/$id': typeof ApiLibraryIdRoute
|
||||||
|
'/_api/login/list': typeof ApiLoginListRoute
|
||||||
|
'/_api/login/manual': typeof ApiLoginManualRoute
|
||||||
|
'/_api/person/$id': typeof ApiPersonIdRoute
|
||||||
|
'/_api/player/audio': typeof ApiPlayerAudioRoute
|
||||||
|
'/_api/playlist/$id': typeof ApiPlaylistIdRoute
|
||||||
|
'/_api/series/$id': typeof ApiSeriesIdRoute
|
||||||
|
'/setup/server/add': typeof SetupServerAddRoute
|
||||||
|
'/setup/server/error': typeof SetupServerErrorRoute
|
||||||
|
'/setup/server/list': typeof SetupServerListRoute
|
||||||
|
'/_api/favorite/': typeof ApiFavoriteIndexRoute
|
||||||
|
'/_api/home/': typeof ApiHomeIndexRoute
|
||||||
|
'/_api/player/': typeof ApiPlayerIndexRoute
|
||||||
|
'/_api/search/': typeof ApiSearchIndexRoute
|
||||||
|
'/_api/login/$userId/$userName': typeof ApiLoginUserIdUserNameRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
interface FileRouteTypes {
|
||||||
|
fileRoutesByFullPath: FileRoutesByFullPath
|
||||||
|
fullPaths:
|
||||||
|
| '/'
|
||||||
|
| ''
|
||||||
|
| '/library'
|
||||||
|
| '/login'
|
||||||
|
| '/search'
|
||||||
|
| '/error/$code'
|
||||||
|
| '/album/$id'
|
||||||
|
| '/artist/$id'
|
||||||
|
| '/boxset/$id'
|
||||||
|
| '/episode/$id'
|
||||||
|
| '/item/$id'
|
||||||
|
| '/library/$id'
|
||||||
|
| '/login/list'
|
||||||
|
| '/login/manual'
|
||||||
|
| '/person/$id'
|
||||||
|
| '/player/audio'
|
||||||
|
| '/playlist/$id'
|
||||||
|
| '/series/$id'
|
||||||
|
| '/setup/server/add'
|
||||||
|
| '/setup/server/error'
|
||||||
|
| '/setup/server/list'
|
||||||
|
| '/favorite'
|
||||||
|
| '/home'
|
||||||
|
| '/player'
|
||||||
|
| '/search/'
|
||||||
|
| '/login/$userId/$userName'
|
||||||
|
fileRoutesByTo: FileRoutesByTo
|
||||||
|
to:
|
||||||
|
| '/'
|
||||||
|
| ''
|
||||||
|
| '/library'
|
||||||
|
| '/login'
|
||||||
|
| '/error/$code'
|
||||||
|
| '/album/$id'
|
||||||
|
| '/artist/$id'
|
||||||
|
| '/boxset/$id'
|
||||||
|
| '/episode/$id'
|
||||||
|
| '/item/$id'
|
||||||
|
| '/library/$id'
|
||||||
|
| '/login/list'
|
||||||
|
| '/login/manual'
|
||||||
|
| '/person/$id'
|
||||||
|
| '/player/audio'
|
||||||
|
| '/playlist/$id'
|
||||||
|
| '/series/$id'
|
||||||
|
| '/setup/server/add'
|
||||||
|
| '/setup/server/error'
|
||||||
|
| '/setup/server/list'
|
||||||
|
| '/favorite'
|
||||||
|
| '/home'
|
||||||
|
| '/player'
|
||||||
|
| '/search'
|
||||||
|
| '/login/$userId/$userName'
|
||||||
|
id:
|
||||||
|
| '/'
|
||||||
|
| '/_api'
|
||||||
|
| '/_api/library'
|
||||||
|
| '/_api/login'
|
||||||
|
| '/_api/search'
|
||||||
|
| '/error/$code'
|
||||||
|
| '/_api/album/$id'
|
||||||
|
| '/_api/artist/$id'
|
||||||
|
| '/_api/boxset/$id'
|
||||||
|
| '/_api/episode/$id'
|
||||||
|
| '/_api/item/$id'
|
||||||
|
| '/_api/library/$id'
|
||||||
|
| '/_api/login/list'
|
||||||
|
| '/_api/login/manual'
|
||||||
|
| '/_api/person/$id'
|
||||||
|
| '/_api/player/audio'
|
||||||
|
| '/_api/playlist/$id'
|
||||||
|
| '/_api/series/$id'
|
||||||
|
| '/setup/server/add'
|
||||||
|
| '/setup/server/error'
|
||||||
|
| '/setup/server/list'
|
||||||
|
| '/_api/favorite/'
|
||||||
|
| '/_api/home/'
|
||||||
|
| '/_api/player/'
|
||||||
|
| '/_api/search/'
|
||||||
|
| '/_api/login/$userId/$userName'
|
||||||
|
fileRoutesById: FileRoutesById
|
||||||
|
}
|
||||||
|
|
||||||
|
interface RootRouteChildren {
|
||||||
|
IndexRoute: typeof IndexRoute
|
||||||
|
ApiRoute: typeof ApiRouteWithChildren
|
||||||
|
ErrorCodeRoute: typeof ErrorCodeRoute
|
||||||
|
SetupServerAddRoute: typeof SetupServerAddRoute
|
||||||
|
SetupServerErrorRoute: typeof SetupServerErrorRoute
|
||||||
|
SetupServerListRoute: typeof SetupServerListRoute
|
||||||
|
}
|
||||||
|
|
||||||
|
const rootRouteChildren: RootRouteChildren = {
|
||||||
|
IndexRoute: IndexRoute,
|
||||||
|
ApiRoute: ApiRouteWithChildren,
|
||||||
|
ErrorCodeRoute: ErrorCodeRoute,
|
||||||
|
SetupServerAddRoute: SetupServerAddRoute,
|
||||||
|
SetupServerErrorRoute: SetupServerErrorRoute,
|
||||||
|
SetupServerListRoute: SetupServerListRoute,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const routeTree = rootRoute
|
||||||
|
._addFileChildren(rootRouteChildren)
|
||||||
|
._addFileTypes<FileRouteTypes>()
|
||||||
|
|
||||||
/* prettier-ignore-end */
|
/* prettier-ignore-end */
|
||||||
|
|
||||||
@@ -345,6 +643,7 @@ export const routeTree = rootRoute.addChildren({
|
|||||||
"children": [
|
"children": [
|
||||||
"/",
|
"/",
|
||||||
"/_api",
|
"/_api",
|
||||||
|
"/error/$code",
|
||||||
"/setup/server/add",
|
"/setup/server/add",
|
||||||
"/setup/server/error",
|
"/setup/server/error",
|
||||||
"/setup/server/list"
|
"/setup/server/list"
|
||||||
@@ -356,25 +655,49 @@ export const routeTree = rootRoute.addChildren({
|
|||||||
"/_api": {
|
"/_api": {
|
||||||
"filePath": "_api.tsx",
|
"filePath": "_api.tsx",
|
||||||
"children": [
|
"children": [
|
||||||
|
"/_api/library",
|
||||||
|
"/_api/login",
|
||||||
|
"/_api/search",
|
||||||
"/_api/album/$id",
|
"/_api/album/$id",
|
||||||
"/_api/artist/$id",
|
"/_api/artist/$id",
|
||||||
"/_api/boxset/$id",
|
"/_api/boxset/$id",
|
||||||
"/_api/episode/$id",
|
"/_api/episode/$id",
|
||||||
"/_api/item/$id",
|
"/_api/item/$id",
|
||||||
"/_api/library/$id",
|
|
||||||
"/_api/login/list",
|
|
||||||
"/_api/login/manual",
|
|
||||||
"/_api/person/$id",
|
"/_api/person/$id",
|
||||||
|
"/_api/player/audio",
|
||||||
"/_api/playlist/$id",
|
"/_api/playlist/$id",
|
||||||
"/_api/series/$id",
|
"/_api/series/$id",
|
||||||
"/_api/favorite/",
|
"/_api/favorite/",
|
||||||
"/_api/home/",
|
"/_api/home/",
|
||||||
"/_api/login/",
|
"/_api/player/"
|
||||||
"/_api/player/",
|
]
|
||||||
"/_api/search/",
|
},
|
||||||
|
"/_api/library": {
|
||||||
|
"filePath": "_api/library.tsx",
|
||||||
|
"parent": "/_api",
|
||||||
|
"children": [
|
||||||
|
"/_api/library/$id"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"/_api/login": {
|
||||||
|
"filePath": "_api/login.tsx",
|
||||||
|
"parent": "/_api",
|
||||||
|
"children": [
|
||||||
|
"/_api/login/list",
|
||||||
|
"/_api/login/manual",
|
||||||
"/_api/login/$userId/$userName"
|
"/_api/login/$userId/$userName"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"/_api/search": {
|
||||||
|
"filePath": "_api/search.tsx",
|
||||||
|
"parent": "/_api",
|
||||||
|
"children": [
|
||||||
|
"/_api/search/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"/error/$code": {
|
||||||
|
"filePath": "error/$code.tsx"
|
||||||
|
},
|
||||||
"/_api/album/$id": {
|
"/_api/album/$id": {
|
||||||
"filePath": "_api/album/$id.tsx",
|
"filePath": "_api/album/$id.tsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api"
|
||||||
@@ -397,20 +720,24 @@ export const routeTree = rootRoute.addChildren({
|
|||||||
},
|
},
|
||||||
"/_api/library/$id": {
|
"/_api/library/$id": {
|
||||||
"filePath": "_api/library/$id.tsx",
|
"filePath": "_api/library/$id.tsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api/library"
|
||||||
},
|
},
|
||||||
"/_api/login/list": {
|
"/_api/login/list": {
|
||||||
"filePath": "_api/login/list.tsx",
|
"filePath": "_api/login/list.tsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api/login"
|
||||||
},
|
},
|
||||||
"/_api/login/manual": {
|
"/_api/login/manual": {
|
||||||
"filePath": "_api/login/manual.tsx",
|
"filePath": "_api/login/manual.tsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api/login"
|
||||||
},
|
},
|
||||||
"/_api/person/$id": {
|
"/_api/person/$id": {
|
||||||
"filePath": "_api/person/$id.tsx",
|
"filePath": "_api/person/$id.tsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api"
|
||||||
},
|
},
|
||||||
|
"/_api/player/audio": {
|
||||||
|
"filePath": "_api/player/audio.tsx",
|
||||||
|
"parent": "/_api"
|
||||||
|
},
|
||||||
"/_api/playlist/$id": {
|
"/_api/playlist/$id": {
|
||||||
"filePath": "_api/playlist/$id.jsx",
|
"filePath": "_api/playlist/$id.jsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api"
|
||||||
@@ -436,21 +763,17 @@ export const routeTree = rootRoute.addChildren({
|
|||||||
"filePath": "_api/home/index.tsx",
|
"filePath": "_api/home/index.tsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api"
|
||||||
},
|
},
|
||||||
"/_api/login/": {
|
|
||||||
"filePath": "_api/login/index.tsx",
|
|
||||||
"parent": "/_api"
|
|
||||||
},
|
|
||||||
"/_api/player/": {
|
"/_api/player/": {
|
||||||
"filePath": "_api/player/index.tsx",
|
"filePath": "_api/player/index.tsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api"
|
||||||
},
|
},
|
||||||
"/_api/search/": {
|
"/_api/search/": {
|
||||||
"filePath": "_api/search/index.jsx",
|
"filePath": "_api/search/index.jsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api/search"
|
||||||
},
|
},
|
||||||
"/_api/login/$userId/$userName": {
|
"/_api/login/$userId/$userName": {
|
||||||
"filePath": "_api/login/$userId.$userName.tsx",
|
"filePath": "_api/login/$userId.$userName.tsx",
|
||||||
"parent": "/_api"
|
"parent": "/_api/login"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,18 +23,12 @@ import { useIsFetching, useIsMutating } from "@tanstack/react-query";
|
|||||||
import {
|
import {
|
||||||
Outlet,
|
Outlet,
|
||||||
ScrollRestoration,
|
ScrollRestoration,
|
||||||
createRootRoute,
|
|
||||||
createRootRouteWithContext,
|
createRootRouteWithContext,
|
||||||
useNavigate,
|
|
||||||
useRouterState,
|
useRouterState,
|
||||||
} from "@tanstack/react-router";
|
} from "@tanstack/react-router";
|
||||||
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
|
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
|
||||||
import { relaunch } from "@tauri-apps/api/process";
|
import { relaunch } from "@tauri-apps/plugin-process";
|
||||||
import {
|
import { type Update, check } from "@tauri-apps/plugin-updater";
|
||||||
type UpdateManifest,
|
|
||||||
checkUpdate,
|
|
||||||
installUpdate,
|
|
||||||
} from "@tauri-apps/api/updater";
|
|
||||||
import { AnimatePresence, motion } from "framer-motion";
|
import { AnimatePresence, motion } from "framer-motion";
|
||||||
import { SnackbarProvider, useSnackbar } from "notistack";
|
import { SnackbarProvider, useSnackbar } from "notistack";
|
||||||
import React, { Suspense, useEffect, useLayoutEffect, useState } from "react";
|
import React, { Suspense, useEffect, useLayoutEffect, useState } from "react";
|
||||||
@@ -49,8 +43,11 @@ import "@fontsource-variable/jetbrains-mono";
|
|||||||
import "@fontsource-variable/noto-sans";
|
import "@fontsource-variable/noto-sans";
|
||||||
|
|
||||||
import "material-symbols/rounded.scss";
|
import "material-symbols/rounded.scss";
|
||||||
import type { Api } from "@jellyfin/sdk";
|
import type { Api, Jellyfin } from "@jellyfin/sdk";
|
||||||
|
import type { UserDto } from "@jellyfin/sdk/lib/generated-client";
|
||||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
||||||
|
import { DndProvider } from "react-dnd";
|
||||||
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
||||||
|
|
||||||
type ApiContext = {
|
type ApiContext = {
|
||||||
api: Api;
|
api: Api;
|
||||||
@@ -58,34 +55,28 @@ type ApiContext = {
|
|||||||
serverAddress: string | undefined,
|
serverAddress: string | undefined,
|
||||||
accessToken: string | undefined,
|
accessToken: string | undefined,
|
||||||
) => void;
|
) => void;
|
||||||
|
user: UserDto | null | undefined;
|
||||||
|
jellyfinSDK: Jellyfin;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Route = createRootRouteWithContext<ApiContext>()({
|
export const Route = createRootRouteWithContext<ApiContext>()({
|
||||||
errorComponent: (error) => {
|
|
||||||
console.error(error.error);
|
|
||||||
},
|
|
||||||
component: () => {
|
component: () => {
|
||||||
"use memo";
|
|
||||||
const isQueryFetching = useIsFetching();
|
const isQueryFetching = useIsFetching();
|
||||||
const isMutating = useIsMutating();
|
const isMutating = useIsMutating();
|
||||||
const routeIsLoading = useRouterState().isLoading;
|
const routeIsLoading = useRouterState().isLoading;
|
||||||
const [updateDialog, setUpdateDialog] = useState(false);
|
const [updateDialog, setUpdateDialog] = useState(false);
|
||||||
const [updateDialogButton, setUpdateDialogButton] = useState(false);
|
const [updateDialogButton, setUpdateDialogButton] = useState(false);
|
||||||
const [updateInfo, setUpdateInfo] = useState<UpdateManifest | undefined>(
|
const [updateInfo, setUpdateInfo] = useState<Update | undefined>(undefined);
|
||||||
undefined,
|
|
||||||
);
|
|
||||||
useLayoutEffect(() => {
|
useLayoutEffect(() => {
|
||||||
async function checkForUpdates() {
|
async function checkForUpdates() {
|
||||||
try {
|
try {
|
||||||
const { shouldUpdate, manifest } = await checkUpdate();
|
const update = await check();
|
||||||
|
|
||||||
if (shouldUpdate) {
|
if (update?.available) {
|
||||||
setUpdateInfo(manifest);
|
setUpdateInfo(update);
|
||||||
setUpdateDialog(true);
|
setUpdateDialog(true);
|
||||||
|
|
||||||
console.log(
|
console.log(`Update found : ${update.version}, ${update.date}`);
|
||||||
`Update found : ${manifest?.version}, ${manifest?.date}`,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
@@ -105,6 +96,7 @@ export const Route = createRootRouteWithContext<ApiContext>()({
|
|||||||
setBackdropLoading(true);
|
setBackdropLoading(true);
|
||||||
}, [backdropId]);
|
}, [backdropId]);
|
||||||
return (
|
return (
|
||||||
|
<DndProvider backend={HTML5Backend}>
|
||||||
<Suspense fallback={<h1>Loading...</h1>}>
|
<Suspense fallback={<h1>Loading...</h1>}>
|
||||||
<ThemeProvider theme={theme}>
|
<ThemeProvider theme={theme}>
|
||||||
<SnackbarProvider maxSnack={5}>
|
<SnackbarProvider maxSnack={5}>
|
||||||
@@ -113,6 +105,11 @@ export const Route = createRootRouteWithContext<ApiContext>()({
|
|||||||
<Settings />
|
<Settings />
|
||||||
<EasterEgg />
|
<EasterEgg />
|
||||||
<NProgress
|
<NProgress
|
||||||
|
key={
|
||||||
|
isQueryFetching || isMutating || routeIsLoading
|
||||||
|
? `show${(isQueryFetching ?? 1) * (isMutating ?? 1) * (routeIsLoading ?? 1)}`
|
||||||
|
: "hide"
|
||||||
|
}
|
||||||
isAnimating={isQueryFetching || isMutating || routeIsLoading}
|
isAnimating={isQueryFetching || isMutating || routeIsLoading}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@@ -166,7 +163,9 @@ export const Route = createRootRouteWithContext<ApiContext>()({
|
|||||||
Update Available!
|
Update Available!
|
||||||
<Chip
|
<Chip
|
||||||
icon={
|
icon={
|
||||||
<span className="material-symbols-rounded">update</span>
|
<span className="material-symbols-rounded">
|
||||||
|
update
|
||||||
|
</span>
|
||||||
}
|
}
|
||||||
label={`v${updateInfo.version}`}
|
label={`v${updateInfo.version}`}
|
||||||
color="success"
|
color="success"
|
||||||
@@ -219,7 +218,7 @@ export const Route = createRootRouteWithContext<ApiContext>()({
|
|||||||
loadingIndicator="Updating..."
|
loadingIndicator="Updating..."
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
setUpdateDialogButton(true);
|
setUpdateDialogButton(true);
|
||||||
await installUpdate();
|
await updateInfo.downloadAndInstall();
|
||||||
enqueueSnackbar(
|
enqueueSnackbar(
|
||||||
"Update has been installed! You need to relaunch JellyPlayer.",
|
"Update has been installed! You need to relaunch JellyPlayer.",
|
||||||
{
|
{
|
||||||
@@ -265,10 +264,11 @@ export const Route = createRootRouteWithContext<ApiContext>()({
|
|||||||
<AudioPlayer />
|
<AudioPlayer />
|
||||||
<Outlet />
|
<Outlet />
|
||||||
<ReactQueryDevtools />
|
<ReactQueryDevtools />
|
||||||
<TanStackRouterDevtools />
|
{/* <TanStackRouterDevtools /> */}
|
||||||
</SnackbarProvider>
|
</SnackbarProvider>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
|
</DndProvider>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -1,42 +1,70 @@
|
|||||||
import {
|
import { getDefaultServer, getServer } from "@/utils/storage/servers";
|
||||||
getAllServers,
|
|
||||||
getDefaultServer,
|
|
||||||
getServer,
|
|
||||||
} from "@/utils/storage/servers";
|
|
||||||
import { getUser } from "@/utils/storage/user";
|
import { getUser } from "@/utils/storage/user";
|
||||||
import { axiosClient, useApiInContext } from "@/utils/store/api";
|
import { axiosClient } from "@/utils/store/api";
|
||||||
import { getSystemApi } from "@jellyfin/sdk/lib/utils/api/system-api";
|
import { getSystemApi } from "@jellyfin/sdk/lib/utils/api/system-api";
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import { Outlet, createFileRoute, redirect } from "@tanstack/react-router";
|
import { Outlet, createFileRoute, redirect } from "@tanstack/react-router";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { Suspense } from "react";
|
|
||||||
|
|
||||||
export const Route = createFileRoute("/_api")({
|
export const Route = createFileRoute("/_api")({
|
||||||
beforeLoad: async ({ context, location }) => {
|
beforeLoad: async ({ context, location }) => {
|
||||||
console.log(context.api);
|
// console.log(context.api);
|
||||||
if (!context.api) {
|
if (!context.api) {
|
||||||
const currentServerId = await getDefaultServer();
|
const currentServerId = await getDefaultServer();
|
||||||
if (currentServerId) {
|
if (currentServerId) {
|
||||||
const currentServer = await getServer(currentServerId);
|
const currentServer = await getServer(currentServerId);
|
||||||
const userOnDisk = await getUser();
|
const apiTemp = context.jellyfinSDK.createApi(
|
||||||
if (userOnDisk) {
|
currentServer?.address,
|
||||||
context.createApi(currentServer?.address, userOnDisk.AccessToken);
|
null,
|
||||||
} else {
|
axiosClient,
|
||||||
context.createApi(currentServer?.address, undefined); // Creates Api
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (context.api) {
|
|
||||||
try {
|
try {
|
||||||
await getSystemApi(context.api).getPingSystem(); // Verify server status
|
await getSystemApi(apiTemp).getPingSystem();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
throw redirect({
|
throw redirect({
|
||||||
to: "/setup/server/error",
|
to: "/error/$code",
|
||||||
|
params: {
|
||||||
|
code: "101",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (context.api.accessToken) {
|
const userOnDisk = await getUser();
|
||||||
|
if (userOnDisk) {
|
||||||
|
if (location.pathname !== "/login/manual") {
|
||||||
|
const apiTemp = context.jellyfinSDK.createApi(
|
||||||
|
currentServer?.address,
|
||||||
|
userOnDisk.AccessToken,
|
||||||
|
);
|
||||||
try {
|
try {
|
||||||
await getUserApi(context.api).getCurrentUser(); // Verify user is able to authenticate
|
await getUserApi(apiTemp).getCurrentUser();
|
||||||
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
|
throw redirect({
|
||||||
|
to: "/login/manual",
|
||||||
|
search: {
|
||||||
|
redirect: location.href,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// return { api: apiTemp };
|
||||||
|
}
|
||||||
|
context.createApi(currentServer?.address, userOnDisk.AccessToken);
|
||||||
|
} else {
|
||||||
|
const apiTemp = context.jellyfinSDK.createApi(
|
||||||
|
currentServer?.address,
|
||||||
|
null,
|
||||||
|
);
|
||||||
|
context.createApi(currentServer?.address, undefined); // Creates Api
|
||||||
|
// return { api: apiTemp };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (context.api) {
|
||||||
|
if (context.api.accessToken && location.pathname !== "/login/manual") {
|
||||||
|
try {
|
||||||
|
return {
|
||||||
|
user: await getUserApi(context.api).getCurrentUser(),
|
||||||
|
}; // Verify user is able to authenticate
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
throw redirect({
|
throw redirect({
|
||||||
|
|||||||
@@ -11,7 +11,11 @@ import Typography from "@mui/material/Typography";
|
|||||||
import useParallax from "@/utils/hooks/useParallax";
|
import useParallax from "@/utils/hooks/useParallax";
|
||||||
import { motion, useScroll } from "framer-motion";
|
import { motion, useScroll } from "framer-motion";
|
||||||
|
|
||||||
import { BaseItemKind, SortOrder } from "@jellyfin/sdk/lib/generated-client";
|
import {
|
||||||
|
type BaseItemDto,
|
||||||
|
BaseItemKind,
|
||||||
|
SortOrder,
|
||||||
|
} from "@jellyfin/sdk/lib/generated-client";
|
||||||
import { getItemsApi } from "@jellyfin/sdk/lib/utils/api/items-api";
|
import { getItemsApi } from "@jellyfin/sdk/lib/utils/api/items-api";
|
||||||
import { getLibraryApi } from "@jellyfin/sdk/lib/utils/api/library-api";
|
import { getLibraryApi } from "@jellyfin/sdk/lib/utils/api/library-api";
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
@@ -21,7 +25,11 @@ import { Blurhash } from "react-blurhash";
|
|||||||
|
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
|
|
||||||
import { getRuntime } from "@/utils/date/time";
|
import {
|
||||||
|
getRuntime,
|
||||||
|
getRuntimeCompact,
|
||||||
|
getRuntimeMusic,
|
||||||
|
} from "@/utils/date/time";
|
||||||
|
|
||||||
import { Card } from "@/components/card/card";
|
import { Card } from "@/components/card/card";
|
||||||
import { CardScroller } from "@/components/cardScroller/cardScroller";
|
import { CardScroller } from "@/components/cardScroller/cardScroller";
|
||||||
@@ -33,12 +41,17 @@ import { ErrorNotice } from "@/components/notices/errorNotice/errorNotice";
|
|||||||
import ShowMoreText from "@/components/showMoreText";
|
import ShowMoreText from "@/components/showMoreText";
|
||||||
|
|
||||||
import { getTypeIcon } from "@/components/utils/iconsCollection";
|
import { getTypeIcon } from "@/components/utils/iconsCollection";
|
||||||
import { useAudioPlayback } from "@/utils/store/audioPlayback";
|
import {
|
||||||
|
generateAudioStreamUrl,
|
||||||
|
playAudio,
|
||||||
|
useAudioPlayback,
|
||||||
|
} from "@/utils/store/audioPlayback";
|
||||||
import { useBackdropStore } from "@/utils/store/backdrop";
|
import { useBackdropStore } from "@/utils/store/backdrop";
|
||||||
import "./album.scss";
|
import "./album.scss";
|
||||||
|
|
||||||
import IconLink from "@/components/iconLink";
|
import TagChip from "@/components/tagChip";
|
||||||
import { Link, createFileRoute } from "@tanstack/react-router";
|
import { Link, createFileRoute } from "@tanstack/react-router";
|
||||||
|
import lyricsIcon from "../../../assets/icons/lyrics.svg";
|
||||||
|
|
||||||
function TabPanel(props) {
|
function TabPanel(props) {
|
||||||
const { children, value, index, ...other } = props;
|
const { children, value, index, ...other } = props;
|
||||||
@@ -118,7 +131,7 @@ function MusicAlbumTitlePage() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const musicTracks = useQuery({
|
const musicTracks = useQuery({
|
||||||
queryKey: ["item", id, "musicTracks"],
|
queryKey: ["item", "musicTracks", id],
|
||||||
queryFn: async () => {
|
queryFn: async () => {
|
||||||
const result = await getItemsApi(api).getItems({
|
const result = await getItemsApi(api).getItems({
|
||||||
userId: user.data?.Id,
|
userId: user.data?.Id,
|
||||||
@@ -132,31 +145,6 @@ function MusicAlbumTitlePage() {
|
|||||||
networkMode: "always",
|
networkMode: "always",
|
||||||
});
|
});
|
||||||
|
|
||||||
const [
|
|
||||||
currentTrackItem,
|
|
||||||
setCurrentAudioTrack,
|
|
||||||
setAudioUrl,
|
|
||||||
setAudioDisplay,
|
|
||||||
setAudioItem,
|
|
||||||
setAudioTracks,
|
|
||||||
] = useAudioPlayback((state) => [
|
|
||||||
state.item,
|
|
||||||
state.setCurrentTrack,
|
|
||||||
state.setUrl,
|
|
||||||
state.setDisplay,
|
|
||||||
state.setItem,
|
|
||||||
state.setTracks,
|
|
||||||
]);
|
|
||||||
const playTrack = (index) => {
|
|
||||||
setAudioTracks(musicTracks.data.Items);
|
|
||||||
setCurrentAudioTrack(index);
|
|
||||||
setAudioUrl(
|
|
||||||
`${api.basePath}/Audio/${musicTracks.data.Items[index].Id}/universal?deviceId=${api.deviceInfo.id}&userId=${user.data.Id}&api_key=${api.accessToken}`,
|
|
||||||
);
|
|
||||||
setAudioItem(musicTracks.data.Items[index]);
|
|
||||||
setAudioDisplay(true);
|
|
||||||
};
|
|
||||||
|
|
||||||
const [setAppBackdrop] = useBackdropStore((state) => [state.setBackdrop]);
|
const [setAppBackdrop] = useBackdropStore((state) => [state.setBackdrop]);
|
||||||
|
|
||||||
useLayoutEffect(() => {
|
useLayoutEffect(() => {
|
||||||
@@ -175,6 +163,22 @@ function MusicAlbumTitlePage() {
|
|||||||
});
|
});
|
||||||
const parallax = useParallax(scrollYProgress, 50);
|
const parallax = useParallax(scrollYProgress, 50);
|
||||||
|
|
||||||
|
const handlePlayback = (
|
||||||
|
index: number,
|
||||||
|
item: BaseItemDto,
|
||||||
|
queue: BaseItemDto[],
|
||||||
|
) => {
|
||||||
|
const url = generateAudioStreamUrl(
|
||||||
|
item.Id,
|
||||||
|
user.data?.Id,
|
||||||
|
api.deviceInfo.id,
|
||||||
|
api.basePath,
|
||||||
|
);
|
||||||
|
playAudio(url, item, undefined, queue, index);
|
||||||
|
};
|
||||||
|
|
||||||
|
const currentPlayingItem = useAudioPlayback((s) => s.item);
|
||||||
|
|
||||||
if (item.isPending || similarItems.isPending) {
|
if (item.isPending || similarItems.isPending) {
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
@@ -192,266 +196,169 @@ function MusicAlbumTitlePage() {
|
|||||||
}
|
}
|
||||||
if (item.isSuccess && similarItems.isSuccess) {
|
if (item.isSuccess && similarItems.isSuccess) {
|
||||||
return (
|
return (
|
||||||
<motion.div
|
<div
|
||||||
key={id}
|
key={id}
|
||||||
initial={{
|
|
||||||
opacity: 0,
|
|
||||||
}}
|
|
||||||
animate={{
|
|
||||||
opacity: 1,
|
|
||||||
}}
|
|
||||||
transition={{
|
|
||||||
duration: 0.25,
|
|
||||||
ease: "easeInOut",
|
|
||||||
}}
|
|
||||||
className="scrollY padded-top item item-album"
|
className="scrollY padded-top item item-album"
|
||||||
ref={pageRef}
|
ref={pageRef}
|
||||||
>
|
>
|
||||||
<div className="item-hero flex flex-row">
|
<div className="item-info-container">
|
||||||
<div className="item-hero-backdrop-container">
|
<div className="item-info">
|
||||||
{item.data.ParentBackdropImageTags?.length ? (
|
<Typography className="item-info-name" variant="h3">
|
||||||
<motion.img
|
|
||||||
alt={item.data.Name}
|
|
||||||
src={api.getItemImageUrl(
|
|
||||||
item.data.ParentBackdropItemId,
|
|
||||||
"Backdrop",
|
|
||||||
{
|
|
||||||
tag: item.data.ParentBackdropImageTags[0],
|
|
||||||
},
|
|
||||||
)}
|
|
||||||
className="item-hero-backdrop"
|
|
||||||
onLoad={(e) => {
|
|
||||||
e.currentTarget.style.opacity = 1;
|
|
||||||
}}
|
|
||||||
style={{
|
|
||||||
y: parallax,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
) : (
|
|
||||||
<motion.img
|
|
||||||
alt={item.data.Name}
|
|
||||||
src={heroBg}
|
|
||||||
className="item-hero-backdrop"
|
|
||||||
onLoad={(e) => {
|
|
||||||
e.currentTarget.style.opacity = 1;
|
|
||||||
}}
|
|
||||||
style={{
|
|
||||||
y: parallax,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
className="item-hero-image-container"
|
|
||||||
style={{
|
|
||||||
aspectRatio: item.data.PrimaryImageAspectRatio ?? 1,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{Object.keys(item.data.ImageTags).includes("Primary") ? (
|
|
||||||
<>
|
|
||||||
<Blurhash
|
|
||||||
hash={
|
|
||||||
item.data.ImageBlurHashes.Primary[
|
|
||||||
item.data.ImageTags.Primary
|
|
||||||
]
|
|
||||||
}
|
|
||||||
className="item-hero-image-blurhash"
|
|
||||||
/>
|
|
||||||
<img
|
|
||||||
alt={item.data.Name}
|
|
||||||
src={api.getItemImageUrl(item.data.Id, "Primary", {
|
|
||||||
quality: 90,
|
|
||||||
tag: item.data.ImageTags.Primary,
|
|
||||||
})}
|
|
||||||
onLoad={(e) => {
|
|
||||||
e.currentTarget.style.opacity = 1;
|
|
||||||
}}
|
|
||||||
className="item-hero-image"
|
|
||||||
/>
|
|
||||||
</>
|
|
||||||
) : (
|
|
||||||
<div className="item-hero-image-icon">
|
|
||||||
{getTypeIcon(item.data.Type)}
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
<div className="item-hero-detail flex flex-column">
|
|
||||||
<Typography variant="h2" fontWeight={200} mb={2}>
|
|
||||||
{item.data.Name}
|
{item.data.Name}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
<div className="flex flex-align-center item-info-album-info">
|
||||||
<Stack
|
<div className="flex flex-align-center">
|
||||||
direction="row"
|
|
||||||
gap={2}
|
|
||||||
justifyItems="flex-start"
|
|
||||||
alignItems="center"
|
|
||||||
>
|
|
||||||
<Chip
|
|
||||||
size="small"
|
|
||||||
label={item.data.AlbumArtist}
|
|
||||||
icon={
|
|
||||||
<span
|
<span
|
||||||
className="material-symbols-rounded"
|
className="material-symbols-rounded"
|
||||||
style={{
|
style={{
|
||||||
padding: "0.2em",
|
opacity: 0.7,
|
||||||
|
|
||||||
fontVariationSettings:
|
|
||||||
'"FILL" 1, "wght" 300, "GRAD" 25, "opsz" 40',
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
artist
|
artist
|
||||||
</span>
|
</span>
|
||||||
}
|
<Typography ml={1}>{item.data.AlbumArtist}</Typography>
|
||||||
/>
|
|
||||||
{item.data.PremiereDate && (
|
|
||||||
<Typography style={{ opacity: "0.8" }} variant="subtitle2">
|
|
||||||
{item.data.ProductionYear ?? ""}
|
|
||||||
</Typography>
|
|
||||||
)}
|
|
||||||
<Typography style={{ opacity: "0.8" }} variant="subtitle2">
|
|
||||||
{item.data.ChildCount > 1
|
|
||||||
? `${item.data.ChildCount} Tracks`
|
|
||||||
: `${item.data.ChildCount} Track`}
|
|
||||||
</Typography>
|
|
||||||
{item.data.RunTimeTicks && (
|
|
||||||
<Typography style={{ opacity: "0.8" }} variant="subtitle2">
|
|
||||||
{getRuntime(item.data.RunTimeTicks)}
|
|
||||||
</Typography>
|
|
||||||
)}
|
|
||||||
<Typography variant="subtitle2" style={{ opacity: 0.8 }}>
|
|
||||||
{item.data.Genres?.slice(0, 4).join(" / ")}
|
|
||||||
</Typography>
|
|
||||||
</Stack>
|
|
||||||
</div>
|
</div>
|
||||||
|
<Typography className="opacity-07">
|
||||||
<div className="item-hero-buttons-container">
|
{item.data.ProductionYear}
|
||||||
<div className="flex flex-row fullWidth">
|
</Typography>
|
||||||
|
<Typography className="opacity-07">
|
||||||
|
{musicTracks.data?.TotalRecordCount > 1
|
||||||
|
? `${musicTracks.data?.TotalRecordCount} songs`
|
||||||
|
: `1 song`}
|
||||||
|
</Typography>
|
||||||
|
<Typography className="opacity-07">
|
||||||
|
{getRuntimeCompact(item.data.CumulativeRunTimeTicks)}
|
||||||
|
</Typography>
|
||||||
|
</div>
|
||||||
|
<div className="item-info-buttons">
|
||||||
<PlayButton
|
<PlayButton
|
||||||
|
item={item}
|
||||||
audio
|
audio
|
||||||
item={item.data}
|
|
||||||
itemId={item.data.Id}
|
|
||||||
itemType={item.data.Type}
|
itemType={item.data.Type}
|
||||||
itemUserData={item.data.UserData}
|
userId={user.data?.Id}
|
||||||
userId={user.data.Id}
|
|
||||||
buttonProps={{
|
|
||||||
fullWidth: true,
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div className="flex flex-row" style={{ gap: "1em" }}>
|
|
||||||
<LikeButton
|
<LikeButton
|
||||||
itemName={item.data.Name}
|
|
||||||
itemId={item.data.Id}
|
itemId={item.data.Id}
|
||||||
queryKey={["item", id]}
|
isFavorite={item.data.UserData?.IsFavorite}
|
||||||
isFavorite={item.data.UserData.IsFavorite}
|
queryKey={["item", "musicTracks"]}
|
||||||
userId={user.data.Id}
|
userId={user.data?.Id}
|
||||||
|
itemName={item.data.Name}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="item-info-track-container">
|
||||||
|
<div className="item-info-track header">
|
||||||
|
<span className="material-symbols-rounded index">tag</span>
|
||||||
|
<Typography variant="subtitle1">Title</Typography>
|
||||||
|
<Typography variant="subtitle1">Duration</Typography>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{musicTracks.data?.Items?.map((track, index) => (
|
||||||
<div
|
<div
|
||||||
className="item-detail"
|
className={
|
||||||
style={{
|
currentPlayingItem?.Id === track.Id
|
||||||
marginBottom: "1em",
|
? "item-info-track playing"
|
||||||
}}
|
: "item-info-track"
|
||||||
|
}
|
||||||
|
key={track.Id}
|
||||||
|
onClick={() =>
|
||||||
|
handlePlayback(index, track, musicTracks.data.Items)
|
||||||
|
}
|
||||||
>
|
>
|
||||||
<div style={{ width: "100%" }}>
|
<div className="index-container">
|
||||||
<ShowMoreText
|
<span className="material-symbols-rounded fill ">
|
||||||
content={item.data.Overview ?? ""}
|
play_arrow
|
||||||
collapsedLines={4}
|
</span>
|
||||||
/>
|
<Typography className="index">
|
||||||
|
{track.IndexNumber ?? "-"}
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: "flex",
|
|
||||||
gap: "0.6em",
|
|
||||||
alignSelf: "start",
|
|
||||||
marginTop: "0.2em",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{item.data.ExternalUrls.map((url) => (
|
|
||||||
<IconLink url={url.Url} name={url.Name} />
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
width: "100%",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div className="item-detail-cast">
|
|
||||||
{item.data.ArtistItems.length > 0 && (
|
|
||||||
<div className="item-detail-cast-container">
|
|
||||||
<Typography variant="h6" className="item-detail-cast-title">
|
|
||||||
Artists
|
|
||||||
</Typography>
|
</Typography>
|
||||||
<div className="item-detail-cast-grid">
|
|
||||||
{item.data.ArtistItems.map((artist) => (
|
|
||||||
<Link
|
|
||||||
className="item-detail-cast-card"
|
|
||||||
key={artist.Id}
|
|
||||||
to="/artist/$id"
|
|
||||||
params={{
|
|
||||||
id: artist.Id,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
width: "5em",
|
|
||||||
position: "relative",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
alt={artist.Name}
|
|
||||||
src={api.getItemImageUrl(artist.Id, "Primary", {
|
|
||||||
quality: 80,
|
|
||||||
fillWidth: 200,
|
|
||||||
fillHeight: 200,
|
|
||||||
})}
|
|
||||||
style={{
|
|
||||||
position: "absolute",
|
|
||||||
top: 0,
|
|
||||||
left: 0,
|
|
||||||
}}
|
|
||||||
className="item-detail-cast-card-image"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<div className="item-detail-cast-card-icon">
|
|
||||||
{getTypeIcon("Person")}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div className="item-info-track-info">
|
||||||
<div className="item-detail-cast-card-text">
|
<Typography className="item-info-track-info-name">
|
||||||
<Typography variant="subtitle1">
|
{track.Name}
|
||||||
{artist.Name}
|
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography
|
<Typography
|
||||||
variant="subtitle2"
|
variant="subtitle2"
|
||||||
style={{
|
style={{
|
||||||
opacity: 0.5,
|
opacity: 0.6,
|
||||||
|
display: "flex",
|
||||||
|
alignItems: "center",
|
||||||
|
gap: "0.6em",
|
||||||
}}
|
}}
|
||||||
|
fontWeight={300}
|
||||||
>
|
>
|
||||||
{artist.Role}
|
{track.HasLyrics && <img src={lyricsIcon} alt="lyrics" />}
|
||||||
|
{track.Artists?.join(", ")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
|
<Typography>{getRuntimeMusic(track.RunTimeTicks)}</Typography>
|
||||||
|
<div className="flex flex-align-center">
|
||||||
|
<LikeButton
|
||||||
|
itemId={track.Id}
|
||||||
|
isFavorite={track.UserData?.IsFavorite}
|
||||||
|
queryKey={["item", "musicTracks"]}
|
||||||
|
userId={user.data?.Id}
|
||||||
|
itemName={track.Name}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="item-info-sidebar">
|
||||||
|
<div className="item-info-sidebar-image-container">
|
||||||
|
{item.data.ImageTags?.Primary ? (
|
||||||
|
<img
|
||||||
|
className="item-info-sidebar-image"
|
||||||
|
alt={item.data.Name ?? "Album"}
|
||||||
|
src={api.getItemImageUrl(item.data.Id, "Primary", {
|
||||||
|
tag: item.data.ImageTags.Primary,
|
||||||
|
quality: 90,
|
||||||
|
})}
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
|
<div className="item-info-sidebar-icon">
|
||||||
|
{getTypeIcon("MusicAlbum")}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
className="flex flex-align-center"
|
||||||
|
style={{ gap: "1em", flexWrap: "wrap" }}
|
||||||
|
>
|
||||||
|
{item.data.GenreItems?.map((genre) => (
|
||||||
|
<TagChip label={genre.Name} key={genre.Id} />
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
<div className="flex flex-column item-info-sidebar-artist-container">
|
||||||
|
{item.data.ArtistItems?.map((artist) => (
|
||||||
|
<Link
|
||||||
|
to="/artist/$id"
|
||||||
|
params={{ id: artist.Id }}
|
||||||
|
className="item-info-sidebar-artist"
|
||||||
|
key={artist.Id}
|
||||||
|
>
|
||||||
|
<div className="item-info-sidebar-artist-image-container">
|
||||||
|
<img
|
||||||
|
className="item-info-sidebar-artist-image"
|
||||||
|
alt={artist.Name ?? "Artist"}
|
||||||
|
src={api.getItemImageUrl(artist.Id, "Primary", {
|
||||||
|
quality: 90,
|
||||||
|
})}
|
||||||
|
/>
|
||||||
|
<span className="material-symbols-rounded">artist</span>
|
||||||
|
</div>
|
||||||
|
<Typography>{artist.Name}</Typography>
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{musicTracks.isSuccess && musicTracks.data.TotalRecordCount > 0 && (
|
|
||||||
<TrackList user={user.data.Id} tracks={musicTracks.data.Items} />
|
|
||||||
)}
|
|
||||||
|
|
||||||
{similarItems.data.TotalRecordCount > 0 && (
|
{similarItems.data.TotalRecordCount > 0 && (
|
||||||
<CardScroller
|
<CardScroller
|
||||||
title="You might also like"
|
title="You might also like"
|
||||||
displayCards={7}
|
displayCards={7}
|
||||||
disableDecoration
|
disableDecoration
|
||||||
>
|
>
|
||||||
{similarItems.data.Items.map((similar, index) => {
|
{similarItems.data.Items.map((similar) => {
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
key={similar.Id}
|
key={similar.Id}
|
||||||
@@ -495,7 +402,7 @@ function MusicAlbumTitlePage() {
|
|||||||
})}
|
})}
|
||||||
</CardScroller>
|
</CardScroller>
|
||||||
)}
|
)}
|
||||||
</motion.div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (item.isError || similarItems.isError) {
|
if (item.isError || similarItems.isError) {
|
||||||
|
|||||||
@@ -1,63 +1,137 @@
|
|||||||
|
|
||||||
$border-radius: 20px;
|
$border-radius: 20px;
|
||||||
|
.item-album {
|
||||||
.item-album{
|
.item-info {
|
||||||
.item-detail-cast {
|
display: flex;
|
||||||
max-height: 50vh;
|
flex-direction: column;
|
||||||
overflow-y: auto;
|
&-container {
|
||||||
mask-image: linear-gradient(to top, transparent, black 1.2em);
|
grid-template-columns: 1fr 25%;
|
||||||
-webkit-mask-image: linear-gradient(to top, transparent, black 1.2em);
|
display: grid;
|
||||||
&-title {
|
gap: 3em;
|
||||||
|
}
|
||||||
|
gap: 1.2em;
|
||||||
|
&-sidebar {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1em;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
max-height: 100vh;
|
||||||
top: 0;
|
top: 0;
|
||||||
background: $clr-background-dark;
|
&-image {
|
||||||
padding: 0.35em;
|
width: 100%;
|
||||||
border-radius: 10px;
|
object-fit: cover;
|
||||||
|
border-radius: $border-radius-default;
|
||||||
|
}
|
||||||
|
&-artist {
|
||||||
|
display: flex;
|
||||||
|
gap: 1em;
|
||||||
|
align-items: center;
|
||||||
|
padding: 1em 0;
|
||||||
|
color: rgb(255 255 255 / 0.7);
|
||||||
|
transition: $transition-time-default;
|
||||||
|
cursor: pointer;
|
||||||
|
text-decoration: none;
|
||||||
|
&:hover {
|
||||||
|
color: rgb(255 255 255)
|
||||||
|
}
|
||||||
|
&-image {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
position: relative;
|
||||||
|
&-container {
|
||||||
|
width: 3em;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
border-radius: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
.material-symbols-rounded {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background: rgb(255 255 255 / 0.1);
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&-container {
|
||||||
|
// max-height: 20em;/
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&-track {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 3em 60% 6em 1fr;
|
||||||
|
gap: 1em;
|
||||||
|
padding: 1em;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: $border-radius-default;
|
||||||
|
transition: background $transition-time-fast;
|
||||||
|
&.header {
|
||||||
|
border-bottom: 1px solid rgb(255 255 255 / 0.2);
|
||||||
|
color: rgb(255 255 255 / 0.7);
|
||||||
|
border-radius: 0 !important;
|
||||||
|
}
|
||||||
|
.index-container {
|
||||||
|
justify-self: center;
|
||||||
|
position: relative;
|
||||||
|
.material-symbols-rounded {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
font-size: 2em !important;
|
||||||
|
opacity: 0;
|
||||||
|
transition: none !important;
|
||||||
|
color: $clr-accent-default;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&-info {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.1em
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
background: rgb(255 255 255 / 0.1) !important;
|
||||||
|
.index-container {
|
||||||
|
// font-size: 0em;
|
||||||
|
.index {
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0;
|
||||||
|
}
|
||||||
|
.material-symbols-rounded {
|
||||||
|
opacity: 1;
|
||||||
|
font-size: 2.2em !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.playing {
|
||||||
|
background: rgb(0 0 0 / 0.4) !important;
|
||||||
|
.item-info-track-info-name, .index {
|
||||||
|
color: $clr-accent-default;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&-container {
|
&-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1em;
|
gap: 0.4em
|
||||||
}
|
}
|
||||||
&-grid {
|
|
||||||
display: grid;
|
|
||||||
gap: 1em;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
|
||||||
}
|
}
|
||||||
&-card {
|
&-album-info {
|
||||||
display: grid;
|
gap: 1.2em;
|
||||||
grid-template-columns: 6em 1fr;
|
|
||||||
gap: 0.5em;
|
|
||||||
align-items: center;
|
|
||||||
color: white !important;
|
|
||||||
text-decoration: none;
|
|
||||||
padding: 0.5em;
|
|
||||||
background: rgb(255 255 255 / 0);
|
|
||||||
transition: background $transition-time-default;
|
|
||||||
border-radius: $border-radius-default;
|
|
||||||
&:hover {
|
|
||||||
background: rgb(255 255 255 / 0.1);
|
|
||||||
}
|
}
|
||||||
&-image,
|
&-buttons {
|
||||||
&-icon {
|
|
||||||
width: 6em;
|
|
||||||
height: 6em;
|
|
||||||
object-fit: cover;
|
|
||||||
border-radius: 100%;
|
|
||||||
box-shadow: $shadow-card-image;
|
|
||||||
}
|
|
||||||
&-icon {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
gap: 1em;
|
||||||
justify-content: center;
|
|
||||||
font-size: 1em;
|
|
||||||
background: rgb(255 255 255 / 0.1);
|
|
||||||
.material-symbols-rounded {
|
|
||||||
font-size: 3em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -73,18 +147,14 @@ $border-radius: 20px;
|
|||||||
background: rgb(0 0 0 / 0.4);
|
background: rgb(0 0 0 / 0.4);
|
||||||
transition: background $transition-time-default;
|
transition: background $transition-time-default;
|
||||||
backdrop-filter: blur(5px);
|
backdrop-filter: blur(5px);
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-radius: $border-radius $border-radius 8px 8px;
|
border-radius: $border-radius $border-radius 8px 8px;
|
||||||
cursor: default !important;
|
cursor: default !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border-radius: 8px 8px $border-radius $border-radius;
|
border-radius: 8px 8px $border-radius $border-radius;
|
||||||
}
|
}
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|
||||||
&s {
|
&s {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
@@ -92,22 +162,17 @@ $border-radius: 20px;
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgb(0 0 0 / 0.5);
|
background: rgb(0 0 0 / 0.5);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.playing {
|
&.playing {
|
||||||
color: $clr-accent-default;
|
color: $clr-accent-default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$cardWidth: 22%;
|
$cardWidth: 22%;
|
||||||
|
|
||||||
.item-album.item {
|
.item-album.item {
|
||||||
gap: 1em;
|
|
||||||
.item-hero {
|
.item-hero {
|
||||||
height: 50vh;
|
height: 50vh;
|
||||||
gap: 2em;
|
gap: 2em;
|
||||||
@@ -171,11 +236,9 @@ $cardWidth: 22%;
|
|||||||
height: calc(50vh + 4.4em);
|
height: calc(50vh + 4.4em);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
mask-image: linear-gradient(to top, transparent, black);
|
mask-image: linear-gradient(to top, transparent, black);
|
||||||
-webkit-mask-image: linear-gradient(
|
-webkit-mask-image: linear-gradient(to top,
|
||||||
to top,
|
|
||||||
transparent,
|
transparent,
|
||||||
black
|
black);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -217,7 +280,7 @@ $cardWidth: 22%;
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
.material-symbols-rounded{
|
.material-symbols-rounded {
|
||||||
font-size: 4em;
|
font-size: 4em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -263,11 +326,9 @@ $cardWidth: 22%;
|
|||||||
height: calc(54vh + 4.4em);
|
height: calc(54vh + 4.4em);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
mask-image: linear-gradient(to top, transparent, black);
|
mask-image: linear-gradient(to top, transparent, black);
|
||||||
-webkit-mask-image: linear-gradient(
|
-webkit-mask-image: linear-gradient(to top,
|
||||||
to top,
|
|
||||||
transparent,
|
transparent,
|
||||||
black
|
black);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
& .play-button {
|
& .play-button {
|
||||||
@@ -280,7 +341,6 @@ $cardWidth: 22%;
|
|||||||
justify-items: center;
|
justify-items: center;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
gap: 3em;
|
gap: 3em;
|
||||||
|
|
||||||
&-cast {
|
&-cast {
|
||||||
max-height: 50vh;
|
max-height: 50vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@@ -291,7 +351,7 @@ $cardWidth: 22%;
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
background: black;
|
background: black;
|
||||||
border:1px solid rgb(255 255 255 / 0.2) ;
|
border: 1px solid rgb(255 255 255 / 0.2);
|
||||||
padding: 0.35em;
|
padding: 0.35em;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@@ -358,7 +418,6 @@ $cardWidth: 22%;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1320px) {
|
@media (max-width: 1320px) {
|
||||||
.item-album .item-detail {
|
.item-album .item-detail {
|
||||||
&-cast {
|
&-cast {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ import heroBg from "@/assets/herobg.png";
|
|||||||
import "./boxset.scss";
|
import "./boxset.scss";
|
||||||
|
|
||||||
import IconLink from "@/components/iconLink";
|
import IconLink from "@/components/iconLink";
|
||||||
|
import { getTypeIcon } from "@/components/utils/iconsCollection";
|
||||||
import { createFileRoute } from "@tanstack/react-router";
|
import { createFileRoute } from "@tanstack/react-router";
|
||||||
|
|
||||||
function TabPanel(props) {
|
function TabPanel(props) {
|
||||||
|
|||||||
@@ -7,10 +7,9 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 10px !important;
|
overflow: visible;
|
||||||
overflow: hidden;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border: 1.2px solid rgb(255 255 255 / 0.15);
|
border: none;
|
||||||
// box-shadow: 0 0 30px black !important;
|
// box-shadow: 0 0 30px black !important;
|
||||||
}
|
}
|
||||||
&-background {
|
&-background {
|
||||||
@@ -24,30 +23,29 @@
|
|||||||
&-container {
|
&-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
top: 0;
|
top: -4.4em;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
height: 90vh;
|
||||||
filter: brightness(0.8);
|
filter: brightness(0.8);
|
||||||
|
mask-image: linear-gradient(to left, black 50%, transparent), linear-gradient(to bottom, black 60%, transparent);
|
||||||
|
-webkit-mask-image: linear-gradient(to left,
|
||||||
|
black 50%,
|
||||||
|
transparent), linear-gradient(to bottom, black 40%, transparent);
|
||||||
|
mask-composite: intersect;
|
||||||
}
|
}
|
||||||
&-image {
|
&-image {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
top: 0;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
width: 80%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 90vh;
|
||||||
transition: opacity 0.5s;
|
transition: opacity 0.5s;
|
||||||
mask-image: linear-gradient(to left, black 50%, transparent);
|
|
||||||
-webkit-mask-image: linear-gradient(
|
|
||||||
to left,
|
|
||||||
black 50%,
|
|
||||||
transparent
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&-icon-container {
|
&-icon-container {
|
||||||
@@ -60,6 +58,7 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background-blend-mode: overlay;
|
background-blend-mode: overlay;
|
||||||
|
height: 90vh;
|
||||||
.material-symbols-rounded {
|
.material-symbols-rounded {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 15em !important;
|
font-size: 15em !important;
|
||||||
@@ -89,9 +88,10 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
padding: 2.5em;
|
padding: $page-margin;
|
||||||
|
padding-bottom: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: flex-end;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -114,6 +114,7 @@
|
|||||||
}
|
}
|
||||||
&-text {
|
&-text {
|
||||||
-webkit-line-clamp: 2 !important;
|
-webkit-line-clamp: 2 !important;
|
||||||
|
|
||||||
&-logo {
|
&-logo {
|
||||||
max-width: 7em;
|
max-width: 7em;
|
||||||
max-height: 2em;
|
max-height: 2em;
|
||||||
|
|||||||