MythTV  master
Functions | Variables
mbutils Namespace Reference

Functions

def log (debug, txt)
 
def convert_etree (etostr)
 
def search_releases (artist, album, limit)
 
def search_artists (artist, limit)
 
def get_artist (artistid)
 
def find_coverart (release)
 
def find_coverart_releasegroup (releaseGroup)
 
def find_disc (cddrive)
 
def buildVersion ()
 
def performSelfTest ()
 
def main ()
 

Variables

string __author__ = "Paul Harrison'"
 
string __title__ = "Music Brainz utilities"
 
string __description__ = "Various utilities using the musicbrainzngs python bindings to access the MB database"
 
string __version__ = "0.1"
 
bool debug = False
 

Function Documentation

◆ log()

def mbutils.log (   debug,
  txt 
)

◆ convert_etree()

def mbutils.convert_etree (   etostr)
lxml.etree.tostring is a bytes object in python3, and a str in python2.

Definition at line 45 of file mbutils.py.

Referenced by buildVersion(), find_coverart(), find_coverart_releasegroup(), find_disc(), get_artist(), search_artists(), and search_releases().

◆ search_releases()

def mbutils.search_releases (   artist,
  album,
  limit 
)

Definition at line 53 of file mbutils.py.

Referenced by main().

◆ search_artists()

def mbutils.search_artists (   artist,
  limit 
)

Definition at line 86 of file mbutils.py.

Referenced by main().

◆ get_artist()

def mbutils.get_artist (   artistid)

Definition at line 110 of file mbutils.py.

Referenced by main().

◆ find_coverart()

def mbutils.find_coverart (   release)

Definition at line 141 of file mbutils.py.

Referenced by main().

◆ find_coverart_releasegroup()

def mbutils.find_coverart_releasegroup (   releaseGroup)

Definition at line 174 of file mbutils.py.

Referenced by main().

◆ find_disc()

def mbutils.find_disc (   cddrive)

Definition at line 207 of file mbutils.py.

Referenced by main().

◆ buildVersion()

def mbutils.buildVersion ( )

Definition at line 282 of file mbutils.py.

Referenced by main().

◆ performSelfTest()

def mbutils.performSelfTest ( )

Definition at line 295 of file mbutils.py.

Referenced by main().

◆ main()

def mbutils.main ( )

Definition at line 313 of file mbutils.py.

Variable Documentation

◆ __author__

string mbutils.__author__ = "Paul Harrison'"
private

Definition at line 26 of file mbutils.py.

◆ __title__

string mbutils.__title__ = "Music Brainz utilities"
private

Definition at line 27 of file mbutils.py.

◆ __description__

string mbutils.__description__ = "Various utilities using the musicbrainzngs python bindings to access the MB database"
private

Definition at line 28 of file mbutils.py.

◆ __version__

string mbutils.__version__ = "0.1"
private

Definition at line 29 of file mbutils.py.

◆ debug

bool mbutils.debug = False

Definition at line 31 of file mbutils.py.