my media server is my Mac Mini which is always on, but the library is stored on several external harddiscs. When I go to bed I make sure that the Apple TV is turned off first, then I hit the switch to power everything off (amp, TV, Apple TV, etc). After that I go and ready the computer for the night, meaning I eject all the externals and switch off the hub.
When I power on again I do the exact opposite, ergo switch on the externals, throw the switch to the entertainment hardware, and turn on what I want/need at the moment.
I do sometimes have trouble ejecting the discs and based on James’ entry I think that the Background Refresh might have been busy at the time and the hard shutdown didn’t tell Apple to unlock the discs it was working on. I guess that will not be happening again either, lol.
As said before I’ll keep you posted if it happens again.