Are you trying to have players hear music when they're connecting to your server? If so, why are you reinventing the wheel? This has already been done.
I'm doing this to learn...
and where has this been done?
[offtopic] is it ur daughter on the pic? [/offtopic]