From 2e85933956d03eeaafbeabb8d0d187d6bfce6e82 Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Wed, 16 Oct 2024 22:30:16 -0400 Subject: [PATCH] Replace Special episode number with "Special" by @photonconvergence --- components/tvshows/TVListDetails.bs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/tvshows/TVListDetails.bs b/components/tvshows/TVListDetails.bs index 986c73f25..67a5e5a1a 100644 --- a/components/tvshows/TVListDetails.bs +++ b/components/tvshows/TVListDetails.bs @@ -27,7 +27,9 @@ sub itemContentChanged() item.selectedVideoStreamId = itemData.MediaSources[0].id end if - if isValid(itemData.indexNumber) + if isValid(itemData.parentIndexNumber) and itemData.parentIndexNumber = 0 + indexNumber = `${tr("Special")} - ` + else if isValid(itemData.indexNumber) indexNumber = `${itemData.indexNumber}. ` if isValid(itemData.indexNumberEnd) indexNumber = `${itemData.indexNumber}-${itemData.indexNumberEnd}. `