Skip to content

Commit

Permalink
Update strmcam.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pageauc committed Mar 27, 2024
1 parent 6243e55 commit 2d0a98c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions strmcam.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def strmcam():
import subprocess
import logging

PROG_VER="13.08" # version of this module
PROG_VER="13.1" # version of this module
CAM_WARMUP_SEC = 3
# List of valid camera values in the config.py file
CAMLIST = ('usbcam', 'rtspcam', 'pilibcam', 'pilegcam')
Expand Down Expand Up @@ -99,7 +99,7 @@ def create_cam_thread(cam_name):
if not is_pi_legacy_cam():
if not os.path.exists('/usr/bin/libcamera-still'):
logging.error('libcamera not Installed')
logging.info('Edit configcam.py and Change CAMERA variable as Required.')
logging.info('Edit config.py and Change CAMERA variable as Required.')
sys.exit(1)
if not os.path.exists('strmpilibcam.py'):
logging.error("strmpilibcam.py File Not Found.")
Expand All @@ -116,7 +116,7 @@ def create_cam_thread(cam_name):

else:
logging.error('Looks like Pi Legacy Camera is Enabled')
logging.info('Edit configcam.py and Change CAMERA variable as Required.')
logging.info('Edit config.py and Change CAMERA variable as Required.')
logging.info('or Disable Legacy Pi Camera using command sudo raspi-config')
sys.exit(1)

Expand Down

0 comments on commit 2d0a98c

Please sign in to comment.