MythTV  master
utilities.py
Go to the documentation of this file.
1 import sys
2 import os
3 import unicodedata
4 
5 def log(debug, txt):
6  if debug:
7  print txt
8 
9 class Lyrics:
10  def __init__(self):
11  self.artist = ""
12  self.album = ""
13  self.title = ""
14  self.filename = ""
15  self.lyrics = ""
16  self.source = ""
17  self.list = None
18  self.syncronized = False
19 
20 def deAccent(str):
21  return unicodedata.normalize('NFKD', unicode(str, 'utf-8'))
def log(debug, txt)
Definition: utilities.py:5
def deAccent(str)
Definition: utilities.py:20