Thank you for this script! Can you tell us what version of winamp can work? I saw there (http://www.wine-reviews.net/applications/winamp-55-on-linux-with-wine.html) that Winamp 5.5 is fine.
By the way, I'm asking another question. I want to install Winamp on a iMac I just bought, and use PlayonMac (wich seems to be the best way for running winamp). You wrote à script for PlayOnLinux. Does your script work with PlayOnMac, and what is the way to make this work?