I’ve written a new article explaining how to record and watch TV on a Raspberry Pi. It is oriented for the UK but should work for other countries.
The set up, using OSMC/TVHeadend, is described in detail from scratch. I hope it does not duplicate existing resources too much.
The latest versions of OSMC/Kodi/TVH are used (at the time of writing). Also covers Flirc remote control setup, modifying OSMC font sizes, tuner setup, TVH optimization, power supply selection, recommended hardware, ongoing power consumption (6W!) and adding storage.
I hope somebody finds it useful, because it certainly took a lot of testing. I was looking for something to replace my ageing Topfield/MyStuff DVR. And, so far, the Pi/TVH/OSMC does make a good replacement.