I'm no Python buff, but white space is very important. In your pauseSong method, you've got an extra space on the second if-statement line. This will give the parser trouble.
and dont forget to set the pause=false after the second if.