I have a home built PVR using myth tv, it shits all over and anything else you can buy commercially.
However, you need to know Linux to set it up. Or at least be willing to learn.
Mine has 1.5 TB of space and I have enough drive bays to build that up to 8 TB if the need arises. Now with...