Skip to content

Commit

Permalink
Add channel number to Live TV channel title
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Cresswell committed Oct 27, 2024
1 parent 9cc9efe commit db8485c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/data/ChannelData.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json
m.top.id = json.id
m.top.title = json.name
if json.number <> ""
m.top.title = json.number + " " + json.name
else
m.top.title = json.name
end if
m.top.live = true
m.top.Type = "TvChannel"
setPoster()
Expand Down

0 comments on commit db8485c

Please sign in to comment.