[mythtv-commits] Ticket #3193: cleanup cdrecord messages

MythTV mythtv at cvs.mythtv.org
Sun Mar 11 20:01:37 UTC 2007


#3193: cleanup cdrecord messages
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  patch      |      Status:  new    
 Priority:  trivial    |   Milestone:  unknown
Component:  mythmusic  |     Version:  0.20   
 Severity:  low        |  
-----------------------+----------------------------------------------------
 When MythMusic is looking for CD-Writers the following messages show up in
 my mythfrontend.log:

 {{{
 adding: ATA:1,0,0 -- DVD_RW ND-3520A
 2007-03-11 13:37:12.233 Failed to run 'cdrecord --scanbus'
 }}}

 This patch cleans this up a little.  The "adding:" line says who is adding
 it (and now uses the VERBOSE macro), and the "Failed to run" message will
 now say the real command which failed:

 {{{
 2007-03-11 15:46:23.750 MythMusic adding CD-Writer: ATA:1,0,0 -- DVD_RW
 ND-3520A
 2007-03-11 15:46:25.266 Killed 'cdrecord --scanbus -dev=ATAPI' after
 1509ms
 2007-03-11 15:46:25.267 Killed 'cdrecord --scanbus -dev=ATAPI' after
 1510ms
 2007-03-11 15:46:25.267 Failed to run 'cdrecord --scanbus -dev=ATAPI'
 }}}

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


More information about the mythtv-commits mailing list