Generation 1 Apple TV as a music server


I'm looking for a music server to add to my hi-fi system. Have previously considered the Mac mini(base model), but my budget cannot reach to that level.

As an alternative I'm considering the Apple TV gen 1, as I want to sync all my iTunes music files(AIFF) to its hard-drive, and use that as a hi-fi front end.

Any advice on this choice, or others would be appreciated.
soundmark1
So the only output from the Apple TV is from the Toslink port, not the USB port? I was hoping the ATV would connect directly, using its USB port, to my audio DAC's usb input.
The Apple TV (version 1) has a USB port. The current Apple TV (version 2) does not.
Does the Apple TV gen 1 have the "normal" size Toslink output port, or is it the mini-toslink port? Cheers in advanced.
The ATV 1 has a normal sized toslink (non-mini) output. USB won't output anything. Won't input anything either, unless you hack it.

The ATV 1 has analog, toslink, and HMDI outputs.

I don't own the ATV 2, so no comments from me.
can i stream music WIRELESSLY from my ipad or iphone?

Will this setup work? [Streaming music from ipad via wifi --> ATV 1gen --> DAC --> AMP]?