diff --git a/frigate/storage.py b/frigate/storage.py index c153b97f2..2511c2aa8 100644 --- a/frigate/storage.py +++ b/frigate/storage.py @@ -56,7 +56,7 @@ class StorageMaintainer(threading.Thread): bandwidth = 0 self.camera_storage_stats[camera]["bandwidth"] = bandwidth - logger.debug(f"{camera} has a bandwidth of {bandwidth} MB/hr.") + logger.debug(f"{camera} has a bandwidth of {bandwidth} MiB/hr.") def calculate_camera_usages(self) -> dict[str, dict]: """Calculate the storage usage of each camera.""" diff --git a/web/src/routes/Storage.jsx b/web/src/routes/Storage.jsx index dd7f969c7..71fde1668 100644 --- a/web/src/routes/Storage.jsx +++ b/web/src/routes/Storage.jsx @@ -26,9 +26,9 @@ export default function Storage() { const getUnitSize = (MB) => { if (isNaN(MB) || MB < 0) return 'Invalid number'; - if (MB < 1024) return `${MB} MB`; + if (MB < 1024) return `${MB} MiB`; - return `${(MB / 1024).toFixed(2)} GB`; + return `${(MB / 1024).toFixed(2)} GiB`; }; let storage_usage;