Motion control to trigger ir remote

I'm wanting to create an infrared remote that will trigger a DVD player to play a track for a predetermined time then stop the DVD after a time interval. The play and stop cycle will be triggered by a motion detector.

oops sorry wrong post, here: http://dduino.blogspot.com/ its my blog and it has pretty much all the info you will need to use IR with the arduino in a few posts. mainly, i think; http://dduino.blogspot.com/2011/11/use-sonar-to-control-tv.html http://dduino.blogspot.com/2011/11/improved-ir-code-reciever.html http://dduino.blogspot.com/2012/01/ir-tv-remote-controlled-arduino-robot.html

i also have info about the parallax PIR sensor there for motion sensing.