Skip to content

Commit

Permalink
Merge pull request #1726 from photonconvergence/specials
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Oct 17, 2024
2 parents dddbd41 + 2e85933 commit acc2276
Show file tree
Hide file tree
Showing 2 changed files with 8 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
5 changes: 5 additions & 0 deletions locale/en_US/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1321,5 +1321,10 @@
<translation>Use Show Image</translation>
<extracomment>User Setting - Setting option title</extracomment>
</message>
<message>
<source>Special</source>
<translation>Special</translation>
<extracomment>Special episode of a TV Show</extracomment>
</message>
</context>
</TS>

0 comments on commit acc2276

Please sign in to comment.