My PS3 is on its last legs - what modern device can I replace it with?

Needs to:

* Record TV (freeview)
* Bluray
* Stream services (netflix, amazon prime)
* Plex

I was waiting for the xbox one s because that was going to have a PVR but it was cancelled - so is there another device out there or am I building a HTPC or simply buying two devices (Bluray player plus media device).