Jun-11-2018, 10:48 PM
(This post was last modified: Jun-11-2018, 10:49 PM by hhanswurster.)
Hey Guys,
i want to get a value from my camera to write it to a log file. I am using gphoto2, thats the command and the output.
thanks for your help!
i want to get a value from my camera to write it to a log file. I am using gphoto2, thats the command and the output.
pi@raspberrypi:~ $ gphoto2 --get-config /main/capturesettings/shutterspeed Label: Shutter Speed Type: RADIO Current: 1/8 pi@raspberrypi:~ $i want "1/8" to be stored as "sspeed", so i can use it later in my logging.
call(["gphoto2","--get-config","/main/capturesettings/shutterspeed"])should be fine, but how to get the value 1/8 parsed ?
thanks for your help!