Synology NAS for stored media.
Tvheadend (FreeBSD), connected to a networked h.264 encoder for Sky and six HDHomeRun tuners for live TV.
Kodi as the front end running a mix of CoreELEC, LibreELEC (Pi) and Windows (NUC).
Previously I used FreeBSD and ZFS for storage, until the RAID failed and I needed a quick replacement. I will probably move back to that platform for the next upgrade.