Traditional televisions cannot get computer viruses because they run proprietary, closed operating systems without open ports.
However, smart TVs (internet-connected) can be vulnerable to:
These threats exploit connectivity, not traditional malware. To protect your smart TV: