You cannot control the music player from a Pebble app running on the watch.
What others have done in the past (See peapod on github) is write a Pebble app that talks to an iOS companion app with appmessage. The iOS companion app controls the music player.