Stuff like this is why I'm still holding on to my old TV for dear life. It's seen better days but it's at least easily repairable.
The amp went bad which causes the internal speakers to give up after a couple of minutes, so I just run it with a soundbar. Then one of the cats broke the optical port for it, so now it's taped on lol. The panel still works great, so I think I'll just replace the main board on it to keep it going for a few more years.
Once something on it finally goes where repairing it becomes unviable, then I've no idea where to go from there. I guess I'll just keep buying used TVs and fix them up.