[PATCH] Optical disc tracks

David Zeuthen david at fubar.dk
Thu Jun 3 11:22:20 PDT 2004


Sorry for the lag.

On Tue, Jun 01, 2004 at 11:13:09PM +0200, Owen Fraser-Green wrote:
> Attached is a patch to detect CD/DVD tracks and add them as devices
> underneath the disc device. This seemed like a logical step given that a
> disk devices have their volumes as children.
> It's useful since it provides track position (useful for calculating
> CDDB/Musicbrainz IDs and the like) and track length (useful for CD
> players).
> What I felt a little shaky on though was what to give for
> info.capabilities (currently "track"), info.category (currently "track")
> and info.product (currently "Track", well, OK that one seems obvious
> enough at least).

To be totally honest, I'm not sure whether this patch is useful or
whether it would be considered bloat. I guess one thing we can all
agree on, and as Kay elequintly put it in another thread, is that we
want to be able to release HAL within a reasonable timeframe, e.g.
reach a version 1.0 for Linux within 6-12 months. So, I'm a bit
reluctant to merge this patch.


hal mailing list
hal at freedesktop.org

More information about the Hal mailing list