How to create a TV app

I'm a beginner in TV development, I am just curious about what technologies I should use for developed a TV app that runs on Samsung Smart TV, Apple TV and other TV devices with consistent user experience - interface with smooth performance (Like - Apple TV+, Netflix).

what tech stack should I use for building the tv application?
How to create a TV app
 
 
Q