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