IR transmition forTV is not recognized by the signal receiver

That code may or may not work for your TV.
When I made my remote control I added an IR receiver so I could learn commands from any remote control and repeat them with mine.