Opened 17 years ago

Closed 17 years ago

#3193 closed patch (fixed)

cleanup cdrecord messages

Reported by: anonymous Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythmusic Version: 0.20
Severity: low Keywords:
Cc: Ticket locked: no

Description

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'

Attachments (1)

cdrecord.patch (1.6 KB) - added by david.asher@… 17 years ago.
message cleanup

Download all attachments as: .zip

Change History (2)

Changed 17 years ago by david.asher@…

Attachment: cdrecord.patch added

message cleanup

comment:1 Changed 17 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [13017]) Applied David's patch to tidyup MythMusic console output. Closes #3193.Made a few changes (VB_IMPORTANT -> GENERAL, comment out _extra_ timeout msgs). I eventually want to move this sort of thing into MythMediaMonitor so that plugins can share it, but for now, a quick patch is a good patch!

Note: See TracTickets for help on using tickets.