MythTV  master
Classes | Functions | Variables
ttplayer Namespace Reference

Classes

class  LyricsFetcher
 
class  ttpClient
 

Functions

def performSelfTest ()
 
def buildLyrics (lyrics)
 
def buildVersion ()
 
def main ()
 

Variables

string __author__ = "Paul Harrison and 'taxigps'"
 
string __title__ = "TTPlayer"
 
string __description__ = "Search http://lrcct2.ttplayer.com for lyrics"
 
string __priority__ = "110"
 
string __version__ = "0.1"
 
bool __syncronized__ = True
 
bool debug = False
 
list LYRIC_TITLE_STRIP
 
list LYRIC_TITLE_REPLACE = [("/", "-"),(" & ", " and ")]
 
list LYRIC_ARTIST_REPLACE = [("/", "-"),(" & ", " and ")]
 

Function Documentation

◆ performSelfTest()

def ttplayer.performSelfTest ( )

Definition at line 207 of file ttplayer.py.

Referenced by main().

◆ buildLyrics()

def ttplayer.buildLyrics (   lyrics)

Definition at line 227 of file ttplayer.py.

Referenced by main(), and performSelfTest().

◆ buildVersion()

def ttplayer.buildVersion ( )

Definition at line 244 of file ttplayer.py.

Referenced by main().

◆ main()

def ttplayer.main ( )

Definition at line 260 of file ttplayer.py.

Variable Documentation

◆ __author__

string ttplayer.__author__ = "Paul Harrison and 'taxigps'"
private

Definition at line 24 of file ttplayer.py.

◆ __title__

string ttplayer.__title__ = "TTPlayer"
private

Definition at line 25 of file ttplayer.py.

◆ __description__

string ttplayer.__description__ = "Search http://lrcct2.ttplayer.com for lyrics"
private

Definition at line 26 of file ttplayer.py.

◆ __priority__

string ttplayer.__priority__ = "110"
private

Definition at line 27 of file ttplayer.py.

◆ __version__

string ttplayer.__version__ = "0.1"
private

Definition at line 28 of file ttplayer.py.

◆ __syncronized__

bool ttplayer.__syncronized__ = True
private

Definition at line 29 of file ttplayer.py.

◆ debug

bool ttplayer.debug = False

Definition at line 31 of file ttplayer.py.

◆ LYRIC_TITLE_STRIP

list ttplayer.LYRIC_TITLE_STRIP
Initial value:
1 = ["\(live[^\)]*\)", "\(acoustic[^\)]*\)",
2  "\([^\)]*mix\)", "\([^\)]*version\)",
3  "\([^\)]*edit\)", "\(feat[^\)]*\)"]

Definition at line 35 of file ttplayer.py.

◆ LYRIC_TITLE_REPLACE

list ttplayer.LYRIC_TITLE_REPLACE = [("/", "-"),(" & ", " and ")]

Definition at line 38 of file ttplayer.py.

◆ LYRIC_ARTIST_REPLACE

list ttplayer.LYRIC_ARTIST_REPLACE = [("/", "-"),(" & ", " and ")]

Definition at line 39 of file ttplayer.py.