mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Send blank hwaccel-error cache so logs will show when loading the stats page manually (#4912)
This commit is contained in:
parent
0a3295aa5c
commit
64ab6580dc
@ -861,7 +861,7 @@ def latest_frame(camera_name):
|
|||||||
@bp.route("/recordings/storage", methods=["GET"])
|
@bp.route("/recordings/storage", methods=["GET"])
|
||||||
def get_recordings_storage_usage():
|
def get_recordings_storage_usage():
|
||||||
recording_stats = stats_snapshot(
|
recording_stats = stats_snapshot(
|
||||||
current_app.frigate_config, current_app.stats_tracking
|
current_app.frigate_config, current_app.stats_tracking, []
|
||||||
)["service"]["storage"][RECORD_DIR]
|
)["service"]["storage"][RECORD_DIR]
|
||||||
total_mb = recording_stats["total"]
|
total_mb = recording_stats["total"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user