The-EG / OctoPrint-CameraSettings

An OctoPrint plugin that allows a user to interactively change camera settings.
GNU Affero General Public License v3.0
56 stars 7 forks source link

[BUG] MultiCam Support - Not listing all cameras with non-unique names #58

Open joshuacant opened 2 years ago

joshuacant commented 2 years ago

Observed behavior One camera listed.

Expected behavior Two cameras listed.

Thoughts Perhaps this is happening because I have two of the exact same camera installed?

octopi:~# v4l2-ctl --list-devices
HD Pro Webcam C920 (usb-0000:01:00.0-1.1):
        /dev/video0
        /dev/video1

HD Pro Webcam C920 (usb-0000:01:00.0-1.2):
        /dev/video2
        /dev/video3

OctoPrint Version 1.7.0

CameraSettings Plugin Version 0.3.0

Cameras 2x Logitech C920

Linux/OctoPi OctoPi 0.18.0

Other Plugins I do not use Spaghetti Detective or Octolapse. MultiCam and this plugin are the only two I have installed that are camera related. Happy to provide a full list if you would like.

Screenshots image1 image2

Thanks for your time on this issue and all your hard work on this plugin. It is a huge help and I was incredibly happy when I first found it.

The-EG commented 2 years ago

Perhaps this is happening because I have two of the exact same camera installed?

That's my initial thought as well. I'll have to take a better look at this to see if there's a robust way to handle 2 cameras of the exact same name.