[mythtv-commits] Ticket #3660: MythTV.py does not allow customized database name

MythTV mythtv at cvs.mythtv.org
Sat Jun 23 23:20:31 UTC 2007


#3660: MythTV.py does not allow customized database name
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  awithers
     Type:  defect     |      Status:  new     
 Priority:  minor      |   Milestone:  unknown 
Component:  mythvideo  |     Version:  head    
 Severity:  medium     |     Mlocked:  0       
-----------------------+----------------------------------------------------
 From
 http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythvideo/mythvideo/scripts/MythTV.py
 (so in trunk):

 self.db = MySQLdb.connect(user=db_user, host=db_host, passwd=db_password,
 db="mythconverg")

 Username, hostname and password are read from mysql.txt, but the database
 name is not. My database isn't called mythconverg, so this doesn't work.

 Patch attached.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3660>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list