Merge pull request #1669 from photonconvergence/multi-episode

Display ending episode number for multi-part TV episodes
This commit is contained in:
1hitsong 2024-01-29 20:36:00 -05:00 committed by GitHub
commit 94355bc551
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,10 @@ sub itemContentChanged()
end if
if isValid(itemData.indexNumber)
indexNumber = itemData.indexNumber.toStr() + ". "
indexNumber = `${itemData.indexNumber}. `
if isValid(itemData.indexNumberEnd)
indexNumber = `${itemData.indexNumber}-${itemData.indexNumberEnd}. `
end if
else
indexNumber = ""
end if