chore(deps); update and migrate to latest node and cargo packages
This commit is contained in:
100 files changed
+7417
-8802
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import type { Api } from "@jellyfin/sdk";
|
||||
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
|
||||
import { getLyricsApi } from "@jellyfin/sdk/lib/utils/api/lyrics-api";
|
||||
import { getLyricApi } from "@jellyfin/sdk/lib/utils/api/lyric-api";
|
||||
import { Typography } from "@mui/material";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import React, { useEffect, useRef, useState } from "react";
|
||||
@@ -22,7 +22,7 @@ const LyricsPanel = ({ item, api, currentTime }: LyricsPanelProps) => {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
const response = await getLyricsApi(api).getLyrics({
|
||||
const response = await getLyricApi(api).getLyrics({
|
||||
itemId: item?.Id,
|
||||
});
|
||||
return response.data;
|
||||
|
||||
@@ -50,13 +50,15 @@ const PlayerProgress = ({
|
||||
>
|
||||
<Typography
|
||||
variant="subtitle2"
|
||||
fontWeight={300}
|
||||
style={{
|
||||
opacity: 0.8,
|
||||
minWidth: "3.5em",
|
||||
textAlign: "right",
|
||||
fontVariantNumeric: "tabular-nums",
|
||||
}}
|
||||
sx={{
|
||||
fontWeight: 300,
|
||||
}}
|
||||
>
|
||||
{getRuntimeMusic(sliderValue)}
|
||||
</Typography>
|
||||
@@ -70,13 +72,15 @@ const PlayerProgress = ({
|
||||
/>
|
||||
<Typography
|
||||
variant="subtitle2"
|
||||
fontWeight={300}
|
||||
style={{
|
||||
opacity: 0.8,
|
||||
minWidth: "3.5em",
|
||||
textAlign: "left",
|
||||
fontVariantNumeric: "tabular-nums",
|
||||
}}
|
||||
sx={{
|
||||
fontWeight: 300,
|
||||
}}
|
||||
>
|
||||
{getRuntimeMusic(duration)}
|
||||
</Typography>
|
||||
|
||||
@@ -206,7 +206,12 @@ const QueuePanel = ({ queue, currentTrackIndex }: QueuePanelProps) => {
|
||||
px: 1,
|
||||
}}
|
||||
>
|
||||
<Typography variant="h6" fontWeight={700}>
|
||||
<Typography
|
||||
variant="h6"
|
||||
sx={{
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
Queue
|
||||
</Typography>
|
||||
<Box sx={{ display: "flex", gap: 1 }}>
|
||||
|
||||
Reference in new issue
Block a user