Ticket #6276 (closed task: fixed)
Opened 3 years ago
Last modified 3 years ago
MythTV shouldn't use cdrecord for drive info
| Reported by: | nigel | Owned by: | nigel |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - General | Version: | unknown |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
If a frontend starts up while a CD drive is busy burning a disc, it will hang for several minutes on:
2009-02-18 18:41:04.021 MonitorRegisterExtensions(0x100, gif,jpg,png) 2009-02-18 18:41:05.808 Failed to run 'cdrecord --scanbus -dev=ATA'
before the main menu is drawn.
Attachments
Change History
comment:1 Changed 3 years ago by Dibblah
- Owner changed from ijr to nigel
- Status changed from new to assigned
- Type changed from defect to task
comment:2 Changed 3 years ago by EnderTheThird
I can confirm this for r20065 on 64-bit Ubuntu 8.10 with VDPAU. Very annoying bug. I wasn't burning a disc when Myth was started though. Let me know if you need any additional information.
comment:3 Changed 3 years ago by eric.bosch@…
Same here...
Changed 3 years ago by Matthew Wire <devel@…>
- Attachment 00-6276-cdwriter.patch added
Add defaultCDWriter function to mythmediamonitor
Changed 3 years ago by Matthew Wire <devel@…>
- Attachment 00-6276-mythmusic-cddevices.patch added
Switch mythmusic to use mythmediamonitor by default to detect cd devices
Changed 3 years ago by Matthew Wire <devel@…>
- Attachment 00-6276-mythvideo-dvddevice.patch added
Switch mythvideo to use mythmediamonitor by default to detect cd/dvd devices
comment:4 Changed 3 years ago by Matthew Wire <devel@…>
Please try 00-6276-cdwriter.patch and 00-6276-mythmusic-cddevices.patch. The first adds a defaultCDWriter() function to mythmediamonitor, the second patch removes cdrecord device detection from mythmusic and changes it to use mythmediamonitor instead.
00-6276-mythvideo-dvddevice.patch just changes mythvideo to use mythmediamonitor by default for device detection and is not required to fix this bug but makes things consistent between plugin configurations
comment:5 Changed 3 years ago by nigel
comment:6 Changed 3 years ago by nigel
Changed 3 years ago by Matthew Wire <devel@…>
- Attachment 00-6276-mythmusic-cddevices.2.patch added
Refresh against 20301. Includes in playlist.cpp had been rearranged
comment:7 Changed 3 years ago by nigel
- Status changed from assigned to closed
- Resolution set to fixed
comment:8 Changed 3 years ago by nigel
- Status changed from closed to new
- Resolution fixed deleted
I should apply this to 0.21-fixes also.
comment:9 Changed 3 years ago by nigel
comment:10 Changed 3 years ago by nigel
comment:11 Changed 3 years ago by nigel
- Status changed from new to closed
- Resolution set to fixed
OK, most uses of cdrecord are now removed from trunk and 21-fixes. MythMusic still uses it to blank and burn CDs, but that is mostly harmless.
