The number of people suggesting this shit as a replacement for streaming services is way too damn high.
The monetary cost of the hardware is insane if you want to have any sort of hardware to store your media. But the time investment to get something like this running is 10x more. And at the end of the day it’s all 100% illegal and liable to get you in tons of trouble.