from PyQt4 import QtGui,QtCore
import re
from thread import start_new_thread
from traceback import print_exc
from misc import *
from clSettings import settings,mpdSettings
from clMonty import monty
from clPlugin import *
class ResetEvent(QtCore.QEvent):
song=None
def __init__(self, song=None):
QtCore.QEvent.__init__(self,QtCore.QEvent.User)
self.song=song
class AddHtmlEvent(QtCore.QEvent):
html=None
def __init__(self,html):
QtCore.QEvent.__init__(self,QtCore.QEvent.User)
self.html=html
LY_DEFAULT_ENGINE='http://www.google.com/search?q=lyrics+"$artist"+"$title"'
LY_DEFAULT_SITES='azlyrics.com
.*?
(.*?)
\n'\
'oldielyrics.com song_in_top2.*?
(.*?)