diff --git a/src/components/icons/mdiStar.jsx b/src/components/icons/mdiStar.jsx
new file mode 100644
index 0000000..d61aa57
--- /dev/null
+++ b/src/components/icons/mdiStar.jsx
@@ -0,0 +1,13 @@
+/** @format */
+
+import SvgIcon from "@mui/material/SvgIcon";
+
+import { mdiStar } from "@mdi/js";
+
+export const MdiStar = (props) => {
+ return (
+
+
+
+ );
+};
diff --git a/src/routes/home/index.jsx b/src/routes/home/index.jsx
index 261e9d9..1338a92 100644
--- a/src/routes/home/index.jsx
+++ b/src/routes/home/index.jsx
@@ -19,6 +19,7 @@ import Paper from "@mui/material/Paper";
import Typography from "@mui/material/Typography";
import Chip from "@mui/material/Chip";
import Divider from "@mui/material/Divider";
+import Stack from "@mui/material/Stack";
import { yellow } from "@mui/material/colors";
@@ -33,7 +34,7 @@ import { CardsSkeleton } from "../../components/skeleton/cards";
// Icons
import { MediaTypeIconCollection } from "../../components/utils/iconsCollection.jsx";
-import { MdiStarHalfFull } from "../../components/icons/mdiStarHalfFull";
+import { MdiStar } from "../../components/icons/mdiStar";
import { MdiPlayOutline } from "../../components/icons/mdiPlayOutline";
import { MdiChevronRight } from "../../components/icons/mdiChevronRight";
@@ -45,7 +46,7 @@ import { getTvShowsApi } from "@jellyfin/sdk/lib/utils/api/tv-shows-api";
import { useNavigate } from "react-router-dom";
-import { getRuntime } from "../../utils/date/time";
+import { endsAt, getRuntime } from "../../utils/date/time";
const Home = () => {
const authUser = useQuery({
@@ -325,15 +326,25 @@ const Home = () => {
>
)}
-
+ }
className="hero-carousel-info"
>
{
? item.ProductionYear
: "Unknown"}
-
{
: "Not Rated"
}
/>
-
{
>
{!!item.CommunityRating ? (
<>
- {
)}
-
-
- {getRuntime(
- item.RunTimeTicks,
- )}
-
-
+ {!!item.RunTimeTicks && (
+
+ {getRuntime(
+ item.RunTimeTicks,
+ )}
+
+ )}
+ {!!item.RunTimeTicks && (
+
+ {endsAt(
+ item.RunTimeTicks,
+ )}
+
+ )}
+
{
{!!item.data
.CommunityRating ? (
<>
-
+
{Math.round(
item
@@ -810,6 +815,14 @@ const ItemDetail = () => {
)}
)}
+ {!!item.data.RunTimeTicks && (
+
+ {endsAt(
+ item.data
+ .RunTimeTicks,
+ )}
+
+ )}