#632792 wmcdplay continuously polls CD device

Package:
wmcdplay
Source:
wmcdplay
Description:
CD player based on ascd designed for WindowMaker
Submitter:
J G Miller
Date:
2011-07-05 23:36:15 UTC
Severity:
normal
#632792#5
Date:
2011-07-05 23:34:24 UTC
From:
To:
It is to be expected that wmcdplay be used in the Windowmaker dock and left
continously running, ready for use when needed.

However, it is not to be expected that an audio disc is left in the CD device
used by wmcdplay.

wmcdplay continuously polls the specified CD device resulting in the dmesg
buffer completely filling up with the messages

[55486.034701] sr1: CDROM not ready.  Make sure there is a disc in the drive.
[55487.039945] sr1: CDROM not ready.  Make sure there is a disc in the drive.
[55488.047628] sr1: CDROM not ready.  Make sure there is a disc in the drive.
[55489.052398] sr1: CDROM not ready.  Make sure there is a disc in the drive.

Is there not a better way of wmcdplay knowing when a disc is inserted
and not to be continuously polling when there is no disc present?

Otherwise this application should not be recommended for "always on" use
in the Windowmaker dock and should only be started when intending to
play an audio CD and this should be mentioned in the accompanying
package documentation.