Skip to content

Commit

Permalink
Replace Special episode number with "Special" by @photonconvergence
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Oct 17, 2024
1 parent a724f15 commit 2e85933
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/tvshows/TVListDetails.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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}. `
Expand Down

0 comments on commit 2e85933

Please sign in to comment.