chore(deps); update and migrate to latest node and cargo packages

This commit is contained in:
--remove-section committed 2026-10-20 17:53:01 +05:30
1 parent b8f544b483
commit 56ba65d23e
100 files changed
+7417 -8802

No files matched your search

@@ -109,7 +109,12 @@ const StatsForNerds = ({ playerRef }: StatsForNerdsProps) => {
marginBottom: "0.5em",
}}
>
<Typography variant="subtitle2" fontWeight="bold">
<Typography
variant="subtitle2"
sx={{
fontWeight: "bold",
}}
>
Stats for Nerds
</Typography>
<IconButton
@@ -136,8 +141,7 @@ const StatsForNerds = ({ playerRef }: StatsForNerdsProps) => {
<span>Video ID:</span> <span>{itemId}</span>
<span>Media Source ID:</span> <span>{mediaSourceId}</span>
<span>Play Session ID:</span> <span>{playsessionId}</span>
<span>Playback Method:</span>{" "}
<span>{mediaSource.playMethod}</span>
<span>Playback Method:</span> <span>{mediaSource.playMethod}</span>
<span>Container:</span> <span>{mediaSource.container}</span>
<span>Video Codec:</span> <span>{mediaSource.videoCodec}</span>
<span>Audio Codec:</span> <span>{mediaSource.audioCodec}</span>
@@ -1,4 +1,4 @@
import type { TrickplayInfo } from "@jellyfin/sdk/lib/generated-client";
import type { TrickplayInfoDto } from "@jellyfin/sdk/lib/generated-client";
import { Slider, Tooltip, Typography } from "@mui/material";
import type { Instance } from "@popperjs/core";
import React, {
@@ -143,7 +143,7 @@ const BubbleSlider = () => {
return false;
});
let trickplayResolution: TrickplayInfo | undefined;
let trickplayResolution: TrickplayInfoDto | undefined;
const trickplayResolutions = mediaSource.id
? itemTrickplay?.[mediaSource.id]
: null;
@@ -1,4 +1,4 @@
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
import { getSessionApi } from "@jellyfin/sdk/lib/utils/api/session-api";
import { IconButton, Slider, Typography } from "@mui/material";
import { WebviewWindow as appWindow } from "@tauri-apps/api/webviewWindow";
import { AnimatePresence, motion } from "motion/react";
@@ -156,7 +156,7 @@ const VideoPlayerControls = ({
throw Error("API is not available, cannot report playback stopped.");
}
// Report Jellyfin server: Playback has ended/stopped
getPlaystateApi(api).reportPlaybackStopped({
getSessionApi(api).reportPlaybackStopped({
playbackStopInfo: {
Failed: false,
ItemId: itemId,
@@ -219,11 +219,23 @@ const VideoPlayerControls = ({
</div>
<div className="video-player-osd-info">
<div>
<Typography variant="h4" fontWeight={500} mb={2}>
<Typography
variant="h4"
sx={{
fontWeight: 500,
mb: 2,
}}
>
{String(itemName)}
</Typography>
{episodeTitle && (
<Typography variant="h6" fontWeight={300} mt={1}>
<Typography
variant="h6"
sx={{
fontWeight: 300,
mt: 1,
}}
>
{String(episodeTitle)}
</Typography>
)}
@@ -145,7 +145,13 @@ const VideoPlayerSettingsMenu = ({
))}
</TextField>
<MenuItem onClick={toggleShowStatsForNerds}>
<Typography flexGrow={1}>Stats for Nerds</Typography>
<Typography
sx={{
flexGrow: 1,
}}
>
Stats for Nerds
</Typography>
<Switch checked={showStatsForNerds} />
</MenuItem>
</Popover>
@@ -158,8 +158,8 @@ const UpNextFlyout = () => {
</Typography>
<Typography
variant="body2"
color="text.secondary"
sx={{
color: "text.secondary",
mb: 2,
display: "-webkit-box",
WebkitLineClamp: 1,