From 95596b39fd1623bace3176491c94a74081c0b6f1 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Fri, 13 Jan 2023 10:18:15 -0300 Subject: [PATCH] Capitalize the Frigate word (#5044) --- docs/docs/configuration/advanced.md | 2 +- docs/docs/configuration/detectors.md | 2 +- docs/docs/configuration/ffmpeg_presets.md | 4 ++-- docs/docs/configuration/index.md | 4 ++-- docs/docs/configuration/live.md | 6 +++--- docs/docs/configuration/masks.md | 2 +- docs/docs/configuration/record.md | 4 ++-- docs/docs/configuration/restream.md | 2 +- docs/docs/development/contributing.md | 4 ++-- docs/docs/frigate/hardware.md | 2 +- docs/docs/frigate/installation.md | 4 ++-- docs/docs/guides/false_positives.md | 2 +- docs/docs/guides/getting_started.md | 2 +- docs/docs/guides/ha_notifications.md | 2 +- docs/docs/integrations/api.md | 8 ++++---- docs/docs/integrations/home-assistant.md | 2 +- docs/docs/integrations/mqtt.md | 8 ++++---- docs/docs/troubleshooting/faqs.md | 4 ++-- frigate/comms/dispatcher.py | 4 ++-- frigate/http.py | 6 +++--- frigate/output.py | 4 ++-- frigate/watchdog.py | 2 +- web/src/routes/System.jsx | 2 +- 23 files changed, 41 insertions(+), 41 deletions(-) diff --git a/docs/docs/configuration/advanced.md b/docs/docs/configuration/advanced.md index 1472fa222..7cedfce3c 100644 --- a/docs/docs/configuration/advanced.md +++ b/docs/docs/configuration/advanced.md @@ -105,6 +105,6 @@ To do this: 1. Download your ffmpeg build and uncompress to a folder on the host (let's use `/home/appdata/frigate/custom-ffmpeg` for this example). 2. Update your docker-compose or docker CLI to include `'/home/appdata/frigate/custom-ffmpeg':'/usr/lib/btbn-ffmpeg':'ro'` in the volume mappings. -3. Restart frigate and the custom version will be used if the mapping was done correctly. +3. Restart Frigate and the custom version will be used if the mapping was done correctly. NOTE: The folder that is mapped from the host needs to be the folder that contains `/bin`. So if the full structure is `/home/appdata/frigate/custom-ffmpeg/bin/ffmpeg` then `/home/appdata/frigate/custom-ffmpeg` needs to be mapped to `/usr/lib/btbn-ffmpeg`. diff --git a/docs/docs/configuration/detectors.md b/docs/docs/configuration/detectors.md index c8e1cc508..69e4869ea 100644 --- a/docs/docs/configuration/detectors.md +++ b/docs/docs/configuration/detectors.md @@ -184,7 +184,7 @@ chmod +x tensorrt_models.sh docker run --gpus=all --rm -it -v `pwd`/trt-models:/tensorrt_models -v `pwd`/tensorrt_models.sh:/tensorrt_models.sh nvcr.io/nvidia/tensorrt:22.07-py3 /tensorrt_models.sh ``` -The `trt-models` folder can then be mapped into your frigate container as `trt-models` and the models referenced from the config. +The `trt-models` folder can then be mapped into your Frigate container as `trt-models` and the models referenced from the config. If your GPU does not support FP16 operations, you can pass the environment variable `-e USE_FP16=False` to the `docker run` command to disable it. diff --git a/docs/docs/configuration/ffmpeg_presets.md b/docs/docs/configuration/ffmpeg_presets.md index 10c86036b..bde76b9b4 100644 --- a/docs/docs/configuration/ffmpeg_presets.md +++ b/docs/docs/configuration/ffmpeg_presets.md @@ -7,7 +7,7 @@ Some presets of FFmpeg args are provided by default to make the configuration ea ### Hwaccel Presets -It is highly recommended to use hwaccel presets in the config. These presets not only replace the longer args, but they also give frigate hints of what hardware is available and allows frigate to make other optimizations using the GPU such as when encoding the birdseye restream or when scaling a stream that has a size different than the native stream size. +It is highly recommended to use hwaccel presets in the config. These presets not only replace the longer args, but they also give Frigate hints of what hardware is available and allows Frigate to make other optimizations using the GPU such as when encoding the birdseye restream or when scaling a stream that has a size different than the native stream size. See [the hwaccel docs](/configuration/hardware_acceleration.md) for more info on how to setup hwaccel for your GPU / iGPU. @@ -26,7 +26,7 @@ See [the hwaccel docs](/configuration/hardware_acceleration.md) for more info on Input args presets help make the config more readable and handle use cases for different types of streams to ensure maximum compatibility. -See [the camera specific docs](/configuration/camera_specific.md) for more info on non-standard cameras and recommendations for using them in frigate. +See [the camera specific docs](/configuration/camera_specific.md) for more info on non-standard cameras and recommendations for using them in Frigate. | Preset | Usage | Other Notes | | ------------------------- | ----------------------- | --------------------------------------------------- | diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index 0c46c4028..d9ac292ee 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -27,7 +27,7 @@ cameras: ### VSCode Configuration Schema -VSCode (and VSCode addon) supports the JSON schemas which will automatically validate the config. This can be added by adding `# yaml-language-server: $schema=http://frigate_host:5000/api/config/schema.json` to the top of the config file. `frigate_host` being the IP address of frigate or `ccab4aaf-frigate` if running in the addon. +VSCode (and VSCode addon) supports the JSON schemas which will automatically validate the config. This can be added by adding `# yaml-language-server: $schema=http://frigate_host:5000/api/config/schema.json` to the top of the config file. `frigate_host` being the IP address of Frigate or `ccab4aaf-frigate` if running in the addon. ### Full configuration reference: @@ -171,7 +171,7 @@ detect: # Optional: enables detection for the camera (default: True) # This value can be set via MQTT and will be updated in startup based on retained value enabled: True - # Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate) + # Optional: Number of frames without a detection before Frigate considers an object to be gone. (default: 5x the frame rate) max_disappeared: 25 # Optional: Configuration for stationary object tracking stationary: diff --git a/docs/docs/configuration/live.md b/docs/docs/configuration/live.md index 5442836c1..42c326439 100644 --- a/docs/docs/configuration/live.md +++ b/docs/docs/configuration/live.md @@ -20,7 +20,7 @@ Live view options can be selected while viewing the live stream. The options are webRTC works by creating a websocket connection on extra ports. One of the following is required for webRTC to work: * Frigate is run with `network_mode: host` to support automatic UDP port pass through locally and remotely. See https://github.com/AlexxIT/go2rtc#module-webrtc for more details * Frigate is run with `network_mode: bridge` and has: - * Router setup to forward port `8555` to port `8555` on the frigate device. + * Router setup to forward port `8555` to port `8555` on the Frigate device. * For local webRTC, you will need to create your own go2rtc config: ```yaml @@ -30,11 +30,11 @@ log: webrtc: listen: ":8555" candidates: - - :8555 # <--- enter frigate host IP here + - :8555 # <--- enter Frigate host IP here - stun:8555 ``` -and pass that config to frigate via docker or `frigate-go2rtc.yaml` for addon users: +and pass that config to Frigate via docker or `frigate-go2rtc.yaml` for addon users: See https://github.com/AlexxIT/go2rtc#module-webrtc for more details diff --git a/docs/docs/configuration/masks.md b/docs/docs/configuration/masks.md index 92eb9c89f..321b909cb 100644 --- a/docs/docs/configuration/masks.md +++ b/docs/docs/configuration/masks.md @@ -7,7 +7,7 @@ There are two types of masks available: **Motion masks**: Motion masks are used to prevent unwanted types of motion from triggering detection. Try watching the debug feed with `Motion Boxes` enabled to see what may be regularly detected as motion. For example, you want to mask out your timestamp, the sky, rooftops, etc. Keep in mind that this mask only prevents motion from being detected and does not prevent objects from being detected if object detection was started due to motion in unmasked areas. Motion is also used during object tracking to refine the object detection area in the next frame. Over masking will make it more difficult for objects to be tracked. To see this effect, create a mask, and then watch the video feed with `Motion Boxes` enabled again. -**Object filter masks**: Object filter masks are used to filter out false positives for a given object type based on location. These should be used to filter any areas where it is not possible for an object of that type to be. The bottom center of the detected object's bounding box is evaluated against the mask. If it is in a masked area, it is assumed to be a false positive. For example, you may want to mask out rooftops, walls, the sky, treetops for people. For cars, masking locations other than the street or your driveway will tell frigate that anything in your yard is a false positive. +**Object filter masks**: Object filter masks are used to filter out false positives for a given object type based on location. These should be used to filter any areas where it is not possible for an object of that type to be. The bottom center of the detected object's bounding box is evaluated against the mask. If it is in a masked area, it is assumed to be a false positive. For example, you may want to mask out rooftops, walls, the sky, treetops for people. For cars, masking locations other than the street or your driveway will tell Frigate that anything in your yard is a false positive. To create a poly mask: diff --git a/docs/docs/configuration/record.md b/docs/docs/configuration/record.md index 9db5ddd50..f22f37d02 100644 --- a/docs/docs/configuration/record.md +++ b/docs/docs/configuration/record.md @@ -39,9 +39,9 @@ Using Frigate UI, HomeAssistant, or MQTT, cameras can be automated to only recor Frigate saves from the stream with the `record` role in 10 second segments. These options determine which recording segments are kept for 24/7 recording (but can also affect events). -Let's say you have frigate configured so that your doorbell camera would retain the last **2** days of 24/7 recording. +Let's say you have Frigate configured so that your doorbell camera would retain the last **2** days of 24/7 recording. - With the `all` option all 48 hours of those two days would be kept and viewable. -- With the `motion` option the only parts of those 48 hours would be segments that frigate detected motion. This is the middle ground option that won't keep all 48 hours, but will likely keep all segments of interest along with the potential for some extra segments. +- With the `motion` option the only parts of those 48 hours would be segments that Frigate detected motion. This is the middle ground option that won't keep all 48 hours, but will likely keep all segments of interest along with the potential for some extra segments. - With the `active_objects` option the only segments that would be kept are those where there was a true positive object that was not considered stationary. The same options are available with events. Let's consider a scenario where you drive up and park in your driveway, go inside, then come back out 4 hours later. diff --git a/docs/docs/configuration/restream.md b/docs/docs/configuration/restream.md index f733596ac..2f4deb6f2 100644 --- a/docs/docs/configuration/restream.md +++ b/docs/docs/configuration/restream.md @@ -5,7 +5,7 @@ title: Restream ### RTSP -Frigate can restream your video feed as an RTSP feed for other applications such as Home Assistant to utilize it at `rtsp://:8554/`. Port 8554 must be open. [This allows you to use a video feed for detection in frigate and Home Assistant live view at the same time without having to make two separate connections to the camera](#reduce-connections-to-camera). The video feed is copied from the original video feed directly to avoid re-encoding. This feed does not include any annotation by Frigate. +Frigate can restream your video feed as an RTSP feed for other applications such as Home Assistant to utilize it at `rtsp://:8554/`. Port 8554 must be open. [This allows you to use a video feed for detection in Frigate and Home Assistant live view at the same time without having to make two separate connections to the camera](#reduce-connections-to-camera). The video feed is copied from the original video feed directly to avoid re-encoding. This feed does not include any annotation by Frigate. #### Force Audio diff --git a/docs/docs/development/contributing.md b/docs/docs/development/contributing.md index 462177a3f..b77fca75c 100644 --- a/docs/docs/development/contributing.md +++ b/docs/docs/development/contributing.md @@ -42,7 +42,7 @@ Fork [blakeblackshear/frigate-hass-integration](https://github.com/blakeblackshe #### 1. Open the repo with Visual Studio Code -Upon opening, you should be prompted to open the project in a remote container. This will build a container on top of the base frigate container with all the development dependencies installed. This ensures everyone uses a consistent development environment without the need to install any dependencies on your host machine. +Upon opening, you should be prompted to open the project in a remote container. This will build a container on top of the base Frigate container with all the development dependencies installed. This ensures everyone uses a consistent development environment without the need to install any dependencies on your host machine. #### 2. Modify your local config file for testing @@ -75,7 +75,7 @@ These input args tell ffmpeg to read the mp4 file in an infinite loop. You can u Create and place these files in a `debug` folder in the root of the repo. This is also where recordings will be created if you enable them in your test config. Update your config from step 2 above to point at the right file. You can check the `docker-compose.yml` file in the repo to see how the volumes are mapped. -#### 4. Run frigate from the command line +#### 4. Run Frigate from the command line VSCode will start the docker compose file for you and open a terminal window connected to `frigate-dev`. diff --git a/docs/docs/frigate/hardware.md b/docs/docs/frigate/hardware.md index a91695454..bb6652899 100644 --- a/docs/docs/frigate/hardware.md +++ b/docs/docs/frigate/hardware.md @@ -29,7 +29,7 @@ My current favorite is the Minisforum GK41 because of the dual NICs that allow y | Minisforum GK41 (Amazon) | 9-10ms | USB | Dual gigabit NICs for easy isolated camera network. Easily handles several 1080p cameras. | | Beelink GK55 (Amazon) | 9-10ms | USB | Dual gigabit NICs for easy isolated camera network. Easily handles several 1080p cameras. | | Intel NUC (Amazon) | 8-10ms | USB | Overkill for most, but great performance. Can handle many cameras at 5fps depending on typical amounts of motion. Requires extra parts. | -| BMAX B2 Plus (Amazon) | 10-12ms | USB | Good balance of performance and cost. Also capable of running many other services at the same time as frigate. | +| BMAX B2 Plus (Amazon) | 10-12ms | USB | Good balance of performance and cost. Also capable of running many other services at the same time as Frigate. | | Atomic Pi (Amazon) | 16ms | USB | Good option for a dedicated low power board with a small number of cameras. Can leverage Intel QuickSync for stream decoding. | | Raspberry Pi 4 (64bit) (Amazon) | 10-15ms | USB | Can handle a small number of cameras. | diff --git a/docs/docs/frigate/installation.md b/docs/docs/frigate/installation.md index 55881c2d7..0eb63966c 100644 --- a/docs/docs/frigate/installation.md +++ b/docs/docs/frigate/installation.md @@ -23,7 +23,7 @@ Frigate uses the following locations for read/write operations in the container. - `/media/frigate/clips`: Used for snapshot storage. In the future, it will likely be renamed from `clips` to `snapshots`. The file structure here cannot be modified and isn't intended to be browsed or managed manually. - `/media/frigate/recordings`: Internal system storage for recording segments. The file structure here cannot be modified and isn't intended to be browsed or managed manually. -- `/media/frigate/frigate.db`: Default location for the sqlite database. You will also see several files alongside this file while frigate is running. If moving the database location (often needed when using a network drive at `/media/frigate`), it is recommended to mount a volume with docker at `/db` and change the storage location of the database to `/db/frigate.db` in the config file. +- `/media/frigate/frigate.db`: Default location for the sqlite database. You will also see several files alongside this file while Frigate is running. If moving the database location (often needed when using a network drive at `/media/frigate`), it is recommended to mount a volume with docker at `/db` and change the storage location of the database to `/db/frigate.db` in the config file. - `/tmp/cache`: Cache location for recording segments. Initial recordings are written here before being checked and converted to mp4 and moved to the recordings folder. - `/dev/shm`: It is not recommended to modify this directory or map it with docker. This is the location for raw decoded frames in shared memory and it's size is impacted by the `shm-size` calculations below. - `/config/config.yml`: Default location of the config file. @@ -76,7 +76,7 @@ database: Frigate utilizes shared memory to store frames during processing. The default `shm-size` provided by Docker is 64m. -The default shm-size of 64m is fine for setups with 2 or less 1080p cameras. If frigate is exiting with "Bus error" messages, it is likely because you have too many high resolution cameras and you need to specify a higher shm size. +The default shm-size of 64m is fine for setups with 2 or less 1080p cameras. If Frigate is exiting with "Bus error" messages, it is likely because you have too many high resolution cameras and you need to specify a higher shm size. You can calculate the necessary shm-size for each camera with the following formula using the resolution specified for detect: diff --git a/docs/docs/guides/false_positives.md b/docs/docs/guides/false_positives.md index 7e5d3c29f..84d67a3b0 100644 --- a/docs/docs/guides/false_positives.md +++ b/docs/docs/guides/false_positives.md @@ -20,4 +20,4 @@ For object filters in your configuration, any single detection below `min_score` | 5 | 0.88 | 0.7, 0.85, 0.95, 0.90, 0.88 | 0.88 | Yes | | 6 | 0.95 | 0.7, 0.85, 0.95, 0.90, 0.88, 0.95 | 0.89 | Yes | -In frame 2, the score is below the `min_score` value, so frigate ignores it and it becomes a 0.0. The computed score is the median of the score history (padding to at least 3 values), and only when that computed score crosses the `threshold` is the object marked as a true positive. That happens in frame 4 in the example. +In frame 2, the score is below the `min_score` value, so Frigate ignores it and it becomes a 0.0. The computed score is the median of the score history (padding to at least 3 values), and only when that computed score crosses the `threshold` is the object marked as a true positive. That happens in frame 4 in the example. diff --git a/docs/docs/guides/getting_started.md b/docs/docs/guides/getting_started.md index 660552001..aa105cf49 100644 --- a/docs/docs/guides/getting_started.md +++ b/docs/docs/guides/getting_started.md @@ -7,7 +7,7 @@ This guide walks through the steps to build a configuration file for Frigate. It ### Step 1: Configure the MQTT server (Optional) -Use of a functioning MQTT server is optional for frigate, but required for the home assistant integration. Start by adding the mqtt section at the top level in your config: +Use of a functioning MQTT server is optional for Frigate, but required for the home assistant integration. Start by adding the mqtt section at the top level in your config: If using mqtt: ```yaml diff --git a/docs/docs/guides/ha_notifications.md b/docs/docs/guides/ha_notifications.md index 2145e6e7c..a3e60b250 100644 --- a/docs/docs/guides/ha_notifications.md +++ b/docs/docs/guides/ha_notifications.md @@ -7,7 +7,7 @@ The best way to get started with notifications for Frigate is to use the [Bluepr It is generally recommended to trigger notifications based on the `frigate/events` mqtt topic. This provides the event_id needed to fetch [thumbnails/snapshots/clips](../integrations/home-assistant.md#notification-api) and other useful information to customize when and where you want to receive alerts. The data is published in the form of a change feed, which means you can reference the "previous state" of the object in the `before` section and the "current state" of the object in the `after` section. You can see an example [here](../integrations/mqtt.md#frigateevents). -Here is a simple example of a notification automation of events which will update the existing notification for each change. This means the image you see in the notification will update as frigate finds a "better" image. +Here is a simple example of a notification automation of events which will update the existing notification for each change. This means the image you see in the notification will update as Frigate finds a "better" image. ```yaml automation: diff --git a/docs/docs/integrations/api.md b/docs/docs/integrations/api.md index 138c9b156..51887b14b 100644 --- a/docs/docs/integrations/api.md +++ b/docs/docs/integrations/api.md @@ -26,7 +26,7 @@ You can access a higher resolution mjpeg stream by appending `h=height-in-pixels ### `GET /api//latest.jpg[?h=300]` -The most recent frame that frigate has finished processing. It is a full resolution image by default. +The most recent frame that Frigate has finished processing. It is a full resolution image by default. Accepts the following query string parameters: @@ -63,7 +63,7 @@ Sample response: "camera_fps": 5.0, /*************** * Number of times detection is run per second. This can be higher than - * your camera FPS because frigate often looks at the same frame multiple times + * your camera FPS because Frigate often looks at the same frame multiple times * or in multiple locations ***************/ "detection_fps": 1.5, @@ -76,11 +76,11 @@ Sample response: ***************/ "pid": 34, /*************** - * Frames per second being processed by frigate. + * Frames per second being processed by Frigate. ***************/ "process_fps": 5.1, /*************** - * Frames per second skip for processing by frigate. + * Frames per second skip for processing by Frigate. ***************/ "skipped_fps": 0.0 }, diff --git a/docs/docs/integrations/home-assistant.md b/docs/docs/integrations/home-assistant.md index 1be0e8d41..180f699b6 100644 --- a/docs/docs/integrations/home-assistant.md +++ b/docs/docs/integrations/home-assistant.md @@ -45,7 +45,7 @@ that card. ## Configuration -When configuring the integration, you will be asked for the `URL` of your frigate instance which is the URL you use to access Frigate in the browser. This may look like `http://:5000/`. If you are using HassOS with the addon, the URL should be one of the following depending on which addon version you are using. Note that if you are using the Proxy Addon, you do NOT point the integration at the proxy URL. Just enter the URL used to access frigate directly from your network. +When configuring the integration, you will be asked for the `URL` of your Frigate instance which is the URL you use to access Frigate in the browser. This may look like `http://:5000/`. If you are using HassOS with the addon, the URL should be one of the following depending on which addon version you are using. Note that if you are using the Proxy Addon, you do NOT point the integration at the proxy URL. Just enter the URL used to access Frigate directly from your network. | Addon Version | URL | | ------------------------------ | -------------------------------------- | diff --git a/docs/docs/integrations/mqtt.md b/docs/docs/integrations/mqtt.md index 30e8b2152..2a2195abd 100644 --- a/docs/docs/integrations/mqtt.md +++ b/docs/docs/integrations/mqtt.md @@ -8,12 +8,12 @@ These are the MQTT messages generated by Frigate. The default topic_prefix is `f ### `frigate/available` Designed to be used as an availability topic with Home Assistant. Possible message are: -"online": published when frigate is running (on startup) -"offline": published right before frigate stops +"online": published when Frigate is running (on startup) +"offline": published right before Frigate stops ### `frigate/restart` -Causes frigate to exit. Docker should be configured to automatically restart the container on exit. +Causes Frigate to exit. Docker should be configured to automatically restart the container on exit. ### `frigate//` @@ -34,7 +34,7 @@ The height and crop of snapshots can be configured in the config. ### `frigate/events` -Message published for each changed event. The first message is published when the tracked object is no longer marked as a false_positive. When frigate finds a better snapshot of the tracked object or when a zone change occurs, it will publish a message with the same id. When the event ends, a final message is published with `end_time` set. +Message published for each changed event. The first message is published when the tracked object is no longer marked as a false_positive. When Frigate finds a better snapshot of the tracked object or when a zone change occurs, it will publish a message with the same id. When the event ends, a final message is published with `end_time` set. ```json { diff --git a/docs/docs/troubleshooting/faqs.md b/docs/docs/troubleshooting/faqs.md index 39c7e910b..f41f85cda 100644 --- a/docs/docs/troubleshooting/faqs.md +++ b/docs/docs/troubleshooting/faqs.md @@ -9,7 +9,7 @@ This error message is due to a shm-size that is too small. Try updating your shm ### I am seeing a solid green image for my camera. -A solid green image means that frigate has not received any frames from ffmpeg. Check the logs to see why ffmpeg is exiting and adjust your ffmpeg args accordingly. +A solid green image means that Frigate has not received any frames from ffmpeg. Check the logs to see why ffmpeg is exiting and adjust your ffmpeg args accordingly. ### How can I get sound or audio in my recordings? {#audio-in-recordings} @@ -46,7 +46,7 @@ These messages in the logs are expected in certain situations. Frigate checks th ### "On connect called" -If you see repeated "On connect called" messages in your config, check for another instance of frigate. This happens when multiple frigate containers are trying to connect to mqtt with the same client_id. +If you see repeated "On connect called" messages in your config, check for another instance of Frigate. This happens when multiple Frigate containers are trying to connect to mqtt with the same client_id. ### Error: Database Is Locked diff --git a/frigate/comms/dispatcher.py b/frigate/comms/dispatcher.py index 1ba897ee2..aab011fe9 100644 --- a/frigate/comms/dispatcher.py +++ b/frigate/comms/dispatcher.py @@ -1,4 +1,4 @@ -"""Handle communication between frigate and other applications.""" +"""Handle communication between Frigate and other applications.""" import logging @@ -29,7 +29,7 @@ class Communicator(ABC): class Dispatcher: - """Handle communication between frigate and communicators.""" + """Handle communication between Frigate and communicators.""" def __init__( self, diff --git a/frigate/http.py b/frigate/http.py index c1638ebce..9b21053c5 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -747,7 +747,7 @@ def config_save(): jsonify( { "success": False, - "message": f"Could not write config file, be sure that frigate has write permission on the config file.", + "message": f"Could not write config file, be sure that Frigate has write permission on the config file.", } ), 400, @@ -756,8 +756,8 @@ def config_save(): try: restart_frigate() except Exception as e: - logging.error(f"Error restarting frigate: {e}") - return "Config successfully saved, unable to restart frigate", 200 + logging.error(f"Error restarting Frigate: {e}") + return "Config successfully saved, unable to restart Frigate", 200 return "Config successfully saved, restarting...", 200 diff --git a/frigate/output.py b/frigate/output.py index 6d2c7177b..414f06bdf 100644 --- a/frigate/output.py +++ b/frigate/output.py @@ -148,7 +148,7 @@ class BirdsEyeFrameManager: self.yuv_shape = (height * 3 // 2, width) self.frame = np.ndarray(self.yuv_shape, dtype=np.uint8) - # initialize the frame as black and with the frigate logo + # initialize the frame as black and with the Frigate logo self.blank_frame = np.zeros(self.yuv_shape, np.uint8) self.blank_frame[:] = 128 self.blank_frame[0 : self.frame_shape[0], 0 : self.frame_shape[1]] = 16 @@ -176,7 +176,7 @@ class BirdsEyeFrameManager: x_offset : x_offset + transparent_layer.shape[0], ] = transparent_layer else: - logger.warning("Unable to read frigate logo") + logger.warning("Unable to read Frigate logo") self.frame[:] = self.blank_frame diff --git a/frigate/watchdog.py b/frigate/watchdog.py index 96ba2e371..5df826f0e 100644 --- a/frigate/watchdog.py +++ b/frigate/watchdog.py @@ -36,7 +36,7 @@ class FrigateWatchdog(threading.Thread): detector.detect_process is not None and not detector.detect_process.is_alive() ): - logger.info("Detection appears to have stopped. Exiting frigate...") + logger.info("Detection appears to have stopped. Exiting Frigate...") restart_frigate() logger.info(f"Exiting watchdog...") diff --git a/web/src/routes/System.jsx b/web/src/routes/System.jsx index 33383b9ff..b60ceeb9a 100644 --- a/web/src/routes/System.jsx +++ b/web/src/routes/System.jsx @@ -180,7 +180,7 @@ export default function System() {
{gpu_usages[gpu]['gpu'] == -1 ? (
- There was an error getting usage stats. Either your GPU does not support this or frigate does + There was an error getting usage stats. Either your GPU does not support this or Frigate does not have proper access.
) : (