fix(calendar): missing badge for sonarr series (#4150)

This commit is contained in:
Meier Lukas
2025-09-25 20:19:21 +02:00
committed by GitHub
parent aced8c77bb
commit b7d1d4ceef
2 changed files with 5 additions and 1 deletions

View File

@@ -47,6 +47,10 @@ export class SonarrIntegration extends Integration implements ICalendarIntegrati
? {
src: imageSrc,
aspectRatio: { width: 7, height: 12 },
badge: {
color: "red",
content: `S${event.seasonNumber}/E${event.episodeNumber}`,
},
}
: null,
location: null,

View File

@@ -69,7 +69,7 @@ const seriesRelease = (start: Date, end: Date): CalendarEvent => ({
src: "https://image.tmdb.org/t/p/original/sWgBv7LV2PRoQgkxwlibdGXKz1S.jpg",
aspectRatio: { width: 7, height: 12 },
badge: {
content: "S1:E1",
content: "S1/E1",
color: "red",
},
},