pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

show season and ep on mobile by title

Pas d591bc9e 050c4cc3

+12
+12
src/pages/parts/player/PlayerPart.tsx
··· 1 1 import { ReactNode, useRef, useState } from "react"; 2 + import { useTranslation } from "react-i18next"; 2 3 3 4 import { BrandPill } from "@/components/layout/BrandPill"; 4 5 import { Player } from "@/components/player"; ··· 31 32 ); 32 33 const isLoading = usePlayerStore((s) => s.mediaPlaying.isLoading); 33 34 const { isHost, enabled } = useWatchPartyStore(); 35 + const { t } = useTranslation(); 36 + const meta = usePlayerStore((s) => s.meta); 34 37 35 38 const inControl = !enabled || isHost; 36 39 ··· 117 120 <Player.BackLink url={props.backUrl} /> 118 121 <span className="text mx-3 text-type-secondary">/</span> 119 122 <Player.Title /> 123 + 124 + {isMobile && meta?.type === "show" && ( 125 + <span className="text-type-secondary text-sm whitespace-nowrap flex-shrink-0"> 126 + {t("media.episodeDisplay", { 127 + season: meta?.season?.number, 128 + episode: meta?.episode?.number, 129 + })} 130 + </span> 131 + )} 120 132 121 133 <Player.InfoButton /> 122 134