How to decode an IR from device
As @ChrisStratton syas:  questions about usage of consumer products are off-topic here. 

However I feel for you having had the same problem.

I have used universal remotes in the past. They often come with a huge list of TV's which can be selected using a preset code. Even if your TV is not on the list, I had one (can't remember the brand), where you could work your way through each and every one of the preset codes. You might take a weekend off because there were about 900+ codes in it. 

It might be simpler and cheaper to order a new remote.