Skip to content

One self-hosted app for your shows, movies and music.

202 B
Raw Blame
// Episode label like S01E02.
export function episodeCode(season: number, episode: number): string {
	const two = (n: number) => String(n).padStart(2, '0');
	return `S${two(season)}E${two(episode)}`;
}