mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Front: Prettier
This commit is contained in:
parent
37acfa1eec
commit
aea6253094
@ -45,23 +45,23 @@ export const VideoP = z.object({
|
||||
* The Quality of the Video
|
||||
* E.g. "1080p" (TODO: FIND ACTUAL ENUM)
|
||||
*/
|
||||
quality: z.string(),
|
||||
quality: z.string(),
|
||||
/**
|
||||
* The Width of the Video Frame
|
||||
* E.g. 1424
|
||||
*/
|
||||
width: z.number(),
|
||||
width: z.number(),
|
||||
/**
|
||||
* The Height of the Video Frame
|
||||
* E.g. 1072
|
||||
*/
|
||||
height: z.number(),
|
||||
height: z.number(),
|
||||
/**
|
||||
* The Bitrate (in bits/seconds) of the video track
|
||||
* E.g. 2693245
|
||||
*/
|
||||
bitrate: z.number()
|
||||
})
|
||||
bitrate: z.number(),
|
||||
});
|
||||
|
||||
export type Video = z.infer<typeof VideoP>;
|
||||
|
||||
|
@ -58,7 +58,7 @@ const MediaInfoTable = ({
|
||||
const table = (
|
||||
[
|
||||
{
|
||||
[t("mediainfo.file")]: path?.replace(/^\/video\//, ''),
|
||||
[t("mediainfo.file")]: path?.replace(/^\/video\//, ""),
|
||||
[t("mediainfo.container")]: container,
|
||||
},
|
||||
{
|
||||
|
@ -257,7 +257,8 @@ export const TitleLine = ({
|
||||
<IconButton
|
||||
icon={Info}
|
||||
onPress={() =>
|
||||
slug && setPopup(
|
||||
slug &&
|
||||
setPopup(
|
||||
<MediaInfoPopup
|
||||
mediaType={type}
|
||||
mediaSlug={slug}
|
||||
|
Loading…
x
Reference in New Issue
Block a user