SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
support wav files compression
eryx672a870875901d
diff --git a/weed/util/compression.go b/weed/util/compression.goindex c6c9423e20..6072df632c 100644--- a/weed/util/compression.go+++ b/weed/util/compression.go@@ -60,7 +60,7 @@ func UnGzipData(input []byte) ([]byte, error) {// imagesswitch ext {- case ".svg", ".bmp":+ case ".svg", ".bmp", ".wav":return true, true}if strings.HasPrefix(mtype, "image/") {@@ -87,6 +87,14 @@ func UnGzipData(input []byte) ([]byte, error) {if strings.HasSuffix(mtype, "script") {return true, true}++ }++ if strings.HasPrefix(mtype, "audio/") {+ switch strings.TrimPrefix(mtype, "audio/") {+ case "wave", "wav", "x-wav", "x-pn-wav":+ return true, true+ }}return false, false