-
-
- Client Version:
-
- {updateInfo.data?.shouldUpdate
- ? "update"
- : "update_disabled"}
-
- }
- label={
-
- {applicationVersion}
-
- }
- color={
- updateInfo.data?.shouldUpdate ? "error" : "success"
- }
- size="medium"
- style={{
- width: "fit-content !important",
- }}
- />
-
-
- Update Available:
-
- {updateInfo.isFetching
- ? "Checking for new updates..."
- : updateInfo.data?.shouldUpdate
- ? updateInfo.data.manifest?.version
- : "No update found."}
-
-
-
{
- if (updateInfo.data?.shouldUpdate) {
- setUpdating(true);
- await installUpdate();
- enqueueSnackbar(
- "Update has been installed! You need to relaunch JellyPlayer.",
- {
- variant: "success",
- },
- );
- await relaunch();
- }
- }}
- >
- {updateInfo.isFetching
- ? "Checking for Update..."
- : updateInfo.data?.shouldUpdate
- ? "Update"
- : "No Update Found"}
-
-
- {systemInfo.isSuccess ? (
-
-
- Server:
- {systemInfo.data?.ServerName}
-
-
- Jellyfin Version:
- {systemInfo.data?.Version}
-
-
- Operating System:
-
- {systemInfo.data?.OperatingSystemDisplayName}
-
-
-
- Server Architecture:
-
- {systemInfo.data?.SystemArchitecture}
-
-
-
- ) : (
-
- )}
-