chore: update version to 0.0.5-dev

This commit is contained in:
Prayag Prajapati committed 2024-03-17 16:57:05 +05:30
1 parent b0a32c67cc
commit bb89093c0d
3 files changed
+71 -69

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "jellyplayer", "name": "jellyplayer",
"private": true, "private": true,
"version": "0.0.4-dev", "version": "0.0.5-dev",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "jellyplayer" name = "jellyplayer"
version = "0.0.4-dev" version = "0.0.5-dev"
description = "A Modern Jellyfin Client" description = "A Modern Jellyfin Client"
authors = ["prayag17", "JellyPlayer contributors (https://github.com/prayag17/JellyPlayer/graphs/contributors)"] authors = ["prayag17", "JellyPlayer contributors (https://github.com/prayag17/JellyPlayer/graphs/contributors)"]
license = "GPL-3.0-only" license = "GPL-3.0-only"
+69 -67
View File
@@ -13,7 +13,7 @@ import {
import { relaunch } from "@tauri-apps/api/process"; import { relaunch } from "@tauri-apps/api/process";
import { import {
UpdateManifest, type UpdateManifest,
checkUpdate, checkUpdate,
installUpdate, installUpdate,
} from "@tauri-apps/api/updater"; } from "@tauri-apps/api/updater";
@@ -124,7 +124,7 @@ import {
getServer, getServer,
setDefaultServer, setDefaultServer,
} from "./utils/storage/servers"; } from "./utils/storage/servers";
import { UserStore, delUser, getUser } from "./utils/storage/user"; import { type UserStore, delUser, getUser } from "./utils/storage/user";
import { axiosClient, createApi, useApi } from "./utils/store/api"; import { axiosClient, createApi, useApi } from "./utils/store/api";
const handleAuthError = async () => { const handleAuthError = async () => {
@@ -449,72 +449,74 @@ function AppReady() {
{audioPlayerVisible && <AudioPlayer />} {audioPlayerVisible && <AudioPlayer />}
<ErrorBoundary FallbackComponent={ErrorNotice} key={location.key}> <ErrorBoundary FallbackComponent={ErrorNotice} key={location.key}>
<Routes location={location}> <Routes location={location}>
<Route path="/" element={<Navigate to={initialRoute} />} /> <Route key={location.key}>
<Route <Route path="/" element={<Navigate to={initialRoute} />} />
path="/error" <Route
element={ path="/error"
<Dialog element={
open <Dialog
onClose={handleRelaunch} open
aria-labelledby="alert-dialog-text" onClose={handleRelaunch}
aria-describedby="alert-dialog-desc" aria-labelledby="alert-dialog-text"
maxWidth="md" aria-describedby="alert-dialog-desc"
> maxWidth="md"
<DialogTitle id="alert-dialog-text"> >
Unable to reach server <DialogTitle id="alert-dialog-text">
</DialogTitle> Unable to reach server
<DialogContent> </DialogTitle>
<DialogContentText id="alert-dialog-desc"> <DialogContent>
Unable to connect to the jellyfin server. <DialogContentText id="alert-dialog-desc">
</DialogContentText> Unable to connect to the jellyfin server.
</DialogContent> </DialogContentText>
<DialogActions> </DialogContent>
<Button <DialogActions>
color="secondary" <Button
variant="contained" color="secondary"
onClick={() => navigate("/servers/list")} variant="contained"
> onClick={() => navigate("/servers/list")}
Change Server >
</Button> Change Server
<Button </Button>
variant="contained" <Button
color="primary" variant="contained"
onClick={handleRelaunch} color="primary"
> onClick={handleRelaunch}
Restart JellyPlayer >
</Button> Restart JellyPlayer
</DialogActions> </Button>
</Dialog> </DialogActions>
} </Dialog>
/> }
<Route path="/login/index" element={<LoginRoute />} /> />
<Route path="/login/index" element={<LoginRoute />} />
<Route path="/home" element={<Home />} /> <Route path="/home" element={<Home />} />
<Route path="/setup/server" element={<ServerSetup />} /> <Route path="/setup/server" element={<ServerSetup />} />
<Route path="/servers/list" element={<ServerList />} /> <Route path="/servers/list" element={<ServerList />} />
<Route <Route
path="/login/withImg/:userName/:userId/" path="/login/withImg/:userName/:userId/"
element={<LoginWithImage />} element={<LoginWithImage />}
/> />
<Route path="/login/users" element={<UserLogin />} /> <Route path="/login/users" element={<UserLogin />} />
<Route path="/login/manual" element={<UserLoginManual />} /> <Route path="/login/manual" element={<UserLoginManual />} />
<Route path="/library/:id" element={<LibraryView />} /> <Route path="/library/:id" element={<LibraryView />} />
<Route path="/item/:id" element={<ItemDetail />} /> <Route path="/item/:id" element={<ItemDetail />} />
<Route <Route
path="/musicalbum/:id" path="/musicalbum/:id"
element={<MusicAlbumTitlePage />} element={<MusicAlbumTitlePage />}
errorElement={<div>Error</div>} errorElement={<div>Error</div>}
/> />
<Route path="/artist/:id" element={<ArtistTitlePage />} /> <Route path="/artist/:id" element={<ArtistTitlePage />} />
<Route path="/boxset/:id" element={<BoxSetTitlePage />} /> <Route path="/boxset/:id" element={<BoxSetTitlePage />} />
<Route path="/episode/:id" element={<EpisodeTitlePage />} /> <Route path="/episode/:id" element={<EpisodeTitlePage />} />
<Route path="/person/:id" element={<PersonTitlePage />} /> <Route path="/person/:id" element={<PersonTitlePage />} />
<Route path="/playlist/:id" element={<PlaylistTitlePage />} /> <Route path="/playlist/:id" element={<PlaylistTitlePage />} />
<Route path="/series/:id" element={<SeriesTitlePage />} /> <Route path="/series/:id" element={<SeriesTitlePage />} />
<Route path="/search" element={<SearchPage />} /> <Route path="/search" element={<SearchPage />} />
<Route path="/favorite" element={<FavoritePage />} /> <Route path="/favorite" element={<FavoritePage />} />
<Route path="/about" element={<About />} /> <Route path="/about" element={<About />} />
<Route path="/player" element={<VideoPlayer />} /> <Route path="/player" element={<VideoPlayer />} />
</Route>
</Routes> </Routes>
</ErrorBoundary> </ErrorBoundary>
</div> </div>