From: Calin Crisan Date: Thu, 24 Nov 2016 16:24:37 +0000 (+0200) Subject: forgot to add manifest.json to git X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=07385f099affd3c4fb49ca141ad7b8563b3aff5b;p=motioneye-debian forgot to add manifest.json to git --- diff --git a/.gitignore b/.gitignore index 26c0720..a41af75 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ .project .pydevproject *.conf -*.json .settings run dist diff --git a/extra/motioneye.conf.sample b/extra/motioneye.conf.sample index 3271e26..0ae7120 100644 --- a/extra/motioneye.conf.sample +++ b/extra/motioneye.conf.sample @@ -16,9 +16,6 @@ log_path /var/log # default output path for media files (must be writable by motionEye) media_path /var/lib/motioneye -# path to the motion binary to use (automatically detected if commented) -#motion_binary /usr/bin/motion - # the log level (use quiet, error, warning, info or debug) log_level info @@ -29,6 +26,9 @@ listen 0.0.0.0 # the TCP port to listen on port 8765 +# path to the motion binary to use (automatically detected if commented) +#motion_binary /usr/bin/motion + # whether motion HTTP control interface listens on # localhost or on all interfaces motion_control_localhost true @@ -36,15 +36,15 @@ motion_control_localhost true # the TCP port that motion HTTP control interface listens on motion_control_port 7999 -# interval in seconds at which motionEye checks the SMB mounts -mount_check_interval 300 - # interval in seconds at which motionEye checks if motion is running motion_check_interval 10 # whether to restart the motion daemon when an error occurs while communicating with it motion_restart_on_errors false +# interval in seconds at which motionEye checks the SMB mounts +mount_check_interval 300 + # interval in seconds at which the janitor is called # to remove old pictures and movies cleanup_interval 43200 diff --git a/motioneye/settings.py b/motioneye/settings.py index 6265064..1531224 100644 --- a/motioneye/settings.py +++ b/motioneye/settings.py @@ -45,9 +45,6 @@ else: # default output path for media files (must be writable by motionEye) MEDIA_PATH = '/var/lib/motioneye' -# path to the motion binary to use (automatically detected by default) -MOTION_BINARY = None - # the log level (use FATAL, ERROR, WARNING, INFO or DEBUG) LOG_LEVEL = logging.INFO @@ -58,6 +55,9 @@ LISTEN = '0.0.0.0' # the TCP port to listen on PORT = 8765 +# path to the motion binary to use (automatically detected by default) +MOTION_BINARY = None + # whether motion HTTP control interface listens on # localhost or on all interfaces MOTION_CONTROL_LOCALHOST = True @@ -65,15 +65,15 @@ MOTION_CONTROL_LOCALHOST = True # the TCP port that motion HTTP control interface listens on MOTION_CONTROL_PORT = 7999 -# interval in seconds at which motionEye checks the SMB mounts -MOUNT_CHECK_INTERVAL = 300 - # interval in seconds at which motionEye checks if motion is running MOTION_CHECK_INTERVAL = 10 # whether to restart the motion daemon when an error occurs while communicating with it MOTION_RESTART_ON_ERRORS = False +# interval in seconds at which motionEye checks the SMB mounts +MOUNT_CHECK_INTERVAL = 300 + # interval in seconds at which the janitor is called # to remove old pictures and movies CLEANUP_INTERVAL = 43200 diff --git a/motioneye/templates/manifest.json b/motioneye/templates/manifest.json new file mode 100644 index 0000000..9de67f8 --- /dev/null +++ b/motioneye/templates/manifest.json @@ -0,0 +1,17 @@ +{ + "lang": "en-US", + "short_name": "motionEye", + "name": "motionEye", + "description": "A free video surveillance software.", + "version": "{{version}}", + "theme_color": "#414141", + "background_color": "#414141", + "icons": [ + {"src": "{{static_path}}img/launcher-icon-96.png", "sizes": "96x96", "type": "image/png"}, + {"src": "{{static_path}}img/launcher-icon-144.png", "sizes": "144x144", "type": "image/png"}, + {"src": "{{static_path}}img/launcher-icon-192.png", "sizes": "192x192", "type": "image/png"}, + {"src": "{{static_path}}img/launcher-icon-256.png", "sizes": "256x256", "type": "image/png"} + ], + "start_url": ".", + "display": "standalone" +}