Adding videos on my laptop to XBM in apple tv 2

Can some one tell me in detail all the steps to take to how to get videos in my laptop to be seen in xbmc apple tv 2 wireless. I tried diifernt ways but not able to get it.