IR Receiver not working

Good day, I followed this tutorial and got it working.

https://www.circuitbasics.com/arduino-ir-remote-receiver-tutorial/

I use the remote of my LG TV and I am able to get the hex codes for my remote, the problem I am facing is my IR Receiver stop receiving when the tv is turned on, but when I turn it off and use the remote on the arduino the IR Receiver works again.

Your duplicate post in a completely inappropriate forum section has been deleted

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a timeout from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky “How to use this forum - please read.” post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.