For playing videos: An AppleTV4K with the Infuse app. Just point it to your network share and it builds a library and plays back pretty much anything. It’s also incredibly user friendly for roommates or family to use.
Apple strikes gold sometimes. I fucking love my Apple TV 4K, and the last apple product I liked was the iPod nano. I'm no fanboy. It's just such a nice slick device. I only wish it had a USB port, then it would be perfect.