Arudino IR remote Control

I need some help getting a remote control program for a mp3 player remote. The one it comes with doesn't work and also I tried loading the new library and using that code and still no results. Thank you

Sorry meant code not program, here is button layout for the IR receiver. S = 10, Middle = 9, -= ground pin 2

Sorry, I don't understand anything. You got a MP3 player with defunct IR control?