[mythtv] CD/DVD/Writer Detection and Idea

Aaron McCarthy mccarthy.aaron at gmail.com
Sat May 27 22:34:59 UTC 2006

On Sunday 28 May 2006 05:03, Matthew Wire wrote:
> > Please take a look at this code, especially my additions (this is the
> > first time I've used Qt and it's a while since I've used c++ so I've
> > probably done some silly things...).  If the code appears ok I'll write
> > patches for the rest of the plugins to use the detection code.

I have code for MythMusic that does just this.

> And this time with the attachments...
> I realised I'd missed part of the code so I've just created a new patch
> which combines cdwriters.diff and cd-capabilities.diff into one.
> One thing I don't like at the moment is the hardcoded list of drive
> speeds in the setup screen.

Nor did I, that was just what the original code did and laziness won on this 
one.  I never use anything but Auto, so there was no incentive to actually do 
it properly.  The current speed is available in /proc but to get the range of 
speeds support you will probably need to use ioctl's on the actual device.

Aaron McCarthy

More information about the mythtv-dev mailing list