diff --git a/components/tvshows/details-list.brs b/components/tvshows/details-list.brs index 839b857c..6a0b7f05 100644 --- a/components/tvshows/details-list.brs +++ b/components/tvshows/details-list.brs @@ -6,7 +6,12 @@ end sub function itemContentChanged() as void item = m.top.itemContent itemData = item.json - m.top.findNode("title").text = itemData.indexNumber.toStr() + ". " + item.title + if itemData.indexNumber <> invalid then + indexNumber = itemData.indexNumber.toStr() + ". " + else + indexNumber = "" + end if + m.top.findNode("title").text = indexNumber + item.title m.top.findNode("poster").uri = item.posterURL m.top.findNode("overview").text = item.overview