Compare commits

...
Author SHA1 Message Date
Prayag Prajapati 1125ef2539 Fix #119 2023-10-07 13:13:20 +05:30
Prayag Prajapati 48d0354a3f Add favorite page #33 2023-10-07 12:49:06 +05:30
renovate[bot] 5f394c0d86 Update tauri monorepo to v1.5.1 (#196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 21:18:36 +05:30
renovate[bot] 28954a38ba Update material-ui monorepo (#195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 18:26:57 +05:30
renovate[bot] ebd6d49ce9 Update tauri monorepo to v1.5.1 (#193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 18:20:05 +05:30
dependabot[bot] 6220696e18 chore(deps): bump postcss from 8.4.30 to 8.4.31 (#194)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.30 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.30...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-06 18:19:48 +05:30
renovate[bot] 7ec4e59821 Update material-ui monorepo (#185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 18:14:38 +05:30
renovate[bot] 2fb3fb83e9 Update tauri monorepo to v1.5.1 (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 18:14:26 +05:30
Prayag Prajapati 4549547012 Remove Alpha 1 notice 2023-10-05 23:06:08 +05:30
Prayag Prajapati e0c77fb7c6 Update audio player 2023-10-05 21:31:46 +05:30
Prayag Prajapati 686d1597af Fix onEnd #191 2023-10-05 21:16:31 +05:30
Prayag Prajapati 92bd2d5b0e Improve Mouse detection in video player #191 2023-10-04 18:54:51 +05:30
Prayag Prajapati f238e367ba Add continous playback #191 2023-10-04 15:34:39 +05:30
Prayag Prajapati 0749b3f59a Display logo in videoPlayer and improve episode info 2023-10-02 20:51:08 +05:30
Prayag Prajapati b0fc4f7f51 Improve api interactions and add Key binding to VideoPlayer #191 2023-10-02 17:45:04 +05:30
Prayag Prajapati 674bde06df Add liking and watched status marking for seasons 2023-10-02 15:31:12 +05:30
Prayag Prajapati 52faaef201 Fix library page not displaying all items #183 #182 2023-09-30 19:11:39 +05:30
renovate[bot] 3d75c08979 Update tauri monorepo to v1.5.0 (#187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 09:01:17 +05:30
renovate[bot] f799aa5e11 Update tauri monorepo (#186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 23:49:41 +05:30
Prayag Prajapati 3a7bb89ea1 Clean up and some bug fixes 2023-09-29 16:45:19 +05:30
Prayag Prajapati 7254d3a930 Complete #179 2023-09-29 16:33:02 +05:30
Prayag Prajapati de33f4ff0b Update Sidemenu #179 2023-09-29 16:24:08 +05:30
renovate[bot] d3e0828b3a Update material-ui monorepo (#177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 14:59:51 +05:30
renovate[bot] b17f33af96 Update tauri monorepo (#178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 14:57:26 +05:30
Prayag Prajapati d28d15d89a Add loading element to searchPage #34 2023-09-28 22:16:42 +05:30
Prayag Prajapati 7de4421921 Clean search page's code #34 2023-09-28 20:57:35 +05:30
Prayag Prajapati c10bfa5578 Fix search not showing all item types #34 2023-09-28 20:44:26 +05:30
Prayag Prajapati 18aef998df Start adding search page #34 2023-09-27 16:16:50 +05:30
Prayag Prajapati 4e296bcdb8 Add extra filters to LibraryPage #176 and use Noto Sans instead of Open Sans 2023-09-26 22:06:41 +05:30
Prayag Prajapati 0d1b66c8da Update LibraryPage #176 2023-09-26 18:54:21 +05:30
Prayag Prajapati 38884e25d8 Add video quality filters #176 2023-09-26 18:40:01 +05:30
Prayag Prajapati 747f502387 Change npm to pnpm in tauri conf 2023-09-26 16:45:03 +05:30
Prayag Prajapati 17ccd19554 Add Playback related filter to LibraryPage #176 2023-09-26 16:43:29 +05:30
Prayag Prajapati 5f6316cdc3 Update build.yml 2023-09-25 22:45:19 +05:30
Prayag Prajapati 332fd9b0be Update build.yml 2023-09-25 22:28:28 +05:30
Prayag Prajapati f0ac132332 Fix pnpm lockfile 2023-09-25 22:26:11 +05:30
Prayag Prajapati a0a5c5ed81 Update build.yml 2023-09-25 22:20:54 +05:30
Prayag Prajapati 8443dc4d73 Fix pnpm issue 2023-09-25 22:18:58 +05:30
Prayag Prajapati 80d76d4428 Change npm to pnpm in workflow 2023-09-25 22:08:48 +05:30
Prayag Prajapati cc7799a9ec Fix Playlist cardType #176 2023-09-25 22:05:18 +05:30
Prayag Prajapati e3b3cb3ab6 Fix card navigating Persona and artists #176 2023-09-25 21:59:43 +05:30
Prayag Prajapati edf9831a79 Improve Card display in Library Page #176 2023-09-25 21:32:57 +05:30
Prayag Prajapati f7529a38da Start adding options to LibraryPage #176 2023-09-25 20:57:51 +05:30
Prayag Prajapati d4a923863d Update LibraryPage #176 2023-09-25 15:44:35 +05:30
Prayag Prajapati 1e38aebb83 Start working on new library page #176 2023-09-22 17:59:56 +05:30
Prayag Prajapati 8ba8e6b94a Add Access-control header to axios 2023-09-22 11:43:18 +05:30
Prayag Prajapati fc3694adf4 Fix multiple device being registered 2023-09-22 11:38:48 +05:30
Prayag Prajapati 69660b1d10 Add ErrorBoundaries to Home 2023-09-22 11:18:46 +05:30
Prayag Prajapati db9a0411d0 Revert overflowing UI 2023-09-21 22:50:08 +05:30
Prayag Prajapati f31b3f8a30 Fix episode overview not displayed 2023-09-21 22:41:20 +05:30
Prayag Prajapati de165270a8 display queue in music player 2023-09-21 15:58:07 +05:30
Prayag Prajapati 10f63ac58d Allow changing audio volume, complete #173 2023-09-21 15:19:29 +05:30
Prayag Prajapati 0c50c60129 Potential fix to allow https with self signed cert #119 #115 2023-09-21 10:29:23 +05:30
Prayag Prajapati 7650b49a6b Add playlist playback support #173 2023-09-20 23:28:26 +05:30
Prayag Prajapati 3d87404bbf update packages 2023-09-20 16:48:27 +05:30
renovate[bot] 8df48c5722 Update dependency vite-plugin-svgr to v4 (#175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 16:33:37 +05:30
Prayag Prajapati e552178b72 Complete EpisodeTitlePage #160 2023-09-20 16:30:13 +05:30
Prayag Prajapati 59e8ceb99c Fix few things 2023-09-19 18:44:45 +05:30
Prayag Prajapati f549d6430f Addd ArtistTitlePage #160 2023-09-19 15:18:39 +05:30
Prayag Prajapati 2c85f67467 Update wavesurfer 2023-09-18 17:15:17 +05:30
Prayag Prajapati efa8b958ee Add more feat to audioPlayer #173 2023-09-18 17:05:12 +05:30
Prayag Prajapati 0233962797 Improve audio player #173 2023-09-18 14:44:59 +05:30
Prayag Prajapati 34166f9d59 Start working on audio playback #173 2023-09-18 13:14:24 +05:30
Prayag Prajapati c3f18282c4 Add TextLink component 2023-09-17 19:27:28 +05:30
Prayag Prajapati d7a573e8db Fix card images 2023-09-17 16:02:56 +05:30
Prayag Prajapati 4c783ff8d0 Remove MarkAsPlayedButton from MusicAlbumTitlePage #160 2023-09-17 16:01:02 +05:30
Prayag Prajapati 15c0437060 Remove icon from hero backdrop 2023-09-17 15:58:11 +05:30
Prayag Prajapati be3fe48b74 Add MusicAlbumTItlePage #160 2023-09-17 15:56:35 +05:30
Prayag Prajapati 46119c1f1d Fix UI doesn't load Windows 11 #115 2023-09-16 23:11:44 +05:30
Prayag Prajapati a56e2775f3 Complete PersonTitlePage #160 2023-09-15 22:46:49 +05:30
Prayag Prajapati 0c94f2994a Update README.md 2023-09-15 13:15:54 +05:30
Prayag Prajapati 28f6050a97 Fix images 2023-09-15 13:15:37 +05:30
Prayag Prajapati cc73c531fa Fix ItemName not appearing in titlePage 2023-09-14 22:27:52 +05:30
Prayag Prajapati 47895ec48e Update README.md 2023-09-14 21:53:45 +05:30
Prayag Prajapati 5ed543526f Update banner.png 2023-09-14 21:52:21 +05:30
Prayag Prajapati 64d596fb01 Update README.md 2023-09-14 15:51:16 +05:30
Prayag Prajapati aae48aced9 Update client branding 2023-09-14 15:49:56 +05:30
Prayag Prajapati 19fc23a571 add drop shadow to item logo #160 2023-09-13 23:55:22 +05:30
Prayag Prajapati 60bb53a5de Add logo to ItemHero #160 2023-09-13 23:53:53 +05:30
Prayag Prajapati d7a6fc2dd0 Start adding PersonTitlePage 2023-09-13 23:36:11 +05:30
Prayag Prajapati fb27c3071f Update 2023-09-13 14:34:07 +05:30
Prayag Prajapati 7f91fd083c Add ActorCards and fix episodeCards size issue #160 2023-09-13 14:13:45 +05:30
Prayag Prajapati d5193044e2 Complete BoxSetTitlePage #160 #125 2023-09-13 13:55:56 +05:30
Prayag Prajapati 6cc2231f55 Add BoxSetTitlePage #160 2023-09-13 00:30:38 +05:30
Prayag Prajapati 7a74d48738 Update SeriesTitlePage #160 2023-09-12 19:06:44 +05:30
Prayag Prajapati ad1ec9138b Display episodes in SeriesTitlePage #160 2023-09-12 18:24:33 +05:30
Prayag Prajapati ee6b976e84 Add season component #160 2023-09-12 16:09:13 +05:30
renovate[bot] 316dfae793 Update actions/checkout action to v4 (#171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 23:37:36 +05:30
Prayag Prajapati c05178a901 Update renovate.json 2023-09-11 23:37:16 +05:30
Prayag Prajapati 83bc0790a6 fix home spacing 2023-09-11 22:16:38 +05:30
Prayag Prajapati d6af11b3a4 Start adding SeriesTitlePage #160 2023-09-11 22:14:46 +05:30
Prayag Prajapati dc26d79ce0 Update renovate.json 2023-09-11 20:36:54 +05:30
renovate[bot] 1ff5594840 Update Rust crate log to ^0.4.20 (#168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 20:34:58 +05:30
renovate[bot] 04077f197b Update tauri monorepo (#169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 20:34:35 +05:30
renovate[bot] a72c16e7bc Add renovate.json (#167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 20:32:55 +05:30
Prayag Prajapati 2876e785ae Update README.md 2023-09-11 20:30:21 +05:30
Prayag Prajapati 7f99f76130 Remove dependabot 2023-09-11 15:22:34 +05:30
Prayag Prajapati 5caa9b084f Remove a lot of Box components, replace sx with style, move from npm to pnpm, etc... 2023-09-11 15:16:54 +05:30
Prayag Prajapati 5c425b65c6 Add track selector and remaining time progress to itemHero #160 2023-09-09 18:34:13 +05:30
Prayag Prajapati f711440de3 Update Title Page #160 2023-09-09 15:19:19 +05:30
Prayag Prajapati 2c08105a50 Update hero 2023-09-07 00:15:45 +05:30
Prayag Prajapati b6962b9ab2 Update like and markPlayed buttons 2023-09-06 23:41:11 +05:30
Prayag Prajapati 2527d429bc Fix cards 2023-09-06 14:30:19 +05:30
Prayag Prajapati 8bd42c0f2f Start working on new titlePage #160 2023-09-05 12:28:06 +05:30
dependabot[bot] 73794711dc chore(package-update) NPM: bump framer-motion from 10.16.1 to 10.16.2 (#161)
Bumps [framer-motion](https://github.com/framer/motion) from 10.16.1 to 10.16.2.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.16.1...v10.16.2)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 18:43:11 +05:30
Prayag Prajapati 61adf341eb Fix card component like button #153 2023-09-03 23:11:30 +05:30
Prayag Prajapati 22ee720795 Update 2023-09-03 21:35:05 +05:30
Prayag Prajapati 56ba3287dc Update PlayButton #153 2023-09-01 22:20:28 +05:30
Prayag Prajapati d9d0a3b534 Start working PlayButton and add few missing displays to card #153 2023-09-01 19:48:34 +05:30
Prayag Prajapati f1394b7172 Add playback indication in cards and update carousel animation #153 2023-08-31 18:30:01 +05:30
Prayag Prajapati e36f92e135 Update sidemenu and cards 2023-08-31 14:58:17 +05:30
Prayag Prajapati 7dd5fd89f8 Add blurhash support to cards #153 2023-08-29 23:42:07 +05:30
dependabot[bot] 821090612e chore(package-update) NPM: bump @mui/lab (#154)
Bumps [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab) from 5.0.0-alpha.140 to 5.0.0-alpha.141.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab)

---
updated-dependencies:
- dependency-name: "@mui/lab"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 22:07:18 +05:30
dependabot[bot] b8e220cba1 chore(package-update) NPM: bump framer-motion from 10.16.0 to 10.16.1 (#155)
Bumps [framer-motion](https://github.com/framer/motion) from 10.16.0 to 10.16.1.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.16.0...v10.16.1)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 22:07:06 +05:30
dependabot[bot] 0b60962f5d chore(package-update) NPM: bump @types/react from 18.2.20 to 18.2.21 (#157)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.20 to 18.2.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 21:25:29 +05:30
dependabot[bot] c6b7be9fc6 chore(package-update) NPM: bump axios from 1.4.0 to 1.5.0 (#158)
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 21:25:19 +05:30
dependabot[bot] f3a4edc03a chore(package-update) NPM: bump @mui/material from 5.14.5 to 5.14.6 (#156)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.14.5 to 5.14.6.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.14.6/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 21:25:10 +05:30
Prayag Prajapati f65e32cd49 Improve app loading state 2023-08-28 16:13:04 +05:30
Prayag Prajapati 7df0f3f9d3 Add display loading state when updating item 2023-08-27 23:44:43 +05:30
Prayag Prajapati 38a7369650 Update card and carousel #153 2023-08-27 17:03:22 +05:30
Prayag Prajapati 002d92d8ad Update card component #153 2023-08-26 13:29:47 +05:30
Prayag Prajapati e11056c2ce Add new hero carousel and start working on cards #153 2023-08-24 17:25:07 +05:30
dependabot[bot] 7f8ec6fc98 chore(package-update) NPM: bump @mui/material from 5.14.4 to 5.14.5 (#147)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.14.4 to 5.14.5.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.14.5/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 15:12:41 +05:30
dependabot[bot] eb44fe1d15 chore(package-update) NPM: bump @tanstack/react-query-devtools (#149)
Bumps [@tanstack/react-query-devtools](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools) from 4.32.6 to 4.33.0.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.33.0/packages/react-query-devtools)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 15:12:31 +05:30
dependabot[bot] 2ea1db67d6 chore(package-update) NPM: bump @mui/lab (#151)
Bumps [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab) from 5.0.0-alpha.139 to 5.0.0-alpha.140.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab)

---
updated-dependencies:
- dependency-name: "@mui/lab"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 06:42:16 +05:30
dependabot[bot] 9ffbd8f627 chore(package-update) NPM: bump framer-motion from 10.15.1 to 10.16.0 (#152)
Bumps [framer-motion](https://github.com/framer/motion) from 10.15.1 to 10.16.0.
- [Changelog](https://github.com/framer/motion/blob/v10.16.0/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.15.1...v10.16.0)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 06:42:05 +05:30
dependabot[bot] 0ceb661705 chore(package-update) NPM: bump sass from 1.65.1 to 1.66.1 (#150)
Bumps [sass](https://github.com/sass/dart-sass) from 1.65.1 to 1.66.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.65.1...1.66.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 06:41:08 +05:30
dependabot[bot] f83d7ba29f chore(package-update) NPM: bump @tanstack/react-query (#148)
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 4.32.6 to 4.33.0.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.33.0/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 06:40:56 +05:30
Prayag Prajapati 464a4508e3 Update hero carousel [6/-] #136 2023-08-20 21:58:17 +05:30
Prayag Prajapati 8bd719ece9 Fix carousel breaking when no blurhash found #115 #136 [5/-] 2023-08-18 18:29:38 +05:30
Prayag Prajapati 1252d8f084 Add LikeButton and MarkPlayedButtons with optimistic updates 2023-08-18 18:07:19 +05:30
Prayag Prajapati 710f2228c2 Implement Favourite Button is hero carousel with optimistic update [4/-] #136 2023-08-18 15:48:18 +05:30
Prayag Prajapati ba73569c31 Update backdrop animation speed 2023-08-14 23:47:49 +05:30
Prayag Prajapati b2e0ed01a3 Improve backdrop change animation 2023-08-14 23:35:52 +05:30
Prayag Prajapati 94e7ea95c1 Add full app backdrop 2023-08-14 20:54:08 +05:30
Prayag Prajapati 73085f736f Add app backdrop 2023-08-14 18:58:59 +05:30
Prayag Prajapati c568cf2be4 Improve hero carousel backdrop sys #136 [3/-] 2023-08-14 13:50:29 +05:30
Prayag Prajapati 2d78d95ca9 Improve hero carousel #136 [2/-] 2023-08-13 23:03:07 +05:30
Prayag Prajapati e2ebbd4471 Improve hero carousel [1/-] #136 2023-08-13 21:22:09 +05:30
Prayag Prajapati 7a7e5b3751 Fix: Fullscreen view switches back to windowed view when clicking element in library #137 2023-08-11 22:12:07 +05:30
Prayag Prajapati 8f8d3f2ec3 Update tauri conf 2023-07-25 15:48:16 +05:30
Prayag Prajapati 0bcb7a6cff Add error slide for carousel 2023-07-25 15:47:18 +05:30
Prayag Prajapati d5daa6d9dc Add Ability to select none for subtitles #123 2023-07-13 14:29:59 +05:30
Prayag Prajapati 791f277ca5 Merge branch 'main' of https://github.com/prayag17/JellyPlayer 2023-07-12 17:16:17 +05:30
Prayag Prajapati 08f6993132 Fix 0 is not a fn in titlePage 2023-07-12 17:15:54 +05:30
dependabot[bot] ed26c7a762 chore(package-update) NPM: bump @vitejs/plugin-react from 4.0.2 to 4.0.3 (#124)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.0.3/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 20:54:35 +05:30
dependabot[bot] 2710d472ba chore(package-update) NPM: bump @vitejs/plugin-react from 4.0.1 to 4.0.2 (#120)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.0.2/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 20:53:28 +05:30
dependabot[bot] c0a9d0e088 chore(package-update) NPM: bump @fontsource/open-sans (#121)
Bumps [@fontsource/open-sans](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/open-sans) from 5.0.4 to 5.0.5.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/open-sans/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/open-sans)

---
updated-dependencies:
- dependency-name: "@fontsource/open-sans"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 20:53:17 +05:30
dependabot[bot] 0d0580e60e chore(package-update) NPM: bump vite from 4.4.0 to 4.4.2 (#122)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.0 to 4.4.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.4.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 20:53:08 +05:30
Prayag Prajapati e81f4f6c56 Add remove server 2023-07-06 15:33:06 +05:30
Prayag Prajapati fea68f8cab Update packages 2023-07-06 15:19:40 +05:30
Prayag Prajapati ce4b635d78 Complete open sidemenu #11 2023-07-06 15:14:11 +05:30
Prayag Prajapati 83ebd5de7e Create a drawer component #11 2023-07-04 14:03:13 +05:30
dependabot[bot] 3f44e5fc96 chore(package-update) NPM: bump semver from 6.3.0 to 7.5.3 (#108)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v7.5.3)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 12:02:54 +05:30
Prayag Prajapati 39ad113573 Merge branch 'main' of https://github.com/prayag17/JellyPlayer 2023-06-29 11:38:28 +05:30
Prayag Prajapati 9ff7482aea Fix dependabot security alert 2023-06-29 11:38:11 +05:30
dependabot[bot] 36e3d2a7cb chore(package-update) NPM: bump @tanstack/react-query-devtools (#107)
Bumps [@tanstack/react-query-devtools](https://github.com/tanstack/query) from 4.29.12 to 4.29.19.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.12...v4.29.19)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 11:28:07 +05:30
dependabot[bot] 691d5e0157 chore(package-update) NPM: bump react-router-dom from 6.12.1 to 6.14.0 (#106)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.12.1 to 6.14.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@6.14.0/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.14.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 17:27:01 +05:30
dependabot[bot] 94986db688 chore(package-update) NPM: bump @types/react-dom from 18.2.4 to 18.2.6 (#105)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.4 to 18.2.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 17:21:29 +05:30
dependabot[bot] 9bf0b25662 chore(package-update) NPM: bump @mui/lab (#101)
Bumps [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab) from 5.0.0-alpha.133 to 5.0.0-alpha.134.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab)

---
updated-dependencies:
- dependency-name: "@mui/lab"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 17:06:48 +05:30
dependabot[bot] 42ca912ca7 chore(package-update) NPM: bump @tauri-apps/api from 1.3.0 to 1.4.0 (#99)
Bumps [@tauri-apps/api](https://github.com/tauri-apps/tauri) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/api-v1.3...@tauri-apps/api-v1.4)

---
updated-dependencies:
- dependency-name: "@tauri-apps/api"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 17:06:39 +05:30
Prayag Prajapati 6ac3383f6e disable play button on series 2023-06-25 00:09:34 +05:30
Prayag Prajapati 922d956565 Display Series info in player #10 2023-06-24 23:59:06 +05:30
dependabot[bot] ca527548d1 chore(package-update) NPM: bump @emotion/react from 11.11.0 to 11.11.1 (#95)
Bumps [@emotion/react](https://github.com/emotion-js/emotion) from 11.11.0 to 11.11.1.
- [Release notes](https://github.com/emotion-js/emotion/releases)
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/react@11.11.0...@emotion/react@11.11.1)

---
updated-dependencies:
- dependency-name: "@emotion/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:52:09 +05:30
dependabot[bot] e16a6c2415 chore(package-update) NPM: bump @types/react from 18.2.8 to 18.2.11 (#94)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.8 to 18.2.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:51:55 +05:30
dependabot[bot] c60b1e416e chore(package-update) NPM: bump react-router-dom from 6.11.2 to 6.12.1 (#96)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.11.2 to 6.12.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.12.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:47:30 +05:30
dependabot[bot] df7994b4b2 chore(package-update) NPM: bump sass from 1.62.1 to 1.63.3 (#98)
Bumps [sass](https://github.com/sass/dart-sass) from 1.62.1 to 1.63.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.62.1...1.63.3)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:47:02 +05:30
dependabot[bot] 03e72d81da chore(package-update) NPM: bump @fontsource/open-sans (#97)
Bumps [@fontsource/open-sans](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/open-sans) from 5.0.2 to 5.0.3.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/open-sans/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/open-sans)

---
updated-dependencies:
- dependency-name: "@fontsource/open-sans"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:46:45 +05:30
Prayag Prajapati c8a7f8a632 Choose subtitle track from title page 2023-06-10 17:49:48 +05:30
Prayag Prajapati d9644f325c Revert "Merge branch 'main' of https://github.com/prayag17/JellyPlayer"
This reverts commit 38dde2a63d, reversing
changes made to 8aef2fc22d.
2023-06-10 11:25:29 +05:30
prayag17 38dde2a63d Merge branch 'main' of https://github.com/prayag17/JellyPlayer 2023-06-10 11:23:07 +05:30
prayag17anddependabot[bot] 8aef2fc22d Revert UI changes in @e4ade56
Update deps (npm)

chore(package-update) NPM: bump @fontsource/open-sans (#92)

Bumps [@fontsource/open-sans](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/open-sans) from 4.5.14 to 5.0.2.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/open-sans/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/open-sans)

---
updated-dependencies:
- dependency-name: "@fontsource/open-sans"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-10 11:22:44 +05:30
prayag17 458890ba35 Merge branch 'main' of https://github.com/prayag17/JellyPlayer 2023-06-10 11:17:44 +05:30
prayag17 8d9d38fa39 Revert UI changes in @e4ade56 2023-06-10 11:17:38 +05:30
dependabot[bot] 957f9b53bb chore(package-update) NPM: bump @fontsource/open-sans (#92)
Bumps [@fontsource/open-sans](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/open-sans) from 4.5.14 to 5.0.2.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/open-sans/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/open-sans)

---
updated-dependencies:
- dependency-name: "@fontsource/open-sans"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 14:30:33 +05:30
prayag17 02d412a9b6 Update deps (npm) 2023-06-06 14:14:29 +05:30
prayag17 e4ade5659c Update ItemPage ui and more... 2023-06-06 14:04:23 +05:30
prayag17 19ff2af29b More updates to player and fixed some ui stuff 2023-05-26 15:16:30 +05:30
prayag17 3c058928cb Show endsAt and fix mouseOver in player #10 2023-05-16 12:45:51 +05:30
prayag17 25ac859efd Allow changing volume #10 2023-05-15 14:04:35 +05:30
dependabot[bot] 5b2968b5bf chore(package-update) NPM: bump @mui/material from 5.12.3 to 5.13.0 (#81)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.12.3 to 5.13.0.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.13.0/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 09:58:48 +05:30
dependabot[bot] 6cccd12a41 chore(package-update) NPM: bump framer-motion from 10.12.8 to 10.12.10 (#80)
Bumps [framer-motion](https://github.com/framer/motion) from 10.12.8 to 10.12.10.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.12.8...v10.12.10)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 09:58:40 +05:30
dependabot[bot] 3ea75c8308 chore(package-update) NPM: bump @tauri-apps/cli from 1.3.0 to 1.3.1 (#79)
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/api-v1.3...cli.js-v1.3.1)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 09:58:33 +05:30
dependabot[bot] 2ce1cd688d chore(package-update) NPM: bump @tanstack/react-query-devtools (#78)
Bumps [@tanstack/react-query-devtools](https://github.com/tanstack/query) from 4.29.6 to 4.29.7.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.6...v4.29.7)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 09:58:24 +05:30
prayag17 756d8d7f4b Allow fullscreen and display time 2023-05-14 18:45:16 +05:30
prayag17 3738d81fab Fix server validation on app startup #74 2023-05-14 17:31:59 +05:30
prayag17 9f4c2f990a Fix Add Server menu does not recognize servers not using HTTPS or using the :8096 port. #74 2023-05-13 22:18:42 +05:30
prayag17 027cf93492 Add slider to videoPlayer #10 2023-05-11 18:56:04 +05:30
prayag17 092a1c74ab Fix Add Server menu does not recognize servers not using HTTPS or using the :8096 port. Fix #74 2023-05-11 14:47:22 +05:30
prayag17 fb7c86631d Fix Login page does not show each accounts profile picture, showing placeholder instead. Fix #75 2023-05-11 13:00:13 +05:30
prayag17 7137cbc13e Start implementing player Ui #10 2023-05-10 18:06:49 +05:30
prayag17 989542107f Use react-player instead of videojs #10 2023-05-10 14:37:40 +05:30
prayag17 97981c7d35 Send progress update to server when playing media #10 2023-05-09 21:16:29 +05:30
dependabot[bot] 797c80b8cd chore(package-update) NPM: bump vite-plugin-svgr from 2.4.0 to 3.2.0 (#67)
Bumps [vite-plugin-svgr](https://github.com/pd4d10/vite-plugin-svgr) from 2.4.0 to 3.2.0.
- [Release notes](https://github.com/pd4d10/vite-plugin-svgr/releases)
- [Commits](https://github.com/pd4d10/vite-plugin-svgr/compare/v2.4.0...v3.2.0)

---
updated-dependencies:
- dependency-name: vite-plugin-svgr
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 18:22:45 +05:30
prayag17 377f926fea Start adding video player #10 2023-05-08 18:11:33 +05:30
prayag17 dd4f5bab30 Implement Episode Page #58 2023-05-04 18:40:31 +05:30
prayag17 e47b7afd15 Add Appearances #64 #26, remove redux and clean up some code 2023-05-04 14:24:51 +05:30
prayag17 a16523118b Add songs to Artist #64 #26 2023-05-03 17:38:47 +05:30
prayag17 b2aaed792e Fix Carousel and Server connection err dialog 2023-05-03 13:54:51 +05:30
prayag17 117ddba9b6 Update package-lock.json 2023-05-02 20:52:31 +05:30
Prayag Prajapati 1a25bb20cb Update README.md 2023-05-02 20:51:54 +05:30
dependabot[bot] 8ba41979e2 chore(package-update) NPM: bump @types/react from 18.0.38 to 18.2.0 (#59)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.38 to 18.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 20:50:11 +05:30
dependabot[bot] 1bd295e0d4 chore(package-update) NPM: bump @mui/lab (#60)
Bumps [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab) from 5.0.0-alpha.127 to 5.0.0-alpha.128.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab)

---
updated-dependencies:
- dependency-name: "@mui/lab"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 20:49:39 +05:30
dependabot[bot] 479ae161b1 chore(package-update) NPM: bump react-router-dom from 6.10.0 to 6.11.0 (#61)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.10.0 to 6.11.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.11.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 20:49:30 +05:30
dependabot[bot] 6957641999 chore(package-update) NPM: bump sass from 1.62.0 to 1.62.1 (#62)
Bumps [sass](https://github.com/sass/dart-sass) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.62.0...1.62.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 20:49:21 +05:30
dependabot[bot] 419c76d81c chore(package-update) NPM: bump @types/react-dom from 18.0.11 to 18.2.1 (#63)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.0.11 to 18.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 20:49:12 +05:30
prayag17 bd5313ebf3 Complete Discography #64 2023-05-02 20:47:00 +05:30
prayag17 16dcff113d Update discography #64 2023-05-02 19:59:41 +05:30
prayag17 e2d50addc1 Start Adding album card to ArtistPage #64 2023-05-02 14:30:50 +05:30
prayag17 2ddaf61399 Update carousel 2023-05-02 13:05:52 +05:30
prayag17 2570c96f31 Fix carousel breaking homePage 2023-05-01 19:37:27 +05:30
prayag17 fbe31a190a Fix card overlay actin buttons going to item page 2023-05-01 14:08:58 +05:30
prayag17 7c1df32117 Add animations 2023-04-30 21:04:45 +05:30
prayag17 b690ff5b3e Fix keys in itemView #26 2023-04-30 09:53:23 +05:30
prayag17 a04e263ad5 Fix cardOverlay 2023-04-29 21:54:52 +05:30
prayag17 0e0833876b fix backbutton jumping in 2023-04-29 20:59:22 +05:30
prayag17 4d92a059d1 Fix nextup 2023-04-29 15:42:17 +05:30
prayag17 5c41bfeca1 Update episode list in title Page #26 2023-04-29 15:33:53 +05:30
prayag17 7df95a05ed Show endsAt in titlePage and Carousel 2023-04-27 18:09:05 +05:30
prayag17 3911459eed Update libView and titlePage #26 2023-04-27 17:59:04 +05:30
prayag17 b1c0704bac remove some unsed pkgs and display external urls #26 2023-04-27 14:30:51 +05:30
prayag17 9022dc16ab Fix building thanks to @FabianLars 2023-04-26 20:14:22 +05:30
prayag17 a08c51a00c Remove few bugs 2023-04-26 16:51:47 +05:30
prayag17 ccb2a628cf Update Backdrop in itemPage #26 2023-04-26 14:17:43 +05:30
prayag17 d3708bd83b Display tracks in item page #26 2023-04-26 14:16:37 +05:30
prayag17 41c4c333d1 Add pagination and fix few performance issues 2023-04-25 19:52:36 +05:30
prayag17 1d31496854 Fix performance issues for libView page #26 2023-04-25 13:37:10 +05:30
prayag17 9c4c1191d8 Update scrollbar 2023-04-24 14:52:28 +05:30
prayag17 ddd6485a0b Merge branch 'main' of https://github.com/prayag17/JellyPlayer 2023-04-24 14:49:19 +05:30
prayag17 53f042a453 Display songs in libView and update titlePage #9 #26 2023-04-24 14:49:05 +05:30
dependabot[bot] a507b0a0c9 chore(package-update) NPM: bump vite from 4.2.1 to 4.3.1 (#53)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.3.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 14:48:22 +05:30
dependabot[bot] ed1633fb21 chore(package-update) NPM: bump @types/react from 18.0.35 to 18.0.38 (#55)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.35 to 18.0.38.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:43:02 +05:30
dependabot[bot] cf59815089 chore(package-update) NPM: bump @mui/lab (#54)
Bumps [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab) from 5.0.0-alpha.126 to 5.0.0-alpha.127.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab)

---
updated-dependencies:
- dependency-name: "@mui/lab"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:40:25 +05:30
dependabot[bot] 58dfe935c6 chore(package-update) NPM: bump framer-motion from 10.12.2 to 10.12.4 (#56)
Bumps [framer-motion](https://github.com/framer/motion) from 10.12.2 to 10.12.4.
- [Release notes](https://github.com/framer/motion/releases)
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.12.2...v10.12.4)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:40:06 +05:30
dependabot[bot] aef5629343 chore(package-update) NPM: bump @vitejs/plugin-react from 3.1.0 to 4.0.0 (#57)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:39:47 +05:30
prayag17 864219c0fe Start adding an about page #52 2023-04-23 10:44:51 +05:30
prayag17 d9a12e24e7 Display track item for musicAlbum #26 2023-04-22 17:39:25 +05:30
prayag17 fa3b2c7e6b More updates #26 2023-04-21 17:38:36 +05:30
prayag17 0035488770 More updates #26 #51 #11 2023-04-19 21:58:59 +05:30
prayag17 ac565b65fe fix endsAt #26 2023-04-17 14:52:12 +05:30
dependabot[bot] 464a3ff5a2 chore(package-update) NPM: bump @jellyfin/sdk from 0.8.1 to 0.8.2 (#48)
Bumps [@jellyfin/sdk](https://github.com/jellyfin/jellyfin-sdk-typescript) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/jellyfin/jellyfin-sdk-typescript/releases)
- [Commits](https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.8.1...v0.8.2)

---
updated-dependencies:
- dependency-name: "@jellyfin/sdk"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 06:50:16 +05:30
dependabot[bot] e9cd7c4e27 chore(package-update) NPM: bump @tanstack/react-query-devtools (#49)
Bumps [@tanstack/react-query-devtools](https://github.com/tanstack/query) from 4.29.1 to 4.29.3.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.1...v4.29.3)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 06:50:05 +05:30
dependabot[bot] a6b377208f chore(package-update) NPM: bump framer-motion from 10.11.6 to 10.12.2 (#50)
Bumps [framer-motion](https://github.com/framer/motion) from 10.11.6 to 10.12.2.
- [Release notes](https://github.com/framer/motion/releases)
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.11.6...v10.12.2)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 06:49:52 +05:30
prayag17 8ef12225c6 More updates to Item Page and NavMenu #26 #11 2023-04-16 20:03:57 +05:30
prayag17 ca9cb9e7d6 Add more info to episodeCards 2023-04-15 18:46:30 +05:30
prayag17 201bc0b092 Merge branch 'main' of https://github.com/prayag17/JellyPlayer 2023-04-15 13:35:11 +05:30
prayag17 3f92769b86 Start adding episdoe cards #26 2023-04-15 13:35:05 +05:30
Prayag Prajapati b1d1985a80 Add Rust install note 2023-04-13 21:42:02 +05:30
prayag17 d73eade38a Update itemDetail page and fix few stuff #26 2023-04-12 15:05:16 +05:30
prayag17 9ad438429f Combine item pages and update them #26 2023-04-11 14:30:43 +05:30
prayag17 0d3b7c855c Fix scrollbar 2023-04-10 16:03:21 +05:30
dependabot[bot] 45655b7464 chore(package-update) NPM: bump @jellyfin/sdk from 0.7.0 to 0.8.1 (#42)
Bumps [@jellyfin/sdk](https://github.com/jellyfin/jellyfin-sdk-typescript) from 0.7.0 to 0.8.1.
- [Release notes](https://github.com/jellyfin/jellyfin-sdk-typescript/releases)
- [Commits](https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.7.0...v0.8.1)

---
updated-dependencies:
- dependency-name: "@jellyfin/sdk"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 13:15:24 +05:30
dependabot[bot] dbe719744a chore(package-update) NPM: bump @tanstack/react-query-devtools (#44)
Bumps [@tanstack/react-query-devtools](https://github.com/tanstack/query) from 4.28.0 to 4.29.0.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.28.0...v4.29.0)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 13:14:52 +05:30
dependabot[bot] fadc3f7a70 chore(package-update) NPM: bump sass from 1.60.0 to 1.61.0 (#45)
Bumps [sass](https://github.com/sass/dart-sass) from 1.60.0 to 1.61.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.60.0...1.61.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 13:14:39 +05:30
dependabot[bot] 3d12d416f7 chore(package-update) NPM: bump @mui/material from 5.11.15 to 5.11.16 (#46)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.11.15 to 5.11.16.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.11.16/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 13:14:29 +05:30
dependabot[bot] cfe0361224 chore(package-update) NPM: bump framer-motion from 10.10.0 to 10.11.2 (#43)
Bumps [framer-motion](https://github.com/framer/motion) from 10.10.0 to 10.11.2.
- [Release notes](https://github.com/framer/motion/releases)
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.10.0...v10.11.2)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 13:14:15 +05:30
prayag17 fd8c6431d5 More updates to titlePage #26 2023-04-09 12:09:35 +05:30
prayag17 b8dc3828e8 Add more details to ItemMovie #26 2023-04-08 19:14:57 +05:30
prayag17 909aead056 Start working on Movie itempage #26 2023-04-08 14:57:02 +05:30
prayag17 88474b494b Add Card button actions #24 2023-04-08 13:23:28 +05:30
prayag17 3833f4d626 Add more filter option to libView #9 2023-04-07 15:09:58 +05:30
prayag17 ef55f13d7b Enable StatusOnly filter for music lib #9 2023-04-06 22:28:52 +05:30
prayag17 3db18e22a4 Show sort options in AudioBooks libView 2023-04-06 22:27:28 +05:30
prayag17 1e93fb1c29 Add more filter options 2023-04-06 18:27:11 +05:30
prayag17 18df836cf4 Start adding filter options in LibraryView #9 2023-04-06 17:26:39 +05:30
prayag17 2bbe846184 Add blurhash to cards 2023-04-05 21:41:37 +05:30
prayag17 50f8e1c0f1 Add Sort functions 2023-04-05 21:01:14 +05:30
Prayag Prajapati fdbe279071 Update README.md (#41) 2023-04-05 17:36:11 +05:30
Prayag Prajapati 90094d9103 Add tha thank you note 2023-04-05 17:34:51 +05:30
prayag17 51647cdd0d Display actors, albums, items, artist etc in libView #9 2023-04-05 17:30:17 +05:30
prayag17 628f90ef57 Add bar to libview #9 2023-04-05 14:24:26 +05:30
prayag17 7cba5a39f6 Update LibraryView #9 2023-04-04 18:23:52 +05:30
prayag17 ee524b57c7 Start displaying lib items 2023-04-04 14:36:07 +05:30
prayag17 9aea2e4750 Fetch data for libraryView #9 2023-04-03 23:12:49 +05:30
prayag17 c49f8d8c76 Add base for LibraryView 2023-04-03 21:02:39 +05:30
prayag17 1158c38575 Fix cardScroller's card scalling 2023-04-03 20:53:11 +05:30
dependabot[bot] f08a3e8337 chore(package-update) NPM: bump @mui/material from 5.11.14 to 5.11.15 (#36)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.11.14 to 5.11.15.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.11.15/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 20:45:48 +05:30
dependabot[bot] 64cc9fa7ff chore(package-update) NPM: bump react-router-dom from 6.9.0 to 6.10.0 (#37)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.9.0 to 6.10.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.10.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 20:45:23 +05:30
dependabot[bot] fd2d8a1efd chore(package-update) NPM: bump sass from 1.59.3 to 1.60.0 (#38)
Bumps [sass](https://github.com/sass/dart-sass) from 1.59.3 to 1.60.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.59.3...1.60.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 20:45:01 +05:30
dependabot[bot] 0febb68047 chore(package-update) NPM: bump react-multi-carousel from 2.8.2 to 2.8.3 (#39)
Bumps [react-multi-carousel](https://github.com/YIZHUANG/react-multi-carousel) from 2.8.2 to 2.8.3.
- [Release notes](https://github.com/YIZHUANG/react-multi-carousel/releases)
- [Changelog](https://github.com/YIZHUANG/react-multi-carousel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/YIZHUANG/react-multi-carousel/commits)

---
updated-dependencies:
- dependency-name: react-multi-carousel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 20:44:42 +05:30
dependabot[bot] e51c2261c2 chore(package-update) NPM: bump @types/react from 18.0.28 to 18.0.32 (#40)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.28 to 18.0.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 20:44:11 +05:30
prayag17 537cf61df5 Merge branch 'main' of https://github.com/prayag17/JellyPlayer 2023-04-03 20:42:50 +05:30
prayag17 62f7a6cd48 Fix multimediaicon in iconsCollection 2023-04-03 20:42:31 +05:30
Prayag Prajapati ee48de0f30 Update tauri.conf.json (#35) 2023-04-02 21:43:41 +05:30
prayag17 272f74473a Start working on LibraryView #9 2023-04-02 18:07:10 +05:30
prayag17 b02b3a95d2 Add Avatar, Favourite, search dummy buttons to appbar 2023-04-01 16:34:31 +05:30
prayag17 d6c7c29b46 Start adding NavBar #25 2023-04-01 14:18:47 +05:30
prayag17 f12d92f42c Add sqaure cards #24, fix cards in login page 2023-03-28 11:26:24 +05:30
dependabot[bot] aebea6a3b2 chore(package-update) NPM: bump @mui/lab (#28)
Bumps [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab) from 5.0.0-alpha.123 to 5.0.0-alpha.124.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab)

---
updated-dependencies:
- dependency-name: "@mui/lab"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:47:51 +05:30
dependabot[bot] 7c19efa448 chore(package-update) NPM: bump vite from 4.1.4 to 4.2.1 (#29)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.1.4 to 4.2.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.2.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:46:51 +05:30
dependabot[bot] cb0fb0eef8 chore(package-update) NPM: bump @tanstack/react-query-devtools (#30)
Bumps [@tanstack/react-query-devtools](https://github.com/tanstack/query) from 4.27.0 to 4.28.0.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.27.0...v4.28.0)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:37:23 +05:30
dependabot[bot] e21a12e36f chore(package-update) NPM: bump framer-motion from 10.2.4 to 10.9.1 (#31)
Bumps [framer-motion](https://github.com/framer/motion) from 10.2.4 to 10.9.1.
- [Release notes](https://github.com/framer/motion/releases)
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.2.4...v10.9.1)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:37:00 +05:30
dependabot[bot] dbc2243dd4 chore(package-update) NPM: bump @mui/material from 5.11.13 to 5.11.14 (#27)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.11.13 to 5.11.14.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.11.14/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:36:37 +05:30
prayag17 4372ecbb4e Fix LatestMedia sections showing skeleton evrytime refocusing the app 2023-03-25 23:19:34 +05:30
prayag17 69d0b4558f Show server disclaimer when on login manual route 2023-03-25 21:58:19 +05:30
prayag17 fc685414be Add more icons and fix icons types in cards 2023-03-25 19:42:57 +05:30
prayag17 68a97196d2 Few Bug fixes 2023-03-25 11:43:21 +05:30
prayag17 1c55dd77ef Add Latest Media Sections #7 2023-03-24 18:51:13 +05:30
prayag17 112b2babc1 Add Continue Watching / Listening Section #7 2023-03-24 12:35:48 +05:30
prayag17 3d40912b6f Add UpNext Section and Skeleton for card sections 2023-03-24 09:37:51 +05:30
prayag17 8d00739199 Update Card Colors 2023-03-23 13:58:34 +05:30
prayag17 b66130950b Pass props to Icons, Add more color to card icons 2023-03-23 13:21:55 +05:30
prayag17 5212e2c497 Add sidemenu highlighter animations 2023-03-23 11:09:01 +05:30
prayag17 221cd4722a Show/Highlight current location in navbar #11 2023-03-22 20:27:50 +05:30
prayag17 c851201872 Update hero-carousel 2023-03-22 14:31:14 +05:30
prayag17 12d771c6c7 Merge branch 'main' of https://github.com/prayag17/JellyPlayer 2023-03-20 09:24:15 +05:30
prayag17 275a05a0a3 Update CardLandscape 2023-03-20 09:24:00 +05:30
dependabot[bot] 65205e5c4e chore(package-update) NPM: bump @mui/lab (#21)
Bumps [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab) from 5.0.0-alpha.122 to 5.0.0-alpha.123.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab)

---
updated-dependencies:
- dependency-name: "@mui/lab"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 08:37:17 +05:30
dependabot[bot] 1a59605e17 chore(package-update) NPM: bump @tanstack/react-query-devtools (#20)
Bumps [@tanstack/react-query-devtools](https://github.com/tanstack/query) from 4.26.1 to 4.27.0.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.26.1...v4.27.0)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 08:36:43 +05:30
dependabot[bot] 3782c79464 chore(package-update) NPM: bump @mui/material from 5.11.12 to 5.11.13 (#22)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.11.12 to 5.11.13.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.11.13/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 08:33:24 +05:30
dependabot[bot] cceb97d0d6 chore(package-update) NPM: bump @mdi/js from 7.1.96 to 7.2.96 (#23)
Bumps [@mdi/js](https://github.com/Templarian/MaterialDesign-JS) from 7.1.96 to 7.2.96.
- [Release notes](https://github.com/Templarian/MaterialDesign-JS/releases)
- [Commits](https://github.com/Templarian/MaterialDesign-JS/compare/v7.1.96...v7.2.96)

---
updated-dependencies:
- dependency-name: "@mdi/js"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 08:32:25 +05:30
dependabot[bot] 2df503c48a chore(package-update) NPM: bump sass from 1.59.2 to 1.59.3 (#19)
Bumps [sass](https://github.com/sass/dart-sass) from 1.59.2 to 1.59.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.59.2...1.59.3)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 08:32:02 +05:30
prayag17 03323d954e Update CardScroller and start using Mui Cards 2023-03-19 22:30:08 +05:30
prayag17 6cb5130b08 Add more details to Hero Carousel, Remove mdi-mui icons, Fix Few bugs 2023-03-18 16:31:47 +05:30
prayag17 b1ab16220c Start Using TanStack Query, add common sidemenu, fix data not being stored 2023-03-17 21:09:31 +05:30
Prayag Prajapati 8ca01ccc2b Update README.md 2023-03-12 11:38:12 +05:30
dependabot[bot] 81afd14b55 Bump @mui/material from 5.11.10 to 5.11.12 (#18)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.11.10 to 5.11.12.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.11.12/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-12 11:35:19 +05:30
Prayag Prajapati 95f5cdd481 Update dependabot.yml 2023-03-11 17:31:35 +05:30
dependabot[bot] e33b8ff266 Bump sass from 1.58.3 to 1.59.2 (#12)
Bumps [sass](https://github.com/sass/dart-sass) from 1.58.3 to 1.59.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.58.3...1.59.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 11:59:58 +05:30
dependabot[bot] 42af75b79d Bump notistack from 2.0.8 to 3.0.1 (#13)
Bumps [notistack](https://github.com/iamhosseindhv/notistack) from 2.0.8 to 3.0.1.
- [Release notes](https://github.com/iamhosseindhv/notistack/releases)
- [Changelog](https://github.com/iamhosseindhv/notistack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/iamhosseindhv/notistack/compare/v2.0.8...v3.0.1)

---
updated-dependencies:
- dependency-name: notistack
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 11:59:40 +05:30
dependabot[bot] 4e71297f02 Bump react-router-dom from 6.8.1 to 6.9.0 (#14)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.8.1 to 6.9.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.9.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 11:56:00 +05:30
dependabot[bot] eca1bcb995 Bump @mui/lab from 5.0.0-alpha.120 to 5.0.0-alpha.122 (#15)
Bumps [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab) from 5.0.0-alpha.120 to 5.0.0-alpha.122.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab)

---
updated-dependencies:
- dependency-name: "@mui/lab"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 11:55:31 +05:30
dependabot[bot] 4f7d58fe1d Bump framer-motion from 7.10.3 to 10.2.4 (#16)
Bumps [framer-motion](https://github.com/framer/motion) from 7.10.3 to 10.2.4.
- [Release notes](https://github.com/framer/motion/releases)
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v7.10.3...v10.2.4)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 11:55:02 +05:30
Prayag Prajapati 23e892f45b Merge pull request #17 from prayag17/dependabot/npm_and_yarn/vite-and-vitejs/plugin-react-4.1.4
Bump vite and @vitejs/plugin-react
2023-03-11 11:54:10 +05:30
Prayag Prajapati 664293d82b Update dependabot.yml 2023-03-11 11:51:59 +05:30
dependabot[bot] 1e9438227c Bump vite and @vitejs/plugin-react
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) and [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react). These dependencies needed to be updated together.

Updates `vite` from 3.2.5 to 4.1.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.1.4/packages/vite)

Updates `@vitejs/plugin-react` from 2.2.0 to 3.1.0
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@3.1.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 06:20:21 +00:00
Prayag Prajapati 4604b4f103 Create dependabot.yml 2023-03-11 11:49:14 +05:30
Prayag Prajapati e62e9384d8 Update issue templates 2023-03-09 14:54:41 +05:30
Prayag Prajapati 301dc3dcc1 Update README.md 2023-03-08 11:58:29 +05:30
Prayag Prajapati 93b79c5fba Fix page reload breaking stuff and add few other things 2023-02-24 20:49:43 +05:30
Prayag Prajapati 899fcb0479 Auto login user if remember me enabled 2023-02-24 15:43:17 +05:30
Prayag Prajapati 61230c01bb Update cargo.toml 2023-02-23 21:06:18 +05:30
Prayag Prajapati 059f391e52 Allow user password and username to be saved 2023-02-23 10:44:53 +05:30
Prayag Prajapati c73774a3b2 Update splashscreen, fix loading anim not going away 2023-02-22 21:04:02 +05:30
Prayag Prajapati 8170c4a2d8 Use tauri-plugin-store for data storage 2023-02-22 19:50:10 +05:30
Prayag Prajapati 29ab3e96c7 Update splash screen size 2023-02-22 12:06:12 +05:30
Prayag Prajapati 7388876967 Theme Splash screen 2023-02-22 12:04:43 +05:30
Prayag Prajapati e2ae87ef9c Remove unwanted plugin for vite 2023-02-21 22:36:29 +05:30
Prayag Prajapati 355bbcdbe3 Add Splashscreen 2023-02-21 22:33:11 +05:30
Prayag Prajapati 57cc216ae8 fix build.yml 2023-02-14 10:58:03 +05:30
Prayag Prajapati 24c29c8f7e Fix npm &&... 2023-02-14 10:54:56 +05:30
Prayag Prajapati a1936e96cd Fix yarn issue in build 2023-02-14 10:52:36 +05:30
201 changed files with 19456 additions and 6918 deletions

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"no-mixed-spaces-and-tabs": "off",
"react/prop-types": "off"
}
}
+38
View File
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+24 -5
View File
@@ -12,14 +12,14 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
platform: [macos-latest, ubuntu-22.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
run: |
sudo apt-get update
@@ -32,16 +32,35 @@ jobs:
uses: swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 7
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Sync node version and setup cache
uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "yarn" # Set this to npm, yarn or pnpm.
cache: "pnpm" # Set this to npm, yarn or pnpm.
- name: Install app dependencies and build web
# Remove `&& yarn build` if you build your frontend in `beforeBuildCommand`
run: yarn && yarn build # Change this to npm, yarn or pnpm.
run: pnpm install --no-frozen-lockfile && pnpm run build # Change this to npm, yarn or pnpm.
- name: Build the app
uses: tauri-apps/tauri-action@v0
+36 -11
View File
@@ -1,26 +1,51 @@
![Banner](https://user-images.githubusercontent.com/55829513/215268063-c7e114c2-0200-42e9-9e38-6dc765fcf6cc.png)
![Banner](https://github.com/prayag17/JellyPlayer/assets/55829513/a022ae71-5458-4d4e-a9ee-892824fde927)
# 📝 Prerequisites
# :memo: Prerequisites:
- Nodejs (≥19.1.0)
- Rust (≥1.66.1)
- Visual Studio C++ Build tools
- [pnpm](https://pnpm.io/)
# ℹ️ Getting started
- Install Nodejs, pnpm and Rust.
> **Note** : Install Rust from <https://www.rust-lang.org/learn/get-started>
- install depencies using pnpm:
# :warning: Getting started:
- Install Nodejs and Rust.
- install depencies using npm:
```shell
npm install
pnpm install
```
# :information_source: Development:
# 🛠️ Development
- Running the app:
```shell
npm run tauri dev
pnpm run tauri dev
```
- Building the app:
```shell
npm run tauri build
pnpm run tauri build
```
- other commands can be found inside the `"scripts"` inside [package.json](https://github.com/prayag17/JellyPlayer/blob/main/package.json)
# :sos: Help Wanted:
- Home sections containing latest media.
# 💻 Contribution
- Checkout `issues` to see currently worked on features and bugs
- Add features or fix bugs
- Create a pull request
# 📃 Roadmap
- Checkout [GitHub Project](https://github.com/users/prayag17/projects/3)
# 🎊 Special thanks to
- [@ferferga](https://github.com/ferferga) for helping in development behind the scenes.
- All contributors of [jellyfin/jellyfin-vue](https://github.com/jellyfin/jellyfin-vue).
- And also [@jellyfin](https://github.com/jellyfin/) for creating the main service
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 KiB

+7 -1
View File
@@ -10,7 +10,13 @@
<body>
<div id="root"></div>
<svg style="width:0;height:0;position:absolute;" aria-hidden="true" focusable="false">
<linearGradient id="clr-gradient-default" x2="1" y2="1">
<stop offset="0%" stop-color="hsl(337, 96%, 56%)" />
<stop offset="100%" stop-color="hsl(273, 100%, 36%)" />
</linearGradient>
</svg>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
</html>
-5270
View File
File diff suppressed because it is too large. Load diff
+37 -27
View File
@@ -1,46 +1,56 @@
{
"name": "jellyplayer",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"tauri": "tauri"
"tauri": "tauri",
"lint": "eslint"
},
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@fontsource/open-sans": "^4.5.13",
"@jellyfin/sdk": "^0.7.0",
"@mdi/js": "^7.1.96",
"@mui/lab": "^5.0.0-alpha.110",
"@mui/material": "^5.10.15",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@fontsource/noto-sans": "^5.0.14",
"@jellyfin/sdk": "0.8.2",
"@mdi/js": "^7.2.96",
"@mui/lab": "5.0.0-alpha.147",
"@mui/material": "^5.14.12",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"@tauri-apps/api": "^1.5.0",
"axios": "^1.5.1",
"axios-tauri-api-adapter": "^0.2.0",
"blurhash": "^2.0.5",
"events": "^3.3.0",
"framer-motion": "^7.10.2",
"localforage": "^1.10.0",
"match-sorter": "^6.3.1",
"mdi-material-ui": "^7.6.0",
"notistack": "^2.0.8",
"framer-motion": "^10.16.4",
"notistack": "^3.0.1",
"react": "^18.2.0",
"react-cookie": "^4.1.1",
"react-blurhash": "^0.3.0",
"react-dom": "^18.2.0",
"react-material-ui-carousel": "^3.4.2",
"react-multi-carousel": "^2.8.2",
"react-router-dom": "^6.4.3",
"sort-by": "^1.2.0",
"react-error-boundary": "^4.0.11",
"react-multi-carousel": "^2.8.4",
"react-player": "^2.13.0",
"react-router-dom": "^6.16.0",
"react-use-konami": "^1.1.0",
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store",
"uuid": "^9.0.0",
"vite-plugin-svgr": "^2.2.2"
"uuid": "^9.0.1",
"vite-plugin-svgr": "^4.1.0",
"wavesurfer.js": "^7.3.4",
"zustand": "^4.4.3"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.2",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@vitejs/plugin-react": "^2.2.0",
"sass": "^1.56.1",
"vite": "^3.2.3"
"@tauri-apps/cli": "^1.5.1",
"@vitejs/plugin-react": "^4.1.0",
"eslint": "^8.51.0",
"eslint-plugin-react": "^7.33.2",
"prop-types": "^15.8.1",
"sass": "^1.69.0",
"vite": "^4.4.11",
"vite-plugin-compression": "^0.5.1"
},
"license": "GPL-3.0-only"
}
+3566
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

+20
View File
@@ -0,0 +1,20 @@
<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_504_8)">
<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_504_8" transform="scale(0.000806452)"/>
</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(236.79 50.6626)"/>
</clipPath>
<image id="image0_504_8" width="1240" height="1240" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNgAAATYCAYAAADNtnp8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAB1GVSURBVHgB7P1tsGXndd8Hrv1yzr3dDVCQZb1RfLmw9WJFkxIY2ZYlxSYgKYokkyJB0RIVOUJD4osdWyEQjyJVZaK+cKWUqXIsA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AhJs8DUz/SP0eaFEFADuTs6mx6NN07wgAAAAAAAAXwESbPA1Yf2KHhYAgLuTk+nxOfqzAQAAAADAawHBBl8rpwIAcPdzfXp8fpJsNwQAAAAAAOBVoEQUviYYbgAA9yBn0+OppmluCgAAAAAAQIAEG3zVTHLtg4JcA4B7j5PpkUpGn6dsFAAAAAAAIgg2+Fq4LgAA9y4Pi5aN0p8NAAAAAAAylIjCV4X9Y/LzAgAAiTOhbBQAAAAA4J6HBBt8tTwsAADgnIiWjX7eyucBAAAAAOAeBMEGXy2PCQAALDmZHp+hbBQAAAAA4N6EElF4zVAeCgDwmjmdHs80TfOiAAAAAADAXQ8JNvhqeFgAAOC1cDo9Pjf9HxPXBQAAAAAA7noQbPDVQH8hAIDXzonU/mwnAgAAAAAAdy2UiMJrYvrH4QPTl38mAADwtXJTdOLomQAAAAAAwF0FCTZ4rTwsALine truncated
<image id="image1_504_8" width="4096" height="388" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAAAGECAYAAAC2K+WjAAAAAXNSR0IArs4c6QAAIABJREFUeF7svQmcJVdZ9/97emayh+wgAQImYdFX4VUU1D8I+soivqgvEGRfBBISkkBCNiDIyE7YAtkTkrAFkoxECCKIiOAGCqIEBaJhM2HLnsns032f/+fcqrp1qm7d7tvTVfdW3f7W55PMdNU5z/Oc77l9p/vc8/sdExcEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACUydgU6+AAiAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhAQBgC8CCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQg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g>

After

Width:  |  Height:  |  Size: 863 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

+20
View File
@@ -0,0 +1,20 @@
<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,iVBOR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6DQDuIG4K/dkAAAAAAOB1hh5s8HpwKgAAdwbXp8fzqT+bAAAAAAAAvE6QYIOvC9JrAHAHcyb0ZwMAAAAAgNcBEmzw9fKwAADcmZxMj2en/6PgWfs/CwAAAAAAAL4mSLDB18X0j9KUXjsRAIA7n6enxzP0ZwMAAAAAgK8WEmzwNTPJteuCXAOAu4cnRPuzXRcAAAAAAICvAhJs8DUz/SP0eaFEFADuTs6mx6NN07wgAAAAAAAAXwESbPA1Yf2KHhYAgLuTk+nxOfqzAQAAAADAawHBBl8rpwIAcPdzfXp8fpJsNwQAAAAAAOBVoEQUviYYbgAA9yBn0+OppmluCgAAAAAAQIAEG3zVTHLtg4JcA4B7j5PpkUpGn6dsFAAAAAAAIgg2+Fq4LgAA9y4Pi5aN0p8NAAAAAAAylIjCV4X9Y/LzAgAAiTOhbBQAAAAA4J6HBBt8tTwsAADgnIiWjX7eyucBAAAAAOAeBMEGXy2PCQAALDmZHp+hbBQAAAAA4N6EElF4zVAeCgDwmjmdHs80TfOiAAAAAADAXQ8JNvhqeFgAAOC1cDo9Pjf9HxPXBQAAAAAA7noQbPDVQH8hAIDXzonU/mwnAgAAAAAAdy2UiMJrYvrH4QPTl38mAADwtXJTdOLomQAAAAAAwF0FCTZ4rTwsALine truncated
<image id="image1_949_2" width="4096" height="388" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAAAGECAYAAAC2K+WjAAAAAXNSR0IArs4c6QAAIABJREFUeF7snQmcJGV5/381swvIIbcol8rhlQRjjBrz12iMIppojAreCiogt9weGCdeICjIzS4CiqLACioeGKMGNUYTjAloUBIUDSjIsewue+9Mv//P21Vv1ftWV890z1R1V3V/6yPuTtX7Ps/zft/u2Zm339/vjcQFAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAwNAJREOvgAIgAAEIQAACEIAABCAAAQh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J2HatHGf7rN0mGWVLWmFk7jSt6HYTme+1WtFdE5vN3GamN9uwfuPa9Yu3NOvX/H7vDVOamh7w24Z0fRAoewGij9Q0rYAABgAVQCXkwAlgADBw5ANLiAHAwFCTCAJDI4ABwNDQNzIxBgCNnDaKhgAEINAXAQwA+sJFYwhAAAJzEtg5OcXbngRU9nLine truncated
</defs>
</svg>

After

Width:  |  Height:  |  Size: 858 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 KiB

After

Width:  |  Height:  |  Size: 469 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

+99
View File
@@ -0,0 +1,99 @@
<!-- @format -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<main>
<img src="./assetsStatic/LogoBigBlack.png" alt="" srcset="">
</main>
<div class="loading">
<div class="indicator"></div>
</div>
<div class="background"></div>
<style>
html,
body {
overflow: hidden;
height: 100vh;
width: 100vw;
margin: 0;
padding: 0;
background: transparent;
}
.background {
position: fixed;
z-index: 0;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100vw;
height: 100vh;
background-image: url("./assetsStatic/splashBg.png");
background-size: cover;
background-position: center;
border-radius: 7px;
}
main {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
img {
width: 75%;
object-fit: contain;
}
.loading {
position: fixed;
bottom: 0;
left: 0;
width: 100vw;
background: hsla(255, 100%, 4%, 0.5);
z-index: 1;
height: 8px;
overflow: hidden;
backdrop-filter: blur(5px);
border-radius: 0 0 7px 7px;
}
.indicator {
background: hsl(337, 96%, 56%);
width: 100%;
height: 100%;
transform-origin: left;
animation: loading 0.8s infinite ease-in-out;
}
@keyframes loading {
0% {
transform: scaleX(0) translateX(-100%);
transform-origin: left;
}
100% {
transform: scaleX(1) translateX(100%);
transform-origin: left;
}
}
</style>
</body>
</html>
+8
View File
@@ -0,0 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":disableDependencyDashboard"
],
"labels": ["dependencies"],
}
+13 -9
View File
@@ -1,24 +1,28 @@
[package]
name = "app"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
license = ""
repository = ""
default-run = "app"
name = "jellyplayer"
version = "1.0.0"
description = "A Modern Jellyfin Client"
authors = ["prayag17", "JellyPlayer contributors (https://github.com/prayag17/JellyPlayer/graphs/contributors)"]
license = "GPL-3.0-only"
repository = "https://github.com/prayag17/JellyPlayer/"
default-run = "jellyplayer"
edition = "2021"
rust-version = "1.59"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
tauri-build = { version = "1.2.1", features = [] }
tauri-build = { version = "1.5.0", features = [] }
[dependencies]
log = "^0.4.20"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.2.2", features = [] }
tauri = { version = "1.5.1", features = [ "http-all", "devtools", "process-exit", "process-relaunch", "shell-all", "window-set-fullscreen", "http-all"] }
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }
tauri-plugin-localhost = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev", features = ["colored"] }
portpicker = "0.1" # used in the example to pick a random free port
[features]
# by default Tauri runs in production mode
+58 -8
View File
@@ -1,11 +1,61 @@
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use tauri::Manager;
use tauri::{utils::config::AppUrl, WindowUrl};
use tauri_plugin_log::{fern::colors::ColoredLevelConfig, LogTarget};
// Create the command:
// This command must be async so that it doesn't run on the main thread.
#[tauri::command]
async fn close_splashscreen(window: tauri::Window) {
// Close splashscreen
if let Some(splashscreen) = window.get_window("splashscreen") {
splashscreen.close().unwrap();
}
// Show main window
window.get_window("main").unwrap().show().unwrap();
}
// 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() {
tauri::Builder::default()
.plugin(tauri_plugin_store::Builder::default().build())
.run(tauri::generate_context!())
.expect("error while running tauri application");
let port = portpicker::pick_unused_port().expect("failed to find unused port");
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(
tauri_plugin_log::Builder::default()
.targets([LogTarget::LogDir, LogTarget::Stdout, LogTarget::Webview])
.with_colors(ColoredLevelConfig::default())
.build(),
)
.plugin(tauri_plugin_store::Builder::default().build())
.invoke_handler(tauri::generate_handler![close_splashscreen])
.run(context)
.expect("error while running JellyPlayer");
// tauri::Builder::default()
// .run(tauri::generate_context!())
// .expect("error while running tauri application");
}
+65 -7
View File
@@ -1,18 +1,39 @@
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"build": {
"beforeBuildCommand": "npm run build",
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "pnpm run build",
"beforeDevCommand": "pnpm run dev",
"devPath": "http://localhost:5173",
"distDir": "../dist"
},
"package": {
"productName": "JellyPlayer",
"version": "0.1.0"
"version": "1.0.0"
},
"tauri": {
"allowlist": {
"all": false
"process": {
"all": false,
"exit": true,
"relaunch": true,
"relaunchDangerousAllowSymlinkMacos": false
},
"window": {
"setFullscreen": true
},
"shell": {
"all": true
},
"http": {
"all": true,
"request": true,
"scope": [
"http://**",
"http://*",
"https://**",
"https://*"
]
}
},
"bundle": {
"active": true,
@@ -44,22 +65,59 @@
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
"timestampUrl": "",
"wix": {
"bannerPath": "../public/installerBanner.bmp",
"dialogImagePath": "../public/installerDialog.bmp"
},
"nsis": {
"sidebarImage": "../public/installerSideBarImage.bmp",
"headerImage": "../public/installerHeaderImage.bmp",
"installerIcon": "icons/icon.ico"
}
}
},
"security": {
"csp": null
"csp": null,
"dangerousRemoteDomainIpcAccess": [
{
"domain": "**",
"windows": ["main"],
"enableTauriAPI": true
},
{
"domain": "*",
"windows": ["main"],
"enableTauriAPI": true
}
]
},
"updater": {
"active": false
},
"windows": [
{
"width": 800,
"height": 300,
"center": true,
"decorations": false,
"resizable": false,
"url": "splash.html",
"label": "splashscreen",
"title": "JellyPlayer",
"visible": true,
"transparent": true
},
{
"fullscreen": false,
"height": 600,
"width": 800,
"resizable": true,
"title": "JellyPlayer",
"width": 800
"visible": false,
"center": true,
"label": "main"
}
]
}
-41
View File
@@ -1,41 +0,0 @@
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}
@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: no-preference) {
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}
+445 -96
View File
@@ -1,13 +1,14 @@
/** @format */
import { useState, useEffect, useContext } from "react";
import React, { useState, useEffect } from "react";
import useKonami from "react-use-konami";
import { ThemeProvider } from "@mui/material/styles";
import { SnackbarProvider } from "notistack";
import { useCookies, Cookies } from "react-cookie";
import { SnackbarProvider, useSnackbar } from "notistack";
import {
Routes,
Route,
Navigate,
useNavigate,
useLocation,
Outlet,
@@ -16,29 +17,96 @@ import { AnimatePresence, motion } from "framer-motion";
import { EventEmitter as event } from "./eventEmitter.js";
import { relaunch } from "@tauri-apps/api/process";
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
// Theming
import CssBaseline from "@mui/material/CssBaseline";
import { theme } from "./theme";
import "./styles/global.scss";
// MUI
import Dialog from "@mui/material/Dialog";
import DialogActions from "@mui/material/DialogActions";
import DialogContent from "@mui/material/DialogContent";
import DialogContentText from "@mui/material/DialogContentText";
import DialogTitle from "@mui/material/DialogTitle";
import Button from "@mui/material/Button";
import Slide from "@mui/material/Slide";
import LinearProgress from "@mui/material/LinearProgress";
// Routes
import { ServerSetup, ServerList } from "./routes/setup/server/root";
import { Home } from "./routes/home/root";
import {
UserLogin,
LoginWithImage,
UserLoginManual,
} from "./routes/login/root";
import { ServerSetup, ServerList } from "./routes/setup/server";
import Home from "./routes/home";
import { UserLogin, LoginWithImage, UserLoginManual } from "./routes/login";
import LibraryView from "./routes/library";
import ItemDetail from "./routes/item";
import SeriesTitlePage from "./routes/series/index.jsx";
import FavoritePage from "./routes/favorite/index.jsx";
import Settings from "./routes/settings";
import About from "./routes/about";
import SearchPage from "./routes/search";
import { VideoPlayer } from "./routes/player/videoPlayer.jsx";
import { SideMenu } from "./components/menu/sidemenu.jsx";
import { AppBar } from "./components/appBar/appBar.jsx";
// Fonts
import "@fontsource/open-sans";
import "@fontsource/noto-sans/100.css";
import "@fontsource/noto-sans/100-italic.css";
import "@fontsource/noto-sans/200.css";
import "@fontsource/noto-sans/200-italic.css";
import "@fontsource/noto-sans/300.css";
import "@fontsource/noto-sans/300-italic.css";
import "@fontsource/noto-sans/400.css";
import "@fontsource/noto-sans/400-italic.css";
import "@fontsource/noto-sans/500.css";
import "@fontsource/noto-sans/500-italic.css";
import "@fontsource/noto-sans/600.css";
import "@fontsource/noto-sans/600-italic.css";
import "@fontsource/noto-sans/700.css";
import "@fontsource/noto-sans/700-italic.css";
import "@fontsource/noto-sans/800.css";
import "@fontsource/noto-sans/800-italic.css";
import "@fontsource/noto-sans/900.css";
import "@fontsource/noto-sans/900-italic.css";
// Jellyfin SDK TypeScript
import { Jellyfin } from "@jellyfin/sdk";
import { version as appVer } from "../package.json";
import { v4 as uuidv4 } from "uuid";
import { delServer, getServer } from "./utils/storage/servers.js";
import { delUser, getUser } from "./utils/storage/user.js";
import { useBackdropStore } from "./utils/store/backdrop.js";
import { usePlaybackDataLoadStore } from "./utils/store/playback.js";
import BoxSetTitlePage from "./routes/boxset/index.jsx";
import PersonTitlePage from "./routes/person/index.jsx";
import MusicAlbumTitlePage from "./routes/album/index.jsx";
import AudioPlayer from "./components/playback/audioPlayer/index.jsx";
import { useAudioPlayback } from "./utils/store/audioPlayback.js";
import ArtistTitlePage from "./routes/artist/index.jsx";
import EpisodeTitlePage from "./routes/episode/index.jsx";
import PlaylistTitlePage from "./routes/playlist/index.jsx";
// Initial custom axios client to use tauri's http module
import axios from "axios";
import axiosTauriApiAdapter from "axios-tauri-api-adapter";
const axiosClient = axios.create({
adapter: axiosTauriApiAdapter,
headers: { "Access-Control-Allow-Origin": "*" },
timeout: 60000,
});
const deviceId = localStorage.getItem("deviceId");
if (!deviceId) {
localStorage.setItem("deviceId", uuidv4());
}
const jellyfin = new Jellyfin({
clientInfo: {
@@ -47,36 +115,34 @@ const jellyfin = new Jellyfin({
},
deviceInfo: {
name: "JellyPlayer",
id: uuidv4(),
id: deviceId,
},
});
event.on("create-jellyfin-api", (serverAddress) => {
window.api = jellyfin.createApi(
serverAddress,
sessionStorage.getItem("accessToken"),
);
window.api = jellyfin.createApi(serverAddress, null, axiosClient);
// window.api = jellyfin.createApi(serverAddress);
});
event.on("set-api-accessToken", (serverAddress) => {
window.api = jellyfin.createApi(
serverAddress,
sessionStorage.getItem("accessToken"),
axiosClient,
);
});
const anim = {
initial: {
transform: "scale(0.98)",
opacity: 0,
x: -50,
},
animate: {
transform: "scale(1)",
opacity: 1,
x: 0,
},
exit: {
transform: "sscale(1.02)",
opacity: 0,
x: 50,
},
};
@@ -89,7 +155,7 @@ const AnimationWrapper = () => {
animate="animate"
exit="exit"
transition={{
duration: 0.3,
duration: 0.25,
ease: "easeInOut",
}}
>
@@ -98,82 +164,320 @@ const AnimationWrapper = () => {
);
};
function App({ hideLoader }) {
const [userCookies] = useCookies(["user"]);
function App() {
const navigate = useNavigate();
const cookies = new Cookies();
const serverAvailable = () => {
try {
const currentServer = cookies.get("currentServer");
const serverList = cookies.get("servers");
let currentServerIp = "";
serverList.map((item, index) => {
currentServerIp = item[currentServer];
});
const [serverReachable, setServerReachable] = useState(true);
if (currentServer == undefined) {
return false;
} else {
if (!window.api) {
event.emit(
"create-jellyfin-api",
currentServerIp.serverAddress,
);
}
return true;
}
} catch (error) {
return false;
}
const [playbackDataLoading] = usePlaybackDataLoadStore((state) => [
state.isLoading,
]);
const { enqueueSnackbar } = useSnackbar();
const createApi = async () => {
const server = await getServer();
event.emit("create-jellyfin-api", server.Ip);
};
const userSaved = () => {
try {
userCookies.user[0];
return true;
} catch (error) {
return false;
}
};
const serverAvailable = async () => {
const server = await getServer();
const userAvailable = async () => {
const users = await getUserApi(window.api).getPublicUsers();
try {
if (users.data.length >= 1) {
return true;
} else {
return false;
}
} catch (error) {
if (server == null) {
return false;
}
};
const HandleLoginRoutes = () => {
if (userSaved()) {
navigate("/home");
} else {
userAvailable().then((res) => {
if (res) {
navigate("/login/users");
} else if (!res) {
navigate("/login/manual");
}
});
return true;
}
};
const usersAvailable = async () => {
const users = await getUserApi(window.api).getPublicUsers();
if (users.status == 200 || users.data.length >= 1) {
return true;
} else {
return false;
}
};
const userSaved = async () => {
const user = await getUser();
if (user == null) {
return false;
} else {
return true;
}
};
const pingServer = async () => {
const server = await getServer();
try {
const result = await axios.get(
new URL(`${server.Ip}/System/Ping`).href,
);
if (result.data == "Jellyfin Server") {
event.emit("create-jellyfin-api", server.Ip);
setServerReachable(true);
} else {
setServerReachable(false);
}
} catch (error) {
setServerReachable(false);
enqueueSnackbar("Unable to verfiy server address.", {
variant: "error",
});
console.error(error);
}
};
const userLogin = async () => {
const user = await getUser();
const auth = await window.api.authenticateUserByName(
user.Name,
user.Password,
);
sessionStorage.setItem("accessToken", auth.data.AccessToken);
event.emit("set-api-accessToken", window.api.basePath);
};
const LogicalRoutes = () => {
serverAvailable().then(async (server) => {
if (server == true) {
createApi().then(() => {
pingServer();
if (serverReachable == true) {
userSaved().then((user_available) => {
if (user_available == true) {
navigate("/home");
} else {
usersAvailable().then(
(users_list_available) => {
if (
users_list_available ==
true
) {
navigate("/login/users");
} else {
navigate(
"/login/manual",
);
}
},
);
}
});
}
});
} else {
navigate("/setup/server");
}
});
};
const LoginLogicalRoutes = () => {
usersAvailable().then((users_list_available) => {
if (users_list_available == true) {
navigate("/login/users");
} else {
navigate("/login/manual");
}
});
};
const handleRelaunch = async (event, reason) => {
if (reason && reason == "backdropClick") {
return;
}
await relaunch();
};
const handleRemoveServer = async () => {
await delServer();
await delUser();
await relaunch();
};
const location = useLocation();
useEffect(() => {
window.scrollTo(0, 0);
}, [location.key]);
if (!window.api) {
serverAvailable().then((available) => {
if (available) {
createApi().then(
userSaved().then((userSavedBool) => {
if (userSavedBool) {
userLogin();
}
}),
);
}
});
}
const [audioPlayerVisible, currentAudioIndex] = useAudioPlayback(
(state) => [state.display, state.currentTrack],
);
const [backdropUrl, backdropId] = useBackdropStore((state) => [
state.backdropUrl,
state.backdropId,
]);
const [backdropLoading, setBackdropLoading] = useState(true);
const [easterEgg, setEasterEgg] = useState(false);
const sixtyNine = () => {
setEasterEgg(true);
};
useKonami(sixtyNine, {
code: [
"ArrowUp",
"ArrowUp",
"ArrowDown",
"ArrowDown",
"ArrowLeft",
"ArrowRight",
"ArrowLeft",
"ArrowRight",
"b",
"a",
],
});
return (
<SnackbarProvider maxSnack={5}>
<ThemeProvider theme={theme}>
<AnimatePresence>
{playbackDataLoading && (
<LinearProgress
sx={{
position: "fixed",
top: 0,
left: 0,
right: 0,
width: "100vw",
zIndex: 100000,
}}
/>
)}
<Dialog
open={easterEgg}
onClose={() => setEasterEgg(false)}
sx={{
background: "black",
}}
>
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1&disablekb=1"
title="EasterEgg"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
></iframe>
</Dialog>
<Slide
direction="up"
in={easterEgg}
mountOnEnter
unmountOnExit
>
<img
src="https://i.gifer.com/PYh.gif"
width={320}
height={320}
style={{
zIndex: "99999999",
position: "fixed",
bottom: 0,
left: 0,
objectFit: "cover",
}}
/>
</Slide>
{/* Show Dialog if server not reachable */}
<Dialog
open={!serverReachable}
onClose={handleRelaunch}
aria-labelledby="alert-dialog-text"
aria-describedby="alert-dialog-desc"
maxWidth="md"
sx={{
padding: "1em",
}}
>
<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 onClick={handleRemoveServer}>
Remove Server
</Button>
<Button onClick={handleRelaunch}>
Restart JellyPlayer
</Button>
</DialogActions>
</Dialog>
<div className="app-backdrop-container">
<AnimatePresence>
<motion.img
key={backdropId}
src={backdropUrl}
alt=""
className="app-backdrop"
initial={{
opacity: 0,
}}
animate={{
opacity: backdropLoading ? 0 : 0.6,
}}
exit={{
opacity: 0,
}}
transition={{
duration: 0.8,
ease: "easeInOut",
}}
onLoadCapture={() => {
setBackdropLoading(true);
}}
onLoad={() => {
setBackdropLoading(false);
}}
loading="eager"
style={{
transition: "opacity 0.8s",
}}
/>
</AnimatePresence>
</div>
<div
style={{
display: "flex",
width: "100vw",
paddingBottom: audioPlayerVisible ? "8em" : "0",
transition: "padding 250ms",
}}
>
<CssBaseline />
<Routes key={location.pathname} location={location}>
<SideMenu />
<AppBar />
<AudioPlayer key={audioPlayerVisible} />
<Routes key={location.key} location={location}>
<Route element={<AnimationWrapper />}>
{/* Main Routes */}
<Route
path="/"
element={<LogicalRoutes />}
/>
<Route path="/home" element={<Home />} />
<Route
path="/setup/server"
@@ -184,12 +488,10 @@ function App({ hideLoader }) {
element={<ServerList />}
/>
<Route
exact
path="/login/withImg/:userName/:userId/"
element={<LoginWithImage />}
/>
<Route
exact
path="/login/users"
element={<UserLogin />}
/>
@@ -197,29 +499,76 @@ function App({ hideLoader }) {
path="/login/manual"
element={<UserLoginManual />}
/>
{/* Logical Routes */}
<Route
exact
path="/login"
element={
<HandleLoginRoutes></HandleLoginRoutes>
}
path="/library/:id"
element={<LibraryView />}
/>
<Route
exact
path="/item/:id"
element={<ItemDetail />}
/>
<Route
exact
path="/musicalbum/:id"
element={<MusicAlbumTitlePage />}
/>
<Route
exact
path="/artist/:id"
element={<ArtistTitlePage />}
/>
<Route
exact
path="/boxset/:id"
element={<BoxSetTitlePage />}
/>
<Route
exact
path="/episode/:id"
element={<EpisodeTitlePage />}
/>
<Route
exact
path="/person/:id"
element={<PersonTitlePage />}
/>
<Route
exact
path="/playlist/:id"
element={<PlaylistTitlePage />}
/>
<Route
path="/series/:id"
element={<SeriesTitlePage />}
/>
<Route
path="/search"
element={<SearchPage />}
/>
<Route
path="/favorite"
element={<FavoritePage />}
/>
<Route
path="/settings"
element={<Settings />}
/>
<Route path="/about" element={<About />} />
<Route
path="/player"
element={<VideoPlayer />}
/>
<Route
path="/"
element={
serverAvailable() ? (
<Navigate to="/login" />
) : (
<Navigate to="/setup/server" />
)
}
path="/login"
element={<LoginLogicalRoutes />}
/>
</Route>
</Routes>
</AnimatePresence>
</div>
<ReactQueryDevtools position="top-right" />
</ThemeProvider>
</SnackbarProvider>
);
Binary file not shown.

After

Width:  |  Height:  |  Size: 834 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

+34
View File
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ***** BEGIN LICENSE BLOCK *****
- Part of the Jellyfin project (https://jellyfin.media)
-
- All copyright belongs to the Jellyfin contributors; a full list can
- be found in the file CONTRIBUTORS.md
-
- This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
- To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.
- ***** END LICENSE BLOCK ***** -->
<svg id="banner-dark" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1536 512">
<defs>
<linearGradient id="linear-gradient" x1="110.25" y1="213.3" x2="496.14" y2="436.09" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#aa5cc3"/>
<stop offset="1" stop-color="#00a4dc"/>
</linearGradient>
</defs>
<title>banner-dark</title>
<g id="banner-dark">
<g id="banner-dark-icon">
<path id="inner-shape" d="M261.42,201.62c-20.44,0-86.24,119.29-76.2,139.43s142.48,19.92,152.4,0S281.86,201.63,261.42,201.62Z" fill="url(#linear-gradient)"/>
<path id="outer-shape" d="M261.42,23.3C199.83,23.3,1.57,382.73,31.8,443.43s429.34,60,459.24,0S323,23.3,261.42,23.3ZM411.9,390.76c-19.59,39.33-281.08,39.77-300.9,0S221.1,115.48,261.45,115.48,431.49,351.42,411.9,390.76Z" fill="url(#linear-gradient)"/>
</g>
<g id="jellyfin-light-outlines" style="isolation:isolate" transform="translate(43.8)">
<path d="M556.64,350.75a67,67,0,0,1-22.87-27.47,8.91,8.91,0,0,1-1.49-4.75,7.42,7.42,0,0,1,2.83-5.94,9.25,9.25,0,0,1,6.09-2.38c3.16,0,5.94,1.69,8.31,5.05a48.09,48.09,0,0,0,16.34,20.34,40.59,40.59,0,0,0,24,7.58q20.51,0,33.27-12.62t12.77-33.12V159a8.44,8.44,0,0,1,2.67-6.39,9.56,9.56,0,0,1,6.83-2.52,9,9,0,0,1,6.68,2.52,8.7,8.7,0,0,1,2.53,6.39v138.4a64.7,64.7,0,0,1-8.32,32.67,59,59,0,0,1-23,22.72Q608.62,361,589.9,361A57.21,57.21,0,0,1,556.64,350.75Z" fill="#fff"/>
<path d="M831.66,279.47a8.77,8.77,0,0,1-6.24,2.53H713.16q0,17.82,7.27,31.92a54.91,54.91,0,0,0,20.79,22.28q13.51,8.18,31.93,8.17a54,54,0,0,0,25.54-5.94,52.7,52.7,0,0,0,18.12-15.15,10,10,0,0,1,6.24-2.67,8.14,8.14,0,0,1,7.72,7.72,8.81,8.81,0,0,1-3,6.24,74.7,74.7,0,0,1-23.91,19A65.56,65.56,0,0,1,773.45,361q-22.87,0-40.4-9.8a69.51,69.51,0,0,1-27.32-27.48q-9.79-17.66-9.8-40.83,0-24.36,9.65-42.62t25.69-27.92a65.2,65.2,0,0,1,34.16-9.65A70,70,0,0,1,798.84,211a65.78,65.78,0,0,1,25.39,24.36q9.81,16,10.1,38A8.07,8.07,0,0,1,831.66,279.47ZM733.5,231.8Q718.8,243.68,714.64,266H815.92v-2.38A46.91,46.91,0,0,0,807,240.27a48.47,48.47,0,0,0-18.56-15.15,54,54,0,0,0-23-5.2Q748.2,219.92,733.5,231.8Z" fill="#fff"/>
<path d="M888.24,355.5a8.92,8.92,0,0,1-15.3-6.38v-202a8.91,8.91,0,1,1,17.82,0v202A8.65,8.65,0,0,1,888.24,355.5Z" fill="#fff"/>
<path d="M956.55,355.5a8.92,8.92,0,0,1-15.3-6.38v-202a8.91,8.91,0,1,1,17.82,0v202A8.65,8.65,0,0,1,956.55,355.5Z" fill="#fff"/>
<path d="M1122.86,206.11a8.7,8.7,0,0,1,2.53,6.39v131q0,23.44-9.21,40.09a61.58,61.58,0,0,1-25.54,25.25q-16.34,8.61-36.83,8.61a96.73,96.73,0,0,1-23.31-2.68,61.72,61.72,0,0,1-18-7.12q-6.24-3.87-6.24-8.62a17.94,17.94,0,0,1,.6-3,8.06,8.06,0,0,1,3-4.45,7.49,7.49,0,0,1,4.45-1.49,7.91,7.91,0,0,1,3.56.89q19,10.39,36.24,10.4,24.65,0,39.06-15.44t14.4-42.18V333.38a54.37,54.37,0,0,1-21.38,20,62.55,62.55,0,0,1-30.3,7.58q-25.83,0-39.2-15.45t-13.37-41.87V212.5a8.91,8.91,0,1,1,17.82,0V301q0,21.39,9.36,32.38t29.25,11a48,48,0,0,0,23.32-6.09,49.88,49.88,0,0,0,17.82-16,37.44,37.44,0,0,0,6.68-21.24V212.5a9,9,0,0,1,15.29-6.39Z" fill="#fff"/>
<path d="M1210.18,161.41q-5.21,6.24-5.2,17.23v30.59h33.27a8.19,8.19,0,0,1,5.79,2.38,8.26,8.26,0,0,1,0,11.88,8.22,8.22,0,0,1-5.79,2.37H1205V349.12a8.91,8.91,0,1,1-17.82,0V225.86h-21.68a7.83,7.83,0,0,1-5.94-2.52,8.21,8.21,0,0,1-2.37-5.79,8,8,0,0,1,2.37-6.09,8.33,8.33,0,0,1,5.94-2.23h21.68V178.64q0-18.7,10.84-29t29-10.24a46.1,46.1,0,0,1,15.45,2.52q7.13,2.53,7.12,8.17a8.07,8.07,0,0,1-2.37,5.94,7.37,7.37,0,0,1-5.35,2.37,18.81,18.81,0,0,1-6.53-1.48,42,42,0,0,0-10.4-1.78Q1215.37,155.18,1210.18,161.41ZM1276,180.87c-2.19-1.88-3.27-4.61-3.27-8.17v-3q0-5.34,3.41-8.17t9.36-2.82q11.88,0,11.88,11v3c0,3.56-1,6.29-3.12,8.17s-5.1,2.82-9.06,2.82S1278.14,182.75,1276,180.87Zm15.59,174.63a8.92,8.92,0,0,1-15.3-6.38V212.5a8.91,8.91,0,1,1,17.82,0V349.12A8.65,8.65,0,0,1,1291.56,355.5Z" fill="#fff"/>
<path d="M1452.53,218.88q12.92,16.2,12.92,42.92v87.32a8.4,8.4,0,0,1-2.67,6.38,8.8,8.8,0,0,1-6.24,2.53,8.64,8.64,0,0,1-8.91-8.91V262.69q0-19.31-9.65-31.33t-29.85-12a53.28,53.28,0,0,0-42.77,21.83,36.24,36.24,0,0,0-7.13,21.53v86.43a8.91,8.91,0,1,1-17.82,0V216.06a8.91,8.91,0,1,1,17.82,0V232.4q8-12.77,23-21.24A61.84,61.84,0,0,1,1412,202.7Q1439.61,202.7,1452.53,218.88Z" fill="#fff"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

+22 -25
View File
@@ -1,28 +1,25 @@
<svg width="5000" height="455" viewBox="0 0 5000 455" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M174.178 454.868C144.522 454.868 116.954 448.185 91.4748 434.818C65.9955 421.035 45.1108 402.238 28.8208 378.43C12.5308 354.621 2.92385 328.307 0 299.486H23.182C26.1058 324.13 34.6685 346.685 48.8701 367.152C63.0716 387.201 81.0324 403.074 102.752 414.769C124.89 426.047 148.699 431.686 174.178 431.686C202.163 431.686 227.852 424.794 251.242 411.01C274.633 397.226 293.22 378.221 307.004 353.995C320.788 329.769 327.68 302.619 327.68 272.545V32.58H132.2V9.39808H350.236V272.545C350.236 306.796 342.299 337.914 326.427 365.899C310.972 393.467 289.67 415.187 262.52 431.059C235.788 446.931 206.34 454.868 174.178 454.868Z" fill="white"/>
<path d="M495.113 9.39808H802.117V32.58H518.295V209.264H765.152V232.446H518.295V422.288H802.117V445.47H495.113V9.39808Z" fill="white"/>
<path d="M974.562 445.47V9.39808H997.744V422.288H1301.62V445.47H974.562Z" fill="white"/>
<path d="M1438.35 445.47V9.39808H1461.53V422.288H1765.4V445.47H1438.35Z" fill="white"/>
<path d="M1882.71 9.39808L2037.47 242.471L2190.97 9.39808H2218.54L2048.74 266.906V445.47H2025.56V266.906L1855.14 9.39808H1882.71Z" fill="white"/>
<path d="M2379.08 445.47H2355.9V9.39808H2531.33C2560.57 9.39808 2587.51 15.6635 2612.15 28.1943C2637.21 40.7251 2657.05 58.477 2671.67 81.4501C2686.29 104.423 2693.6 130.947 2693.6 161.021C2693.6 189.841 2686.08 216.365 2671.05 240.591C2656.43 264.817 2636.38 283.405 2610.9 296.353C2588.76 307.631 2562.24 313.27 2531.33 313.27H2379.08V445.47ZM2379.08 290.088H2531.33C2558.06 290.088 2579.99 285.911 2597.11 277.557C2619.25 267.115 2637 251.451 2650.37 230.566C2663.74 209.682 2670.42 186.5 2670.42 161.021C2670.42 135.959 2663.74 112.986 2650.37 92.1013C2637 71.2167 2619.04 55.5532 2596.49 45.1108C2579.36 36.757 2557.64 32.58 2531.33 32.58H2379.08V290.088Z" fill="white"/>
<path d="M2829.71 445.47V9.39808H2852.89V422.288H3156.76V445.47H2829.71Z" fill="white"/>
<path d="M3633.7 445.47H3222.69L3428.2 0L3633.7 445.47Z" fill="url(#paint0_linear_303_3)"/>
<path d="M3737.86 9.39808L3892.61 242.471L4046.11 9.39808H4073.68L3903.89 266.906V445.47H3880.71V266.906L3710.29 9.39808H3737.86Z" fill="white"/>
<path d="M4205.4 9.39808H4512.41V32.58H4228.58V209.264H4475.44V232.446H4228.58V422.288H4512.41V445.47H4205.4V9.39808Z" fill="white"/>
<path d="M4914.16 23.8085C4939.23 35.5039 4958.86 52.8382 4973.06 75.8113C4987.68 98.7844 4994.99 124.264 4994.99 152.249C4994.99 184.829 4984.96 214.068 4964.91 239.965C4945.28 265.444 4914.58 285.776 4883.67 294.13L4664.8 9.39808H4830.83C4849.21 9.39808 4864.88 10.6512 4877.83 13.1573C4891.19 15.2458 4903.3 18.7962 4914.16 23.8085Z" fill="url(#paint1_linear_303_3)"/>
<path d="M5000 445.47L4883.67 294.13H4664.8V445.47H5000Z" fill="url(#paint2_linear_303_3)"/>
<svg width="5020" height="475" viewBox="0 0 5020 475" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<path d="M184.178 464.934C154.522 464.934 126.954 458.251 101.475 444.885C75.9955 431.101 55.1108 412.305 38.8208 388.496C22.5308 364.688 12.9239 338.373 10 309.552H33.182C36.1058 334.196 44.6685 356.751 58.8701 377.218C73.0716 397.268 91.0324 413.14 112.752 424.835C134.89 436.113 158.699 441.752 184.178 441.752C212.163 441.752 237.852 434.86 261.242 421.076C284.633 407.292 303.22 388.287 317.004 364.061C330.788 339.835 337.68 312.685 337.68 282.611V42.6462H142.2V19.4642H360.236V282.611C360.236 316.862 352.299 347.98 336.427 375.965C320.972 403.533 299.67 425.253 272.52 441.125C245.788 456.998 216.34 464.934 184.178 464.934Z" fill="white"/>
<path d="M984.562 455.536V19.4642H1007.74V432.354H1311.62V455.536H984.562Z" fill="white"/>
<path d="M1448.35 455.536V19.4642H1471.53V432.354H1775.4V455.536H1448.35Z" fill="white"/>
<path d="M2389.08 455.536H2365.9V19.4642H2541.33C2570.57 19.4642 2597.51 25.7296 2622.15 38.2604C2647.21 50.7912 2667.05 68.5432 2681.67 91.5163C2696.29 114.489 2703.6 141.013 2703.6 171.087C2703.6 199.908 2696.08 226.431 2681.05 250.657C2666.43 274.883 2646.38 293.471 2620.9 306.419C2598.76 317.697 2572.24 323.336 2541.33 323.336H2389.08V455.536ZM2389.08 300.154H2541.33C2568.06 300.154 2589.99 295.977 2607.11 287.623C2629.25 277.181 2647 261.517 2660.37 240.633C2673.74 219.748 2680.42 196.566 2680.42 171.087C2680.42 146.025 2673.74 123.052 2660.37 102.167C2647 81.2828 2629.04 65.6193 2606.49 55.177C2589.36 46.8231 2567.64 42.6462 2541.33 42.6462H2389.08V300.154Z" fill="white"/>
<path d="M2839.71 455.536V19.4642H2862.89V432.354H3166.76V455.536H2839.71Z" fill="white"/>
<path d="M3747.86 19.4642L3902.61 252.537L4056.11 19.4642H4083.68L3913.89 276.972V455.536H3890.71V276.972L3720.29 19.4642H3747.86Z" fill="white"/>
<path d="M4215.4 19.4642H4522.41V42.6462H4238.58V219.33H4485.44V242.512H4238.58V432.354H4522.41V455.536H4215.4V19.4642Z" fill="white"/>
<path d="M2200.97 19.4642H2228.54L2058.74 276.972V455.536H2035.56V276.972L1865.14 19.4642H1892.71L2047.47 252.537L2200.97 19.4642Z" fill="white"/>
<path d="M505.113 19.4642H812.117V42.6462H528.295V219.33H775.152V242.512H528.295V432.354H812.117V455.536H505.113V19.4642Z" fill="white"/>
<mask id="mask0_501_2" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="3232" y="10" width="1778" height="446">
<path d="M4924.16 33.8748C4949.23 45.5702 4968.86 62.9044 4983.06 85.8775C4997.68 108.851 5004.99 134.33 5004.99 162.315C5004.99 194.895 4994.96 224.134 4974.91 250.031C4955.28 275.51 4924.58 295.842 4893.67 304.196L4674.8 19.4644H4840.83C4859.21 19.4644 4874.88 20.7174 4887.83 23.2236C4901.19 25.312 4913.3 28.8624 4924.16 33.8748Z" fill="black"/>
<path d="M5010 455.536L4893.67 304.196H4674.8V455.536H5010Z" fill="black"/>
<path d="M3643.7 455.536H3232.69L3438.2 10.0662L3643.7 455.536Z" fill="black"/>
</mask>
<g mask="url(#mask0_501_2)">
<rect x="3232" y="10" width="1778" height="446" fill="url(#pattern0)"/>
</g>
<defs>
<linearGradient id="paint0_linear_303_3" x1="3532.59" y1="229.314" x2="3227.04" y2="442.278" gradientUnits="userSpaceOnUse">
<stop stop-color="#FB2576"/>
<stop offset="1" stop-color="#150050"/>
</linearGradient>
<linearGradient id="paint1_linear_303_3" x1="4953.89" y1="53.3888" x2="4666.85" y2="442.278" gradientUnits="userSpaceOnUse">
<stop stop-color="#FB2576"/>
<stop offset="1" stop-color="#150050"/>
</linearGradient>
<linearGradient id="paint2_linear_303_3" x1="4953.89" y1="53.3888" x2="4666.85" y2="442.278" gradientUnits="userSpaceOnUse">
<stop stop-color="#FB2576"/>
<stop offset="1" stop-color="#150050"/>
</linearGradient>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_501_2" transform="matrix(0 -0.000973278 0.000244141 0 0 2.49327)"/>
</pattern>
<image id="image0_501_2" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfY2S4zjO5My+1933St+9f8TOhS2RxE8mEpTkquqe3oidLksEkEiAIC0b9N//89f/++evv/766+/Xf87/jb/hv+dFNsbqeo/5u6f7PfSC7mSv8sVgqfydOsF4Kkf9XBKOswtYkK/qmuUfYaexN4NbXIVYK1vuPrCl5FG+1Hl8aIw5xmRQHnfGxjlkc6krD30Pc2NbF8lPijfUAjaPIw6Kq7DPYu10Jfk8r5AvCY81Fn0MtUP5FjmR40ltmrgDtgh1+zWZw7s4Yw5flh+OWh4KjMjOpWu3bPA8i/nJ8u8SZsSVUQTS2K3hu1ggRsFbZePxez8Ji4jDHd9RXE0quD/bY0PtZPrs9bZuUEOV/k/qRjW5wvOfTTB/w1mmPH72/ibkZ40Hbbv8fRTMQ8r/+35HdP9/Xs2+0n/+4jILY9/KGmlk/vmrsBLvQQ2OKIw4e2I1zb/PP6yOKBn12/v53gtawOxsYH/iVaz30J3uBWe8L5YqL7vl1z885scdHid7P2P75y+reozFPiz8KZYhp8ZIFFeE4e0BiNMYi3yA+TT1YK5R7sBrhhSNIUbgjMY/CMMmLsNrh1PHU+Az+uFf+9w+3K/xL/ng/xuzv5Zfr5x1OAxnKL4x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oGLD8hdfJg5uuDchBg7cqRo/e+0lYwHpv85DFp8rV7r0r48bEQLmAcKu47fp6d/wO7j8HALCIfub6nwMAal57H5RiHR8/AOBlNvxae0TCPoLVH7FbTX8OADipNqTcaDJ8k48zK37wHONk79t78+8feQDA4W/G2zis4BRqN/u/I+RZPJqUwzU0bkYXYBW/0G4jimJ0QIgYMKbBk82Q1Wjd5zIfAIB4ELyAX7V3uE7OhhaHHR4AsDLB+xljtsFNxGASbdnocW/rafTJshexz9drIqaDOHIzvz4wgeaSmU84t3yeMB6OtMTc+Jwm8Zjzk88xOu/lL97bTDuC7Phwcb42vw/u2JzyVSty6Pgxh7pUeW0tJV62DhnJ3Ey0ktccK8Ytmuto9coxHsUU7B1A3NbotcRGSWsjR8ysqKZmYb3IA5tfmB8nFWLlNaqDj9TeIa8V2Y/uV/88a5FDxA9kAgjmSygnVzwjR/5O/RX6OBa9Zr51ZHH0+5L3Rm69Q26ayjrvW7mvIYK/91WXrK1Jzhy2PFK+xaeJu7aVJW2/HsHv5ifsiCUsr1AvTdVI5dtLS68JuBqJm9XrJ6jaP4QLzS3mI7JQj1WZ1m+s1o20dW4wdjCnvYrTizPHhdjhMe5h0jwdebf+m2dQN85IS5fPbH+PJ4a/jwlr6M6Hbuy8lXqOdrGzyrGPSc/PXj51a1mde928Y1q6uYdrlvhUzcyYug6ziNv1Rc3lbp689omdGKK1rZv/vj7UlUN9ZVvvkdh6omrWQNlnFu+vFEKWO1Yb92FvT3dPTwfpHh42eg9nb3RvVBe/nU+faOM5cPTftX1iZJeLulGsr8WP7HukLOj4cFv+yRmzVL3bV3HsPINQXCiUtfwdfg7vevgse/XTEKYRcYVsd8et2OgoMMRdW91x+5g0dhYjlLf6KZiKHc54HCc1c+r82sPfsYWZYpJ3cq+XT2Md6GHvxZlXC5ZJ3M9O7nU47eSUz6suJlZ/uLine truncated
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 6.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

+240
View File
@@ -0,0 +1,240 @@
/** @format */
import React, { useEffect, useState } from "react";
import { AnimatePresence, motion } from "framer-motion";
import { relaunch } from "@tauri-apps/api/process";
import MuiAppBar from "@mui/material/AppBar";
import TextField from "@mui/material/TextField";
import IconButton from "@mui/material/IconButton";
import Toolbar from "@mui/material/Toolbar";
import Avatar from "@mui/material/Avatar";
import Box from "@mui/material/Box";
import ListItemIcon from "@mui/material/ListItemIcon";
import Menu from "@mui/material/Menu";
import MenuItem from "@mui/material/MenuItem";
import CircularProgress from "@mui/material/CircularProgress";
import useScrollTrigger from "@mui/material/useScrollTrigger";
import { MdiMagnify } from "../icons/mdiMagnify";
import { useLocation, useNavigate } from "react-router-dom";
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
import { useIsMutating, useQuery } from "@tanstack/react-query";
import "./appBar.module.scss";
import { MdiAccount } from "../icons/mdiAccount";
import { MdiHeartOutline } from "../icons/mdiHeartOutline";
import { MdiArrowLeft } from "../icons/mdiArrowLeft";
import { MdiCog } from "../icons/mdiCog";
import { MdiInformation } from "../icons/mdiInformation";
import { MdiMenu } from "../icons/mdiMenu";
import { useDrawerStore } from "../../utils/store/drawer";
import { delServer } from "../../utils/storage/servers";
import { delUser } from "../../utils/storage/user";
import { MdiDelete } from "../icons/mdiDelete";
import logo from "../../assets/logo.png";
import { MdiLogoutVariant } from "../icons/mdiLogoutVariant";
import { EventEmitter as event } from "../../eventEmitter";
export const AppBar = () => {
const navigate = useNavigate();
const [display, setDisplay] = useState(false);
const [backButtonVisible, setBackButtonVisible] = useState(false);
const location = useLocation();
const user = useQuery({
queryKey: ["user"],
queryFn: async () => {
let usr = await getUserApi(window.api).getCurrentUser();
return usr.data;
},
enabled: display,
networkMode: "always",
});
const trigger = useScrollTrigger({
disableHysteresis: true,
threshold: 20,
});
const [anchorEl, setAnchorEl] = useState(null);
const openMenu = Boolean(anchorEl);
const handleMenuOpen = (event) => {
setAnchorEl(event.currentTarget);
};
const handleMenuClose = () => {
setAnchorEl(null);
};
const [setDrawerOpen] = useDrawerStore((state) => [state.setOpen]);
const handleDrawerOpen = () => {
setDrawerOpen(true);
};
const handleLogout = async () => {
console.log("Logging out user...");
await window.api.logout();
delUser();
sessionStorage.removeItem("accessToken");
event.emit("create-jellyfin-api", window.api.basePath);
navigate("/login");
};
useEffect(() => {
if (
location.pathname.includes("login") ||
location.pathname.includes("setup") ||
location.pathname.includes("player") ||
location.pathname === "/"
) {
setDisplay(false);
} else {
setDisplay(true);
}
}, [location]);
useEffect(() => {
if (location.pathname == "/home") {
setBackButtonVisible(false);
} else {
setBackButtonVisible(true);
}
}, [location]);
if (!display) {
return <></>;
}
if (display) {
return (
<MuiAppBar
style={{
backgroundColor: "transparent",
paddingRight: "0 !important",
}}
className={trigger ? "appBar backdropVisible" : "appBar"}
elevation={0}
>
<Toolbar
sx={{
justifyContent: "space-between",
paddingLeft: "20px !important",
}}
>
<div
style={{
display: "flex",
gap: "1em",
alignItems: "center",
}}
>
<IconButton
color="inherit"
aria-label="open drawer"
onClick={handleDrawerOpen}
>
<MdiMenu />
</IconButton>
<IconButton
onClick={() => navigate(-1)}
sx={{
transition: "transform 0.2s",
transform: backButtonVisible
? "scale(1)"
: "scale(0)",
transformOrigin: "left",
ml: 2,
}}
>
<MdiArrowLeft />
</IconButton>
</div>
<div style={{ display: "flex", gap: "1.2em" }}>
<IconButton onClick={() => navigate("/search")}>
<MdiMagnify />
</IconButton>
<IconButton onClick={() => navigate("/favorite")}>
<MdiHeartOutline />
</IconButton>
<IconButton
sx={{ p: 0 }}
onClick={handleMenuOpen}
>
{user.isSuccess &&
(user.data.PrimaryImageTag ==
undefined ? (
<Avatar
className="appBar-avatar"
alt={user.data.Name}
>
<MdiAccount className="appBar-avatar-icon" />
</Avatar>
) : (
<Avatar
className="appBar-avatar"
src={
window.api.basePath +
"/Users/" +
user.data.Id +
"/Images/Primary"
}
alt={user.data.Name}
>
<MdiAccount className="appBar-avatar-icon" />
</Avatar>
))}
</IconButton>
<Menu
anchorEl={anchorEl}
open={openMenu}
onClose={handleMenuClose}
sx={{ mt: 1 }}
>
<MenuItem
onClick={() => navigate("/settings")}
disabled
>
<ListItemIcon>
<MdiCog />
</ListItemIcon>
Settings
</MenuItem>
<MenuItem
onClick={() => navigate("/about")}
disabled
>
<ListItemIcon>
<MdiInformation />
</ListItemIcon>
About
</MenuItem>
<MenuItem onClick={handleLogout}>
<ListItemIcon>
<MdiLogoutVariant />
</ListItemIcon>
Logout
</MenuItem>
<MenuItem
onClick={async () => {
await delServer();
await delUser();
await relaunch();
}}
>
<ListItemIcon>
<MdiDelete />
</ListItemIcon>
Remove Server
</MenuItem>
</Menu>
</div>
</Toolbar>
</MuiAppBar>
);
}
};
+24
View File
@@ -0,0 +1,24 @@
/** @format */
.appBar {
transition: background-color $transition-time-fast,
backdrop-filter $transition-time-fast,
box-shadow $transition-time-default !important;
&.backdropVisible {
background-color: $clr-background-dark-opacity-0_8 !important;
backdrop-filter: blur(30px);
}
&-avatar {
background: $clr-gradient-dark;
&-icon {
fill: url(#clr-gradient-default) !important;
}
}
&-logo {
height: 1.8em !important;
}
}
.appLoading {
opacity: 0;
}
+7 -50
View File
@@ -1,53 +1,15 @@
/** @format */
import PropTypes from "prop-types";
import Typography from "@mui/material/Typography";
import ButtonBase from "@mui/material/ButtonBase";
import Box from "@mui/material/Box";
import Account from "mdi-material-ui/Account";
import { MdiAccount } from "../icons/mdiAccount";
import "./avatar.module.scss";
export const AvatarCard = ({ userName, userId, userImageAvailable }) => {
export const AvatarImage = ({ userId, userImageTags }) => {
return (
<ButtonBase className="card square">
<div className="card-image-container">
{userImageAvailable ? (
<div
className="card-image"
style={{
backgroundImage:
"url('" +
window.api.basePath +
"/Users/" +
userId +
"/Images/Primary')",
// http://localhost/Users/{userId}/Images/{imageType}
}}
></div>
) : (
<div className="card-image empty"></div>
)}
<div className="card-image-icon-container">
<Account className="card-image-icon" />
</div>
</div>
<div className="card-text-container">
<Typography
variant="button"
color="textPrimary"
className="card-text"
>
{userName}
</Typography>
</div>
</ButtonBase>
);
};
export const AvatarImage = ({ userId }) => {
return (
<div className="avatar-image-container">
<Box className="avatar-image-container">
<div
className="avatar-image"
style={{
@@ -61,9 +23,9 @@ export const AvatarImage = ({ userId }) => {
></div>
<div className="avatar-image-icon-container">
<Account className="avatar-image-icon" />
<MdiAccount className="avatar-image-icon" />
</div>
</div>
</Box>
);
};
@@ -71,12 +33,7 @@ export const AvatarSideMenu = ({ userName }) => {
return <div></div>;
};
AvatarCard.propType = {
userName: PropTypes.string.isRequired,
userId: PropTypes.string.isRequired,
userImageAvailable: PropTypes.bool.isRequired,
};
AvatarImage.propType = {
userId: PropTypes.string.isRequired,
userImageTags: PropTypes.any,
};
+3 -40
View File
@@ -1,42 +1,5 @@
/** @format */
.userCard {
text-decoration: none !important;
}
.card.square {
width: fit-content;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 0.5em;
margin-bottom: 0.5em;
.card-image {
position: absolute;
inset: 0;
&-container {
font-size: 5em;
}
&-icon {
font-size: 1.5em !important;
&-container {
position: static;
width: 1.5em !important;
height: 1.5em !important;
aspect-ratio: 1;
border-radius: $border-radius-default;
color: $clr-accent-default;
background: $clr-accent-dark;
}
}
}
.card-text {
margin: 0 !important;
text-decoration: none !important;
}
}
.avatar-image {
aspect-ratio: 1;
height: 100%;
@@ -55,8 +18,8 @@
&-icon {
height: 100%;
padding: 0.2em;
background: $clr-accent-dark;
color: $clr-accent-default;
font-size: 6em !important;
background: $clr-gradient-dark;
fill: url(#clr-gradient-default) !important;
font-size: 7em !important;
}
}
+113
View File
@@ -0,0 +1,113 @@
/** @format */
import PropTypes from "prop-types";
import React from "react";
import IconButton from "@mui/material/IconButton";
import { getUserLibraryApi } from "@jellyfin/sdk/lib/utils/api/user-library-api";
import { useMutation, useQueryClient } from "@tanstack/react-query";
import { pink } from "@mui/material/colors";
import { MdiHeart } from "../icons/mdiHeart";
import { MdiHeartOutline } from "../icons/mdiHeartOutline";
import { useSnackbar } from "notistack";
import CircularProgress from "@mui/material/CircularProgress";
const LikeButton = ({
itemId,
isFavorite,
queryKey,
userId,
itemName,
color = "white",
}) => {
const queryClient = useQueryClient();
const { enqueueSnackbar } = useSnackbar();
const handleLiking = async () => {
if (isFavorite) {
await getUserLibraryApi(window.api).unmarkFavoriteItem({
userId: userId,
itemId: itemId,
});
} else if (!isFavorite) {
await getUserLibraryApi(window.api).markFavoriteItem({
userId: userId,
itemId: itemId,
});
}
};
const mutation = useMutation({
mutationFn: handleLiking,
onError: (error) => {
enqueueSnackbar(`${error}`, {
variant: "error",
});
enqueueSnackbar(
`An error occured while updating "${itemName}"`,
{
variant: "error",
},
);
console.error(error);
},
onSettled: async () => {
return await queryClient.invalidateQueries({
queryKey: queryKey,
});
},
mutationKey: ["likeButton", itemId],
});
return (
<div
style={{
transition: "opacity 250ms",
position: "relative",
display: "inline-flex",
}}
>
<CircularProgress
style={{
opacity: mutation.isLoading ? 1 : 0,
transition: "opacity 200ms",
}}
/>
<IconButton
onClick={(e) => {
if (!mutation.isLoading) {
e.stopPropagation();
mutation.mutate();
}
}}
style={{
position: "absolute",
top: 0,
left: 0,
right: 0,
bottom: 0,
display: "flex",
alignItems: "center",
justifyContent: "center",
opacity: mutation.isLoading ? 0.5 : 1,
}}
>
{isFavorite ? (
<MdiHeart sx={{ color: pink[700] }} />
) : (
<MdiHeartOutline sx={{ color: color }} />
)}
</IconButton>
</div>
);
};
LikeButton.propTypes = {
itemId: PropTypes.string.isRequired,
isFavorite: PropTypes.bool.isRequired,
queryKey: PropTypes.any.isRequired,
userId: PropTypes.string.isRequired,
itemName: PropTypes.string,
};
export default LikeButton;
+104
View File
@@ -0,0 +1,104 @@
/** @format */
import PropTypes from "prop-types";
import { useEffect } from "react";
import IconButton from "@mui/material/IconButton";
import CircularProgress from "@mui/material/CircularProgress";
import { useMutation, useQueryClient } from "@tanstack/react-query";
import { green } from "@mui/material/colors";
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
import { MdiCheck } from "../icons/mdiCheck";
import { useSnackbar } from "notistack";
const MarkPlayedButton = ({ itemId, isPlayed, queryKey, userId, itemName }) => {
const queryClient = useQueryClient();
const { enqueueSnackbar } = useSnackbar();
const handleMarking = async () => {
if (!isPlayed) {
await getPlaystateApi(window.api).markPlayedItem({
userId: userId,
itemId: itemId,
});
} else if (isPlayed) {
await getPlaystateApi(window.api).markUnplayedItem({
userId: userId,
itemId: itemId,
});
}
};
const mutation = useMutation({
mutationFn: handleMarking,
onError: (error, a, context) => {
enqueueSnackbar(`${error}`, {
variant: "error",
});
enqueueSnackbar(
`An error occured while updating "${itemName}"`,
{
variant: "error",
},
);
console.error(error);
},
onSettled: async () => {
return await queryClient.invalidateQueries({
queryKey: queryKey,
});
},
mutationKey: ["markPlayedButton", itemId],
});
return (
<div
style={{
transition: "opacity 250ms",
position: "relative",
display: "inline-flex",
}}
>
<CircularProgress
style={{
opacity: mutation.isLoading ? 1 : 0,
transition: "opacity 200ms",
}}
/>
<IconButton
onClick={(e) => {
if (!mutation.isLoading) {
e.stopPropagation();
mutation.mutate();
}
}}
style={{
position: "absolute",
top: 0,
left: 0,
right: 0,
bottom: 0,
display: "flex",
alignItems: "center",
justifyContent: "center",
opacity: mutation.isLoading ? 0.5 : 1,
}}
>
<MdiCheck
sx={{
color: isPlayed ? green[400] : "white",
}}
/>
</IconButton>
</div>
);
};
MarkPlayedButton.propTypes = {
itemId: PropTypes.string.isRequired,
isPlayed: PropTypes.bool.isRequired,
queryKey: PropTypes.any.isRequired,
userId: PropTypes.string.isRequired,
};
export default MarkPlayedButton;
+380
View File
@@ -0,0 +1,380 @@
/** @format */
import React from "react";
import PropTypes from "prop-types";
import Button from "@mui/material/Button";
import Fab from "@mui/material/Fab";
import LinearProgress from "@mui/material/LinearProgress";
import Typography from "@mui/material/Typography";
import { MdiPlayOutline } from "../icons/mdiPlayOutline";
import {
usePlaybackDataLoadStore,
usePlaybackStore,
} from "../../utils/store/playback";
import { useNavigate } from "react-router-dom";
import { useMutation } from "@tanstack/react-query";
import { getTvShowsApi } from "@jellyfin/sdk/lib/utils/api/tv-shows-api";
import { getItemsApi } from "@jellyfin/sdk/lib/utils/api/items-api";
import {
BaseItemKind,
ItemFields,
SortOrder,
} from "@jellyfin/sdk/lib/generated-client";
import { useSnackbar } from "notistack";
import { useAudioPlayback } from "../../utils/store/audioPlayback";
import { getPlaylistsApi } from "@jellyfin/sdk/lib/utils/api/playlists-api";
const PlayButton = ({
itemId,
itemUserData,
userId,
itemType,
currentAudioTrack,
currentSubTrack,
currentVideoTrack,
className,
sx,
iconProps,
buttonProps,
iconOnly,
audio = false,
size = "large",
playlistItem,
playlistItemId = "",
trackIndex,
}) => {
const navigate = useNavigate();
const [
setUrl,
setPosition,
setDuration,
setItemId,
setItemName,
setAudioStreamIndex,
setVideoStreamIndex,
setSubtitleStreamIndex,
setMediaSourceId,
setUserId,
setMediaContainer,
setSeriesId,
setEpisodeIndex,
] = usePlaybackStore((state) => [
state.setUrl,
state.setPosition,
state.setDuration,
state.setItemId,
state.setItemName,
state.setAudioStreamIndex,
state.setVideoStreamIndex,
state.setSubtitleStreamIndex,
state.setMediaSourceId,
state.setUserId,
state.setMediaContainer,
state.setSeriesId,
state.setEpisodeIndex,
]);
const [
setAudioUrl,
setAudioDisplay,
setAudioItem,
setAudioTracks,
setCurrentTrack,
setPlaylistItemId,
] = useAudioPlayback((state) => [
state.setUrl,
state.setDisplay,
state.setItem,
state.setTracks,
state.setCurrentTrack,
state.setPlaylistItemId,
]);
const setPlaybackDataLoading = usePlaybackDataLoadStore(
(state) => state.setIsLoading,
);
const { enqueueSnackbar } = useSnackbar();
const item = useMutation({
mutationKey: ["playButton", itemId, userId],
mutationFn: async () => {
setPlaybackDataLoading(true);
let result;
switch (itemType) {
case BaseItemKind.Series:
result = await getTvShowsApi(window.api).getEpisodes({
seriesId: itemId,
limit: 1,
startIndex: 0,
fields: [
"UserData",
ItemFields.MediaSources,
ItemFields.MediaStreams,
],
});
break;
case BaseItemKind.Playlist:
case playlistItem:
result = await getPlaylistsApi(
window.api,
).getPlaylistItems({
userId: userId,
playlistId: playlistItemId,
});
break;
case BaseItemKind.MusicAlbum:
result = await getItemsApi(window.api).getItems({
parentId: itemId,
userId: userId,
fields: [
ItemFields.MediaSources,
ItemFields.MediaStreams,
],
sortOrder: SortOrder.Ascending,
sortBy: "IndexNumber",
});
break;
case BaseItemKind.MusicArtist:
result = await getItemsApi(window.api).getItems({
artistIds: [itemId],
recursive: true,
includeItemTypes: [BaseItemKind.Audio],
userId: userId,
fields: [
ItemFields.MediaSources,
ItemFields.MediaStreams,
],
sortOrder: SortOrder.Ascending,
sortBy: [
"PremiereDate",
"ProductionYear",
"SortName",
],
});
break;
default:
result = await getItemsApi(window.api).getItems({
ids: [itemId],
userId: userId,
fields: [
ItemFields.MediaSources,
ItemFields.MediaStreams,
],
sortOrder: SortOrder.Ascending,
sortBy: "IndexNumber",
});
break;
}
return result.data;
},
onSuccess: (item) => {
if (trackIndex) {
setCurrentTrack(trackIndex);
setAudioTracks(item.Items);
setAudioUrl(
`${window.api.basePath}/Audio/${item.Items[trackIndex].Id}/universal?deviceId=${window.api.deviceInfo.id}&userId=${userId}&api_key=${window.api.accessToken}`,
);
setAudioItem(item.Items[trackIndex]);
setPlaylistItemId(playlistItemId);
setAudioDisplay(true);
} else if (audio) {
setAudioTracks(item.Items);
setAudioUrl(
`${window.api.basePath}/Audio/${item.Items[0].Id}/universal?deviceId=${window.api.deviceInfo.id}&userId=${userId}&api_key=${window.api.accessToken}`,
);
setAudioItem(item.Items[0]);
setAudioDisplay(true);
} else {
setUserId(userId);
setMediaContainer(item.Items[0].MediaSources[0].Container);
// Set all required stream index
setAudioStreamIndex(currentAudioTrack);
setVideoStreamIndex(currentVideoTrack);
setSubtitleStreamIndex(currentSubTrack);
setMediaSourceId(item.Items[0].Id);
setUrl(
`${window.api.basePath}/Videos/${item.Items[0].Id}/stream.
${item.Items[0].MediaSources[0].Container}
?Static=true&mediaSourceId=${item.Items[0].Id}&deviceId=${window.api.deviceInfo.id}&api_key=${window.api.accessToken}&Tag=${item.Items[0].MediaSources[0].ETag}&videoStreamIndex=${currentVideoTrack}&audioStreamIndex=${currentAudioTrack}`,
);
console.log(item.Items[0]);
setPosition(item.Items[0].UserData?.PlaybackPositionTicks);
if (item.Items[0].Type == BaseItemKind.Episode) {
setSeriesId(item.Items[0].SeriesId);
// setEpisodeIndex(item.Ite)
}
switch (item.Items[0].Type) {
case BaseItemKind.Movie:
if (item.Items[0].ImageBlurHashes.Logo) {
setItemName(
<div className="video-osd-name">
<img
src={`${window.api.basePath}/Items/${item.Items[0].Id}/Images/Logo`}
className="video-osd-name-logo"
onLoad={(e) => {
e.target.style.opacity = 1;
}}
/>
</div>,
);
} else {
setItemName(
<div className="video-osd-name">
<Typography variant="h6">
{item.Items[0].Name}
</Typography>
</div>,
);
}
break;
case BaseItemKind.Episode:
if (item.Items[0].ImageBlurHashes.Logo) {
setItemName(
<div className="video-osd-name">
<img
src={`${window.api.basePath}/Items/${item.Items[0].SeriesId}/Images/Logo`}
className="video-osd-name-logo"
onLoad={(e) => {
e.target.style.opacity = 1;
}}
/>
<Typography variant="subtitle1">
S
{
item.Items[0]
.ParentIndexNumber
}
:E
{
item.Items[0].IndexNumber
}{" "}
{item.Items[0].Name}
</Typography>
</div>,
);
} else {
setItemName(
<div className="video-osd-name">
<Typography variant="h6">
{item.Items[0].SeriesName}
</Typography>
<Typography variant="subtitle1">
S
{
item.Items[0]
.ParentIndexNumber
}
:E
{
item.Items[0].IndexNumber
}{" "}
{item.Items[0].Name}
</Typography>
</div>,
);
}
break;
default:
setItemName(
<div className="video-osd-name">
<Typography variant="h6">
{item.Items[0].Name}
</Typography>
</div>,
);
break;
}
setItemId(item.Items[0].Id);
setDuration(item.Items[0].RunTimeTicks);
navigate(`/player`);
}
},
onSettled: () => {
setPlaybackDataLoading(false);
},
onError: (error) => {
enqueueSnackbar(`${error}`, {
variant: "error",
});
},
});
const handleClick = (e) => {
e.stopPropagation();
item.mutate();
};
if (iconOnly) {
return (
<Fab
color="primary"
aria-label="Play"
className={className}
onClick={handleClick}
sx={sx}
size={size}
{...buttonProps}
>
<MdiPlayOutline {...iconProps} />
</Fab>
);
} else {
return (
<Button
className={className}
variant="contained"
onClick={handleClick}
startIcon={<MdiPlayOutline />}
{...buttonProps}
sx={{
position: "relative",
overflow: "hidden",
}}
size={size}
>
<LinearProgress
variant="determinate"
value={
100 > itemUserData.PlayedPercentage > 0
? itemUserData.PlayedPercentage
: 0
}
sx={{
position: "absolute",
top: 0,
left: 0,
right: 0,
bottom: 0,
height: "100%",
background: "transparent",
opacity: 0.2,
zIndex: 0,
}}
color="white"
/>
{itemUserData.PlaybackPositionTicks > 0 ? "Resume" : "Play"}
</Button>
);
}
};
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,
};
+140
View File
@@ -0,0 +1,140 @@
/** @format */
import PropTypes from "prop-types";
import { useNavigate } from "react-router-dom";
import MuiCard from "@mui/material/Card";
import CardActionArea from "@mui/material/CardActionArea";
import Typography from "@mui/material/Typography";
import LinearProgress from "@mui/material/LinearProgress";
import { Blurhash } from "react-blurhash";
import { TypeIconCollectionCard } from "../utils/iconsCollection";
import "./card.module.scss";
import { MdiCheck } from "../icons/mdiCheck";
import LikeButton from "../buttons/likeButton";
import MarkPlayedButton from "../buttons/markPlayedButton";
import PlayButton from "../buttons/playButton";
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
import { MdiAccountTie } from "../icons/mdiAccountTie";
const cardImageAspectRatios = {
thumb: 1.777,
portrait: 0.666,
square: 1,
};
const availableSpecialRoutes = [BaseItemKind.Series];
/**
* @typedef {Object} Props
* @property {import("@jellyfin/sdk/lib/generated-client/models").BaseItemDto} item
* @property {string} cardTitle
* @property {string | number} cardCaption
* @property {string} imageBlurhash
* @property {string} seriesId
* @property {boolean} hideText
* @property {() => {}} onClick
* @property {boolean} disablePadding
*/
/**
* @description Hero section for item pages
* @param {Props}
* @returns {React.Component}
*/
export const ActorCard = ({
item,
cardTitle,
cardCaption,
imageBlurhash,
seriesId,
hideText,
onClick,
disablePadding,
}) => {
const navigate = useNavigate();
const defaultOnClick = () => {
navigate(`/person/${item.Id}`);
};
return (
<CardActionArea
style={{
padding: disablePadding ? 0 : "0.6em",
borderRadius: "calc(0.6em + 6px)",
}}
className="card-container"
onClick={!!onClick ? onClick : defaultOnClick}
>
<MuiCard className="card card-actor" elevation={0}>
<div className="card-box">
<div
className="card-image-container"
style={{
aspectRatio: 1,
}}
>
{!!imageBlurhash && (
<Blurhash
hash={imageBlurhash}
width={128}
height={128}
resolutionX={24}
resolutionY={24}
className="card-image-blurhash"
/>
)}
<div className="card-image-icon-container">
<MdiAccountTie className="card-image-icon" />
</div>
<img
src={window.api.getItemImageUrl(
!!seriesId ? item.SeriesId : item.Id,
"Primary",
{
quality: 80,
fillHeight: 448,
fillWidth: 448,
},
)}
style={{
height: "100%",
width: "100%",
opacity: 0,
}}
loading="lazy"
onLoad={(e) => (e.target.style.opacity = 1)}
className="card-image"
/>
</div>
<div
className="card-text-container"
style={{ display: hideText ? "none" : "block" }}
>
<Typography
variant="subtitle1"
fontWeight={500}
noWrap
textAlign="center"
style={{ opacity: 0.9 }}
>
{cardTitle}
</Typography>
<Typography
variant="subtitle2"
noWrap
textAlign="center"
style={{ opacity: 0.6 }}
lineHeight="auto"
>
{cardCaption}
</Typography>
</div>
</div>
</MuiCard>
</CardActionArea>
);
};
+257 -92
View File
@@ -1,110 +1,275 @@
/** @format */
import React from "react";
import PropTypes from "prop-types";
import { useNavigate } from "react-router-dom";
import MuiCard from "@mui/material/Card";
import CardActionArea from "@mui/material/CardActionArea";
import Typography from "@mui/material/Typography";
import LinearProgress from "@mui/material/LinearProgress";
import {
MediaCollectionTypeIconCollectionCard,
MediaTypeIconCollectionCard,
} from "../utils/iconsCollection";
import { Blurhash } from "react-blurhash";
import { TypeIconCollectionCard } from "../utils/iconsCollection";
import "./card.module.scss";
import { MdiCheck } from "../icons/mdiCheck";
export const CardLandscape = ({ itemName, itemId, imageTags, iconType }) => {
const imageAvailable = () => {
console.log(imageTags);
if (imageTags == undefined) {
console.log("hee");
return false;
import LikeButton from "../buttons/likeButton";
import MarkPlayedButton from "../buttons/markPlayedButton";
import PlayButton from "../buttons/playButton";
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
const cardImageAspectRatios = {
thumb: 1.777,
portrait: 0.666,
square: 1,
};
const availableSpecialRoutes = [
BaseItemKind.Series,
BaseItemKind.BoxSet,
BaseItemKind.MusicAlbum,
BaseItemKind.Episode,
BaseItemKind.Playlist,
];
/**
* @typedef {Object} Props
* @property {import("@jellyfin/sdk/lib/generated-client/models").BaseItemDto} item
* @property {string} cardTitle
* @property {string | number} cardCaption
* @property {string} imageType
* @property {string} imageBlurhash
* @property {'thumb' | 'portrait' | 'square'} cardType
* @property {Array} queryKey
* @property {string} userId
* @property {string} seriesId
* @property {boolean} hideText
* @property {() => {}} onClick
* @property {boolean} disableOverlay
* @property {boolean} disablePadding
* @property {any} overrideIcon
*/
/**
* @description Hero section for item pages
* @param {Props}
* @returns {React.Component}
*/
export const Card = ({
item,
cardTitle,
cardCaption,
imageType = "Primary",
imageBlurhash,
cardType,
queryKey,
userId,
seriesId,
hideText,
onClick,
disableOverlay = false,
disablePadding,
overrideIcon,
}) => {
const navigate = useNavigate();
const defaultOnClick = () => {
if (availableSpecialRoutes.includes(item.Type)) {
navigate(`/${item.Type.toLocaleLowerCase()}/${item.Id}`);
} else if (!!item.Role || item.Type == BaseItemKind.Person) {
navigate(`/person/${item.Id}`);
} else if (item.Type == BaseItemKind.MusicArtist) {
navigate(`/artist/${item.Id}`);
} else {
return true;
navigate(`/item/${item.Id}`);
}
};
return (
<div className="card landscape">
<div className="card-image-container">
{imageAvailable ? (
<CardActionArea
style={{
padding: disablePadding ? 0 : "0.6em",
borderRadius: "calc(0.6em + 6px)",
}}
className="card-container"
onClick={onClick ? onClick : defaultOnClick}
>
<MuiCard className="card" elevation={0}>
<div className="card-box">
<div
className="card-image"
className="card-image-container"
style={{
backgroundImage:
"url('" +
window.api.basePath +
"/Items/" +
itemId +
"/Images/Primary')",
aspectRatio: cardImageAspectRatios[cardType],
}}
></div>
) : (
<div className="card-image empty"></div>
)}
<div className="card-image-icon-container">
{MediaCollectionTypeIconCollectionCard[iconType]}
>
{!!item.UserData && (
<>
<div
className="card-indicator check"
style={{
opacity: item.UserData?.Played
? 1
: 0,
}}
>
<MdiCheck />
</div>
<div
className={`card-indicator text`}
style={{
opacity: item.UserData
?.UnplayedItemCount
? 1
: 0,
}}
>
<Typography
variant="subtitle2"
padding="0.1em 0.4em"
fontWeight={400}
>
{
item.UserData
?.UnplayedItemCount
}
</Typography>
</div>
</>
)}
{!!imageBlurhash && (
<Blurhash
hash={imageBlurhash}
width={128}
height={128}
resolutionX={24}
resolutionY={24}
className="card-image-blurhash"
/>
)}
<div className="card-image-icon-container">
{overrideIcon
? TypeIconCollectionCard[overrideIcon]
: TypeIconCollectionCard[item.Type]}
</div>
<img
src={
overrideIcon == "User"
? `${window.api.basePath}/Users/${item.Id}/Images/Primary`
: window.api.getItemImageUrl(
seriesId
? item.SeriesId
: item.AlbumId
? item.AlbumId
: item.Id,
imageType,
{
quality: 85,
fillHeight: 462,
fillWidth: 462,
},
)
}
style={{
height: "100%",
width: "100%",
opacity: 0,
}}
loading="lazy"
onLoad={(e) => (e.target.style.opacity = 1)}
className="card-image"
/>
{!disableOverlay && (
<div className="card-overlay">
<PlayButton
itemId={item.Id}
userId={userId}
itemType={item.Type}
currentAudioTrack={0}
currentSubTrack={0}
currentVideoTrack={0}
className="card-play-button"
iconProps={{
style: { fontSize: "2.5em" },
}}
iconOnly
audio={
item.Type ==
BaseItemKind.MusicAlbum ||
item.Type ==
BaseItemKind.Audio ||
item.Type ==
BaseItemKind.AudioBook ||
item.Type ==
BaseItemKind.Playlist
}
playlistItem={
item.Type ==
BaseItemKind.Playlist
}
playlistItemId={item.Id}
/>
<LikeButton
itemId={item.Id}
itemName={item.Name}
isFavorite={
item.UserData?.IsFavorite
}
queryKey={queryKey}
userId={userId}
/>
<MarkPlayedButton
itemId={item.Id}
itemName={item.Name}
isPlayed={item.UserData?.Played}
queryKey={queryKey}
userId={userId}
/>
</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
className="card-text-container"
style={{ display: hideText ? "none" : "block" }}
>
<Typography
variant="subtitle1"
fontWeight={500}
noWrap
textAlign="center"
style={{ opacity: 0.9 }}
>
{cardTitle}
</Typography>
<Typography
variant="subtitle2"
noWrap
textAlign="center"
style={{ opacity: 0.6 }}
lineHeight="auto"
>
{cardCaption}
</Typography>
</div>
</div>
</div>
<div className="card-text-container">
<Typography variant="button" color="white">
{itemName}
</Typography>
</div>
</div>
</MuiCard>
</CardActionArea>
);
};
export const CardPotrait = ({ itemName, itemId, imageTags, iconType }) => {
const imageAvailable = () => {
console.log(imageTags);
if (imageTags == undefined) {
console.log("hee");
return false;
} else {
return true;
}
};
return (
<div className="card portrait">
<div className="card-image-container">
{imageAvailable ? (
<div
className="card-image"
style={{
backgroundImage:
"url('" +
window.api.basePath +
"/Items/" +
itemId +
"/Images/Primary?quality=95&fillHeight=350&fillWidth=243')",
}}
></div>
) : (
<div className="card-image empty"></div>
)}
<div className="card-image-icon-container">
{MediaTypeIconCollectionCard[iconType]}
</div>
</div>
<div className="card-text-container">
<Typography variant="button" color="white">
{itemName}
</Typography>
</div>
</div>
);
};
CardLandscape.propTypes = {
itemName: PropTypes.string.isRequired,
itemId: PropTypes.string.isRequired,
imageTags: PropTypes.object,
iconType: PropTypes.string.isRequired,
};
CardPotrait.propTypes = {
itemName: PropTypes.string.isRequired,
itemId: PropTypes.string.isRequired,
imageTags: PropTypes.object,
iconType: PropTypes.string.isRequired,
};
+113 -44
View File
@@ -1,52 +1,121 @@
/** @format */
.card {
margin-right: 1em;
&.landscape {
--image-aspect-ratio: 1.77;
}
&.portrait {
--image-aspect-ratio: 0.65;
}
&-image {
position: relative;
z-index: 1;
border-radius: 10px;
aspect-ratio: var(--image-aspect-ratio);
background-size: cover;
background-position: center;
&-container {
position: relative;
}
&-icon {
font-size: 4.5em !important;
&-container {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100% !important;
height: 100% !important;
border-radius: $border-radius-default;
color: $clr-accent-default;
background: $clr-accent-dark;
z-index: 0;
}
}
}
&-text-container {
margin-top: 0.5em;
height: 100%;
overflow: visible !important;
align-items: flex-start;
background: transparent !important;
&-box {
display: flex;
width: 100%;
height: 100%;
position: relative;
overflow: visible;
flex-direction: column;
justify-content: center;
}
&-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: opacity $transition-time-fast;
position: absolute;
z-index: 1;
top: 0;
left: 0;
&-container {
position: relative;
width: 100%;
border-radius: $border-radius-default;
box-shadow: 0 4px 8px rgb(0 0 0 / 0.2);
overflow: hidden;
height: auto;
z-index: 0;
}
&-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 5.4em !important;
fill: url(#clr-gradient-default) !important;
color: transparent;
&-container {
background: $clr-gradient-dark;
height: 100%;
width: 100%;
position: absolute;
z-index: 0;
top: 0;
left: 0;
}
}
&-blurhash {
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}
}
&-overlay {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: rgb(0 0 0 / 0.6);
z-index: 10;
opacity: 0;
transition: opacity $transition-time-default;
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 0.5em;
}
&-container:hover,
&-container:focus,
&-container:focus-within {
.card-overlay {
opacity: 1;
}
}
&-play-button {
position: absolute !important;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
&-indicator {
position: absolute;
top: 0.4em;
right: 0.4em;
z-index: 2;
padding: 0.2em 0.75em;
background: rgb(20 20 20 / 0.5);
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(5px);
transition: opacity 250ms;
border-radius: 100px;
box-shadow: 0 0 5px rgb(0 0 0 / 0.2);
}
&-text {
&-container {
height: 15%;
}
}
&-episode {
.card-box {
height: unset !important;
}
}
&-actor {
.card-image-container {
border-radius: 100% !important;
}
}
}
+214
View File
@@ -0,0 +1,214 @@
/** @format */
import React from "react";
import { useNavigate } from "react-router-dom";
import MuiCard from "@mui/material/Card";
import CardActionArea from "@mui/material/CardActionArea";
import Typography from "@mui/material/Typography";
import LinearProgress from "@mui/material/LinearProgress";
import { Blurhash } from "react-blurhash";
import "./card.module.scss";
import { MdiCheck } from "../icons/mdiCheck";
import LikeButton from "../buttons/likeButton";
import MarkPlayedButton from "../buttons/markPlayedButton";
import PlayButton from "../buttons/playButton";
import { MdiTelevisionClassic } from "../icons/mdiTelevisionClassic";
import { getRuntimeCompact } from "../../utils/date/time";
/**
* @typedef {Object} Props
* @property {import("@jellyfin/sdk/lib/generated-client/models").BaseItemDto} item
* @property {string} cardTitle
* @property {string | number} cardCaption
* @property {string} imageBlurhash
* @property {Array} queryKey
* @property {string} userId
* @property {() => {}} onClick
*/
/**
* @description Hero section for item pages
* @param {Props}
* @returns {React.Component}
*/
export const EpisodeCard = ({
item,
cardTitle,
cardCaption,
imageBlurhash,
queryKey,
userId,
onClick,
}) => {
const navigate = useNavigate();
const defaultOnClick = () => {
navigate(`/episode/${item.Id}`);
};
return (
<CardActionArea
style={{
padding: "0.6em",
borderRadius: "calc(0.6em + 6px)",
}}
className="card-container"
onClick={onClick ? onClick : defaultOnClick}
>
<MuiCard className="card card-episode" elevation={0}>
<div className="card-box">
<div
className="card-image-container"
style={{
aspectRatio: 1.777,
}}
>
{!!item.UserData && (
<div
className="card-indicator check"
style={{
opacity: item.UserData?.Played
? 1
: 0,
}}
>
<MdiCheck />
</div>
)}
{!!imageBlurhash && (
<Blurhash
hash={imageBlurhash}
width={128}
height={128}
resolutionX={24}
resolutionY={24}
className="card-image-blurhash"
/>
)}
<div className="card-image-icon-container">
<MdiTelevisionClassic className="card-image-icon" />
</div>
<img
src={window.api.getItemImageUrl(
item.Id,
"Primary",
{
quality: 90,
fillHeight: 512,
fillWidth: 512,
},
)}
style={{
height: "100%",
width: "100%",
opacity: 0,
}}
loading="lazy"
onLoad={(e) => (e.target.style.opacity = 1)}
className="card-image"
/>
<div className="card-overlay">
<PlayButton
itemId={item.Id}
userId={userId}
itemType={item.Type}
currentAudioTrack={0}
currentSubTrack={0}
currentVideoTrack={0}
className="card-play-button"
iconProps={{
style: { fontSize: "2.5em" },
}}
iconOnly
/>
<LikeButton
itemId={item.Id}
itemName={item.Name}
isFavorite={item.UserData?.IsFavorite}
queryKey={queryKey}
userId={userId}
/>
<MarkPlayedButton
itemId={item.Id}
itemName={item.Name}
isPlayed={item.UserData.Played}
queryKey={queryKey}
userId={userId}
/>
</div>
{100 > item.UserData?.PlayedPercentage > 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
className="card-text-container"
style={{ display: "block", marginTop: "0.5em" }}
>
<div
style={{
display: "flex",
alignItems: "center",
justifyContent: "space-between",
gap: "1em",
}}
>
<Typography
variant="subtitle1"
fontWeight={500}
textAlign="start"
noWrap
style={{
opacity: 0.9,
}}
>
{cardTitle}
</Typography>
<Typography
variant="subtitle1"
fontWeight={500}
noWrap
textAlign="start"
style={{ opacity: 0.8, flexShrink: 0 }}
>
{getRuntimeCompact(item.RunTimeTicks)}
</Typography>
</div>
<Typography
variant="subtitle2"
textAlign="start"
style={{
opacity: 0.6,
display: "-webkit-box",
overflow: "hidden",
WebkitBoxOrient: "vertical",
WebkitLineClamp: 3,
}}
lineHeight="auto"
>
{cardCaption}
</Typography>
</div>
</div>
</MuiCard>
</CardActionArea>
);
};
+80 -53
View File
@@ -1,83 +1,110 @@
/** @format */
import { useRef, useEffect } from "react";
import { useState } from "react";
import PropTypes from "prop-types";
import Carousel from "react-multi-carousel";
import "react-multi-carousel/lib/styles.css";
import ChevronLeft from "mdi-material-ui/ChevronLeft";
import ChevronRight from "mdi-material-ui/ChevronRight";
import { MdiChevronLeft } from "../icons/mdiChevronLeft";
import { MdiChevronRight } from "../icons/mdiChevronRight";
import { styled } from "@mui/material/styles";
import Button from "@mui/material/Button";
import IconButton from "@mui/material/IconButton";
import Box from "@mui/material/Box";
import Typography from "@mui/material/Typography";
import ButtonGroup from "@mui/material/ButtonGroup";
import "./cardScroller.module.scss";
const CarouselButton = styled(Button)(() => ({
color: "white",
height: "100%",
}));
const SliderButtonRight = ({ onClick }) => {
return (
<CarouselButton
onClick={() => onClick()}
className="card-scroller-button right"
variant="text"
>
<ChevronRight />
</CarouselButton>
);
};
const SliderButtonLeft = ({ onClick }) => {
return (
<CarouselButton
onClick={() => onClick()}
className="card-scroller-button left"
variant="text"
>
<ChevronLeft />
</CarouselButton>
);
};
export const CardScroller = ({ children, displayCards }) => {
export const CardScroller = ({
children,
displayCards,
title,
headingProps,
disableDecoration = false,
boxProps,
}) => {
const responsive = {
superLargeDesktop: {
// the naming can be any, depends on you.
breakpoint: { max: 4000, min: 3000 },
items: displayCards + 1,
slidesToSlide: displayCards + 1,
partialVisibilityGutter: 40,
},
desktop: {
breakpoint: { max: 3000, min: 1024 },
breakpoint: { max: 3000, min: 625 },
items: displayCards,
slidesToSlide: displayCards, // optional, default to 1.
partialVisibilityGutter: 30,
},
tablet: {
breakpoint: { max: 1024, min: 464 },
items: displayCards - 1,
slidesToSlide: displayCards - 1, // optional, default to 1.
breakpoint: { max: 624, min: 464 },
items: displayCards - 2,
slidesToSlide: displayCards - 2, // optional, default to 1.
partialVisibilityGutter: 20,
},
mobile: {
breakpoint: { max: 464, min: 0 },
items: displayCards - 2,
slidesToSlide: displayCards - 2, // optional, default to 1.
items: displayCards - 5,
slidesToSlide: displayCards - 5, // optional, default to 1.
partialVisibilityGutter: 10,
},
};
const [carouselRef, setCarouselRef] = useState();
return (
<Carousel
swipeable={false}
draggable={false}
responsive={responsive}
arrows={true}
customRightArrow={<SliderButtonRight />}
customLeftArrow={<SliderButtonLeft />}
className="card-scroller"
>
{children}
</Carousel>
<Box {...boxProps} className="card-scroller-container" mb={1}>
<Box
sx={{ mb: 1 }}
className={
disableDecoration
? `card-scroller-header-container hidden-decoration`
: `card-scroller-header-container`
}
>
<Typography
variant="h5"
color="textPrimary"
className="card-scroller-heading"
{...headingProps}
>
<div className="card-scroller-heading-decoration"></div>{" "}
{title}
</Typography>
<ButtonGroup className="card-scroller-button-group">
<IconButton
className="card-scroller-button"
onClick={() => carouselRef.previous()}
>
<MdiChevronLeft />
</IconButton>
<IconButton
className="card-scroller-button"
onClick={() => carouselRef.next()}
>
<MdiChevronRight />
</IconButton>
</ButtonGroup>
</Box>
<Carousel
swipeable={false}
draggable={false}
responsive={responsive}
arrows={false}
ref={(el) => setCarouselRef(el)}
className="card-scroller"
customTransition="all .6s"
transitionDuration={600}
>
{children}
</Carousel>
</Box>
);
};
CardScroller.propTypes = {
displayCards: PropTypes.number.isRequired,
title: PropTypes.string.isRequired,
headingProps: PropTypes.any,
};
@@ -7,23 +7,31 @@
display: flex;
}
&-button {
color: white;
position: absolute !important;
top: 49%;
transform: translateY(-50%);
background-color: $clr-background-dark !important;
border-radius: $border-radius-intensity-1 !important;
opacity: 0;
transition: opacity $transition-time-default !important;
&:hover,
&:focus {
opacity: 1;
}
&.right {
right: 0%;
}
&.left {
left: 0%;
aspect-ratio: 1;
}
&-header-container {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
}
&-heading {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 0.35em;
position: relative;
margin-bottom: 0.25em !important;
&-decoration {
width: 0.75em;
height: 2px;
background: white;
}
}
}
.hidden-decoration {
.card-scroller-heading-decoration {
display: none;
}
}
+44
View File
@@ -0,0 +1,44 @@
/** @format */
.carousel {
position: relative;
height: 100vh;
&-button {
position: absolute !important;
top: 50%;
transform: translateY(-50%);
z-index: 100;
&.right {
right: 0.5em;
}
&.left {
left: 0;
}
}
&-indicator {
height: 2px;
width: 100%;
border-radius: 10px;
transition: background $transition-time-fast,
height $transition-time-fast;
&:hover {
cursor: pointer;
height: 5px;
background: rgb(255 255 255 / 0.8) !important;
}
&-container {
display: flex;
position: absolute;
bottom: 1em;
width: calc(100vw - 8em);
left: 1em;
right: 1em;
gap: 1em;
align-items: center;
justify-content: center;
}
&.active {
height: 5px;
}
}
}
+128
View File
@@ -0,0 +1,128 @@
/** @format */
import React, { useEffect, useState } from "react";
import { AnimatePresence, motion } from "framer-motion";
import IconButton from "@mui/material/IconButton";
import { MdiChevronLeft } from "../icons/mdiChevronLeft";
import { MdiChevronRight } from "../icons/mdiChevronRight";
import "./carousel.scss";
import { useCarouselStore } from "../../utils/store/carousel";
const swipeConfidenceThreshold = 8000;
const swipePower = (offset, velocity) => {
return Math.abs(offset) * velocity;
};
const Carousel = ({ content, onChange }) => {
const [currentSlide, setCurrentSlide] = useState(0);
const [setDirection, dir] = useCarouselStore((state) => [
state.setDirection,
state.direction,
]);
useEffect(() => {
onChange(currentSlide);
}, [content[currentSlide].key]);
return (
<div className="carousel">
<IconButton
className="carousel-button left"
onClick={() => {
if (currentSlide > 0) {
setDirection("left");
setCurrentSlide((init) => init - 1);
}
}}
sx={{
background: " rgb(200 200 200 / 0.05)",
}}
disabled={currentSlide == 0}
>
<MdiChevronLeft />
</IconButton>
<AnimatePresence>
<motion.div
key={currentSlide}
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
transition={{
duration: 0.25,
ease: "easeInOut",
}}
drag={"x"}
dragConstraints={{ left: 0, right: 0 }}
dragElastic={1}
onDragEnd={(e, { offset, velocity }) => {
const swipe = swipePower(offset.x, velocity.x);
if (
currentSlide != content.length - 1 &&
swipe < -swipeConfidenceThreshold
) {
setDirection("right");
setCurrentSlide((init) => init + 1);
} else if (
currentSlide != 0 &&
swipe > swipeConfidenceThreshold
) {
setDirection("left");
setCurrentSlide((init) => init - 1);
}
}}
style={{
height: "100vh",
width: "100vw",
position: "absolute",
}}
>
{content[currentSlide]}
</motion.div>
</AnimatePresence>
<IconButton
className="carousel-button right"
onClick={() => {
if (currentSlide < content.length - 1) {
setDirection("right");
setCurrentSlide((init) => init + 1);
}
}}
disabled={currentSlide == content.length - 1}
sx={{
background: " rgb(200 200 200 / 0.05)",
}}
>
<MdiChevronRight />
</IconButton>
<div className="carousel-indicator-container">
{content.map((item, index) => (
<div
className={
currentSlide == index
? "carousel-indicator active"
: "carousel-indicator"
}
key={index}
style={{
background:
currentSlide == index
? "white"
: "rgb(255 255 255 / 0.5)",
}}
onClick={() => {
if (currentSlide > index) {
setDirection("left");
} else if (currentSlide <= index) {
setDirection("right");
}
setCurrentSlide(index);
}}
/>
))}
</div>
</div>
);
};
export default Carousel;
+329
View File
@@ -0,0 +1,329 @@
/** @format */
import React, { memo } from "react";
import { Blurhash } from "react-blurhash";
import { motion } from "framer-motion";
import Paper from "@mui/material/Paper";
import Typography from "@mui/material/Typography";
import Stack from "@mui/material/Stack";
import Chip from "@mui/material/Chip";
import Button from "@mui/material/Button";
import { yellow } from "@mui/material/colors";
import ErrorBoundary from "../errorBoundary";
import CarouselSlideError from "../errors/carousel";
import { MdiStar } from "../icons/mdiStar";
import { endsAt, getRuntime } from "../../utils/date/time";
import { useNavigate } from "react-router-dom";
import { MediaTypeIconCollection } from "../utils/iconsCollection";
import { MdiChevronRight } from "../icons/mdiChevronRight";
import { useQuery } from "@tanstack/react-query";
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
import LikeButton from "../buttons/likeButton";
import MarkPlayedButton from "../buttons/markPlayedButton";
import { useCarouselStore } from "../../utils/store/carousel";
import PlayButton from "../buttons/playButton";
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
const availableSpecialRoutes = [
BaseItemKind.Series,
BaseItemKind.BoxSet,
BaseItemKind.MusicAlbum,
];
/**
* @typedef {Object} Props
* @property {import("@jellyfin/sdk/lib/generated-client/models").BaseItemDto} item
*/
/**
* @description Carousel slide component
* @param {Props}
* @returns {React.Component}
*/
const CarouselSlide = ({ item }) => {
const navigate = useNavigate();
const user = useQuery({
queryKey: ["user"],
queryFn: async () => {
let usr = await getUserApi(window.api).getCurrentUser();
return usr.data;
},
networkMode: "always",
});
const handleMoreInfo = () => {
if (availableSpecialRoutes.includes(item.Type)) {
navigate(`/${item.Type.toLocaleLowerCase()}/${item.Id}`);
} else if (item.Role) {
navigate(`/person/${item.Id}`);
} else {
navigate(`/item/${item.Id}`);
}
};
const [animationDirection] = useCarouselStore((state) => [
state.direction,
]);
return (
<ErrorBoundary fallback={<CarouselSlideError itemName={item.Name} />}>
<Paper
className="hero-carousel-slide"
sx={{
background: "transparent",
px: 3,
boxShadow: "none !important",
}}
>
<div className="hero-carousel-background-container">
{!!item.ImageBlurHashes.Backdrop && (
<>
{Object.keys(item.ImageBlurHashes.Backdrop)
.length != 0 && (
<Blurhash
hash={
item.ImageBlurHashes.Backdrop[
Object.keys(
item.ImageBlurHashes
.Backdrop,
)[0]
]
}
// hash="LEHV6nWB2yk8pyo0adR*.7kCMdnj"
width="1080"
height="720"
resolutionX={64}
resolutionY={96}
className="hero-carousel-background-blurhash"
punch={1}
/>
)}
<img
className="hero-carousel-background-image"
src={
item.ParentBackdropItemId
? `${window.api.basePath}/Items/${item.ParentBackdropItemId}/Images/Backdrop`
: `${window.api.basePath}/Items/${item.Id}/Images/Backdrop`
}
style={{
opacity: 0,
}}
onLoad={(e) =>
(e.target.style.opacity = 1)
}
loading="eager"
/>
</>
)}
<div className="hero-carousel-background-icon-container">
{MediaTypeIconCollection[item.Type]}
</div>
</div>
<motion.div
initial={{
transform:
animationDirection == "right"
? "translateX(60px)"
: "translateX(-60px)",
opacity: 0,
}}
animate={{
transform: "translateX(0px)",
opacity: 1,
}}
exit={{
transform:
animationDirection == "right"
? "translateX(-60px)"
: "translateX(60px)",
opacity: 0,
}}
transition={{
duration: 0.25,
ease: "easeInOut",
}}
className="hero-carousel-detail"
>
<Typography
key={item.Id}
variant="h2"
className="hero-carousel-text"
sx={{
mb: 2.5,
}}
overflow="visible"
>
{!item.ImageTags.Logo ? (
item.Name
) : (
<img
className="hero-carousel-text-logo"
src={
window.api.basePath +
"/Items/" +
item.Id +
"/Images/Logo?quality=80&tag=" +
item.ImageTags.Logo
}
style={{
opacity: 0,
transition: "opacity 0.2s",
}}
onLoad={(e) =>
(e.target.style.opacity = 1)
}
/>
)}
</Typography>
<Stack
direction="row"
gap={1}
divider={
<div
style={{
width: "4px",
height: "4px",
background: "white",
alignSelf: "center",
aspectRatio: 1,
borderRadius: "10px",
}}
></div>
}
className="hero-carousel-info"
>
<Typography variant="subtitle1">
{item.ProductionYear
? item.ProductionYear
: "Unknown"}
</Typography>
<Chip
variant="filled"
label={item.OfficialRating ?? "Not Rated"}
/>
<div
style={{
display: "flex",
gap: "0.25em",
alignItems: "center",
}}
className="hero-carousel-info-rating"
>
{item.CommunityRating ? (
<>
<MdiStar
sx={{
color: yellow[700],
}}
/>
<Typography variant="subtitle1">
{Math.round(
item.CommunityRating *
10,
) / 10}
</Typography>
</>
) : (
<Typography variant="subtitle1">
No Community Rating
</Typography>
)}
</div>
{!!item.RunTimeTicks && (
<Typography variant="subtitle1">
{getRuntime(item.RunTimeTicks)}
</Typography>
)}
{!!item.RunTimeTicks && (
<Typography variant="subtitle1">
{endsAt(item.RunTimeTicks)}
</Typography>
)}
</Stack>
<Typography
variant="subtitle1"
className="hero-carousel-text"
sx={{
display: "-webkit-box",
maxWidth: "70%",
maxHeight: "50%",
textOverflow: "ellipsis",
overflow: "hidden",
WebkitLineClamp: "4",
WebkitBoxOrient: "vertical",
}}
>
{item.Overview}
</Typography>
{/* TODO Link PLay and More info buttons in carousel */}
<Stack
mt={3}
direction="row"
gap={3}
width="100%"
className="hero-carousel-button-container"
alignItems="center"
>
<PlayButton
itemId={item.Id}
userId={user.data.Id}
itemType={item.Type}
currentAudioTrack={0}
currentSubTrack={0}
currentVideoTrack={0}
buttonProps={{
size: "large",
}}
itemUserData={item.UserData}
audio={
item.Type == BaseItemKind.MusicAlbum ||
item.Type == BaseItemKind.Audio ||
item.Type == BaseItemKind.AudioBook ||
item.Type == BaseItemKind.Playlist
}
playlistItem={
item.Type == BaseItemKind.Playlist
}
playlistItemId={item.Id}
/>
<Button
size="large"
color="white"
variant="outlined"
endIcon={<MdiChevronRight />}
onClick={handleMoreInfo}
>
More info
</Button>
<Stack direction="row" gap={1}>
<LikeButton
itemId={item.Id}
queryKey={["home", "latestMedia"]}
userId={user.data.Id}
isFavorite={item.UserData.IsFavorite}
itemName={item.Name}
/>
<MarkPlayedButton
itemId={item.Id}
queryKey={["home", "latestMedia"]}
userId={user.data.Id}
isPlayed={item.UserData.Played}
itemName={item.Name}
/>
</Stack>
</Stack>
</motion.div>
</Paper>
</ErrorBoundary>
);
};
export default memo(CarouselSlide);
+32
View File
@@ -0,0 +1,32 @@
/** @format */
import React from "react";
class ErrorBoundary extends React.Component {
constructor(props) {
super(props);
this.state = { hasError: false };
}
static getDerivedStateFromError(error) {
// Update state so the next render will show the fallback UI.
return { hasError: true };
}
componentDidCatch(error, info) {
// Example "componentStack":
// in ComponentThatThrows (created by App)
// in ErrorBoundary (created by App)
// in div (created by App)
// in App
console.error(`Err in ${info} - ${error}`);
}
render() {
if (this.state.hasError) {
// You can render any custom fallback UI
return this.props.fallback;
}
return this.props.children;
}
}
export default ErrorBoundary;
+48
View File
@@ -0,0 +1,48 @@
/** @format */
import Paper from "@mui/material/Paper";
import Stack from "@mui/material/Stack";
import Typography from "@mui/material/Typography";
import { MdiEmoticonDead } from "../icons/mdiEmoticonDead";
import Divider from "@mui/material/Divider";
import { red } from "@mui/material/colors";
import slideBackground from "../../assets/errorbg.png";
const CarouselSlideError = ({ itemName }) => {
return (
<Paper className="hero-carousel-slide">
<Stack
justifyContent="center"
alignItems="center"
sx={{
width: "100%",
height: "100%",
background: `url(${slideBackground})`,
backgroundSize: "cover",
}}
>
<MdiEmoticonDead
sx={{ fontSize: "10em", opacity: "0.8" }}
/>
<Typography mb={2} variant="h4" sx={{ opacity: "0.5" }}>
Error caused by
</Typography>
<Typography
mt={2}
variant="h3"
sx={{
background: "rgb(255 255 255 /0.1)",
padding: 1,
borderRadius: 3,
}}
>
{itemName}
</Typography>
</Stack>
</Paper>
);
};
export default CarouselSlideError;
+15
View File
@@ -0,0 +1,15 @@
/** @format */
import { MdiChevronLeft } from "./mdiChevronLeft";
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiAccount } from "@mdi/js";
export const MdiAccount = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiAccount}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiAccountMusic } from "@mdi/js";
export const MdiAccountMusic = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiAccountMusic}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiAccountTie } from "@mdi/js";
export const MdiAccountTie = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiAccountTie}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiAlbum } from "@mdi/js";
export const MdiAlbum = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiAlbum}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiAlertDecagram } from "@mdi/js";
export const MdiAlertDecagram = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiAlertDecagram}></path>
</SvgIcon>
);
};
+2 -2
View File
@@ -4,9 +4,9 @@ import SvgIcon from "@mui/material/SvgIcon";
import { mdiArrowLeft } from "@mdi/js";
export const MdiArrowLeft = () => {
export const MdiArrowLeft = (props) => {
return (
<SvgIcon>
<SvgIcon {...props}>
<path d={mdiArrowLeft}></path>
</SvgIcon>
);
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiBackburger } from "@mdi/js";
export const MdiBackburger = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiBackburger}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiBook } from "@mdi/js";
export const MdiBook = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiBook}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiBookMultiple } from "@mdi/js";
export const MdiBookMultiple = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiBookMultiple}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiBookMusic } from "@mdi/js";
export const MdiBookMusic = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiBookMusic}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiCheck } from "@mdi/js";
export const MdiCheck = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiCheck}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiChevronDown } from "@mdi/js";
export const MdiChevronDown = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiChevronDown}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiChevronLeft } from "@mdi/js";
export const MdiChevronLeft = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiChevronLeft}></path>
</SvgIcon>
);
};
+2 -2
View File
@@ -4,9 +4,9 @@ import SvgIcon from "@mui/material/SvgIcon";
import { mdiChevronRight } from "@mdi/js";
export const MdiChevronRight = () => {
export const MdiChevronRight = (props) => {
return (
<SvgIcon>
<SvgIcon {...props}>
<path d={mdiChevronRight}></path>
</SvgIcon>
);
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiClockOutline } from "@mdi/js";
export const MdiClockOutline = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiClockOutline}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiClose } from "@mdi/js";
export const MdiClose = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiClose}></path>
</SvgIcon>
);
};
+15
View File
@@ -0,0 +1,15 @@
/** @format */
import { MdiChevronLeft } from "./mdiChevronLeft";
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiCog } from "@mdi/js";
export const MdiCog = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiCog}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiCogSync } from "@mdi/js";
export const MdiCogSync = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiCogSync}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiDelete } from "@mdi/js";
export const MdiDelete = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiDelete}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiDramaMasks } from "@mdi/js";
export const MdiDramaMasks = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiDramaMasks}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiEmoticonCry } from "@mdi/js";
export const MdiEmoticonCry = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiEmoticonCry}></path>
</SvgIcon>
);
};
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiEmoticonCryOutline } from "@mdi/js";
export const MdiEmoticonCryOutline = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiEmoticonCryOutline}></path>
</SvgIcon>
);
};
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiEmoticonDead } from "@mdi/js";
export const MdiEmoticonDead = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiEmoticonDead}></path>
</SvgIcon>
);
};
+2 -2
View File
@@ -4,9 +4,9 @@ import SvgIcon from "@mui/material/SvgIcon";
import { mdiEyeOffOutline } from "@mdi/js";
export const MdiEyeOffOutline = () => {
export const MdiEyeOffOutline = (props) => {
return (
<SvgIcon>
<SvgIcon {...props}>
<path d={mdiEyeOffOutline}></path>
</SvgIcon>
);
+2 -2
View File
@@ -4,9 +4,9 @@ import SvgIcon from "@mui/material/SvgIcon";
import { mdiEyeOutline } from "@mdi/js";
export const MdiEyeOutline = () => {
export const MdiEyeOutline = (props) => {
return (
<SvgIcon>
<SvgIcon {...props}>
<path d={mdiEyeOutline}></path>
</SvgIcon>
);
+12
View File
@@ -0,0 +1,12 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFastForward } from "@mdi/js";
export const MdiFastForward = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFastForward}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFilmstrip } from "@mdi/js";
export const MdiFilmstrip = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFilmstrip}></path>
</SvgIcon>
);
};
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFilmstripBoxMultiple } from "@mdi/js";
export const MdiFilmstripBoxMultiple = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFilmstripBoxMultiple}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFilterOutline } from "@mdi/js";
export const MdiFilterOutline = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFilterOutline}></path>
</SvgIcon>
);
};
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFolderMultiple } from "@mdi/js";
export const MdiFolderMultiple = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFolderMultiple}></path>
</SvgIcon>
);
};
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFolderMusicOutline } from "@mdi/js";
export const MdiFolderMusicOutline = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFolderMusicOutline}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFolderOutline } from "@mdi/js";
export const MdiFolderOutline = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFolderOutline}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFullscreen } from "@mdi/js";
export const MdiFullscreen = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFullscreen}></path>
</SvgIcon>
);
};
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiFullscreenExit } from "@mdi/js";
export const MdiFullscreenExit = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiFullscreenExit}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiHeart } from "@mdi/js";
export const MdiHeart = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiHeart}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiHeartOutline } from "@mdi/js";
export const MdiHeartOutline = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiHeartOutline}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiHomeVariant } from "@mdi/js";
export const MdiHomeVariant = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiHomeVariant}></path>
</SvgIcon>
);
};
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiHomeVariantOutline } from "@mdi/js";
export const MdiHomeVariantOutline = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiHomeVariantOutline}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiImage } from "@mdi/js";
export const MdiImage = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiImage}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiImageMultiple } from "@mdi/js";
export const MdiImageMultiple = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiImageMultiple}></path>
</SvgIcon>
);
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiInformation } from "@mdi/js";
export const MdiInformation = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiInformation}></path>
</SvgIcon>
);
};
Loaded 100 of 201 files, more files were not shown because too many files have changed in this diff. Show more