From 1bcdf8c9e39c5ac4b08b5ff20159f7bc95287b79 Mon Sep 17 00:00:00 2001 From: Chloe Surett Date: Sat, 4 Oct 2025 05:35:58 -0400 Subject: [PATCH] Add Blu-ray discs to fuzzy file size type (#878) Signed-off-by: Chloe Surett Signed-off-by: ed Co-authored-by: ed --- copyparty/web/util.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/copyparty/web/util.js b/copyparty/web/util.js index 95043b4a..0f8d42da 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -1040,6 +1040,8 @@ function humansize_fuzzy(b) { if (b <= 1300000000) return "GD-ROM"; if (b <= 4700000000) return "DVD"; if (b <= 9400000000) return "DVD-DL"; + if (b <= 25025000000) return "BluRei"; + if (b <= 50050000000) return "BD-DL"; return "LTO"; } var humansize_fmts = ['0', '1', '2', '2c', '3', '3c', '4', '4c', '5', '5c', 'fuzzy'];