Using Ubuntu as a Media Server / NAS?

Just wondering if it's a good call, has anyone experience in this? With Ubuntu or a different distro.