feat(tv): add seriesName and seasonIndex to Episode data model

This commit is contained in:
2026-05-01 21:28:33 +02:00
parent e738e9637f
commit f304b1f1f5
14 changed files with 39 additions and 3 deletions

View File

@@ -105,7 +105,9 @@ class EpisodeScreenContentTest {
return Episode(
id = UUID.fromString("33333333-3333-3333-3333-333333333333"),
seriesId = seriesId,
seriesName = "Severance",
seasonId = seasonId,
seasonIndex = 2,
index = 4,
title = "The You You Are",
synopsis = "Mark is pulled deeper into Lumon's fractured world as the team chases a clue.",

View File

@@ -425,7 +425,9 @@ class TvHomeContentTest {
return Episode(
id = UUID.fromString(id),
seriesId = seriesId,
seriesName = "Firefly",
seasonId = seasonId,
seasonIndex = 1,
index = 1,
title = title,
synopsis = "A crew member takes the shuttle for a spin and makes a mess.",

View File

@@ -120,7 +120,9 @@ class SeriesScreenContentTest {
Episode(
id = UUID.fromString("44444444-4444-4444-4444-444444444444"),
seriesId = seriesId,
seriesName = "Severance",
seasonId = seasonId,
seasonIndex = 1,
index = 1,
title = "Good News About Hell",
synopsis = "Mark is promoted after an unexpected tragedy.",
@@ -136,7 +138,9 @@ class SeriesScreenContentTest {
Episode(
id = UUID.fromString("55555555-5555-5555-5555-555555555555"),
seriesId = seriesId,
seriesName = "Severance",
seasonId = seasonId,
seasonIndex = 1,
index = 2,
title = "Half Loop",
synopsis = "Mark takes the team out for a sanctioned dinner.",

View File

@@ -95,7 +95,9 @@ class TvFocusedItemHeroTest {
return Episode(
id = UUID.fromString("33333333-3333-3333-3333-333333333333"),
seriesId = UUID.fromString("44444444-4444-4444-4444-444444444444"),
seriesName = "Love, Death & Robots",
seasonId = UUID.fromString("55555555-5555-5555-5555-555555555555"),
seasonIndex = 3,
index = 3,
title = "The Very Pulse of the Machine",
synopsis = "An astronaut faces a strange world alone.",

View File

@@ -126,7 +126,9 @@ class TvHomeHeroStateTest {
episode = Episode(
id = UUID.fromString(id),
seriesId = UUID.fromString("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"),
seriesName = "Sample Series",
seasonId = UUID.fromString("bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"),
seasonIndex = 1,
index = 1,
title = "Next Episode",
synopsis = "Episode synopsis",