newAM / monitorcontrol

Python monitor controls using DDC-CI.
https://newam.github.io/monitorcontrol/
MIT License
172 stars 26 forks source link

monitorcontrol.vcp' has no attribute 'get_vcps #364

Open thewh1teagle opened 3 weeks ago

thewh1teagle commented 3 weeks ago

Steps to Reproduce

./venv/bin/monitorcontrol --get-monitors
Traceback (most recent call last):
  File "/Volumes/Internal/cec-rs/examples/cec-example-cli/./monitorcontrol/venv/bin/monitorcontrol", line 8, in <module>
    sys.exit(main())
  File "/Volumes/Internal/cec-rs/examples/cec-example-cli/monitorcontrol/venv/lib/python3.9/site-packages/monitorcontrol/__main__.py", line 155, in main
    for monitor_index, monitor_obj in enumerate(get_monitors(), 0):
  File "/Volumes/Internal/cec-rs/examples/cec-example-cli/monitorcontrol/venv/lib/python3.9/site-packages/monitorcontrol/monitorcontrol.py", line 546, in get_monitors
    return [Monitor(v) for v in vcp.get_vcps()]
AttributeError: module 'monitorcontrol.vcp' has no attribute 'get_vcps'
newAM commented 3 weeks ago

A backend for MacOS doesn't exist yet. Happy to accept pull-requests!