I don't necessarily expect a whole tutorial for creating a sound indicator entry here on askubuntu, but I've searched and searched, and I can't seem to find any documentation on creating a sound indicator. Preferably, I'd like to be able to do this in Python. Can someone point me in the right direction??
Documentation for integrating with the sound menu can be found here. Information on MPRIS is also useful if you want your application to integrate properly.
If you need help you can post to the ayatana-dev mailing list or #ayatana IRC on freenode.
Since you are looking for a python version, you might be interested in this implementation for exaile.
I'm hoping you mean to "plug into" the current sound indicator applet. if you are designing a media player (like rhythmbox or banshee) then you need to look at the following which is needed to display your media information in the sound indiactor.
http://en.wikipedia.org/wiki/Media_Player_Remote_Interfacing_Specification