How do I use udev to find info about inserted video media (e.g. DVDs)
- by Daniel
I'm trying to port an application from using HAL to using pure udev. It is written in python and will use the gudev library, though I would love to see examples in any language. I'm able to get all attached video devices (such as cameras) via:
import gudev
client = gudev.Client(["video4linux"])
for device in client.get_devices():
print…