icidasset / diffuse

A music player that connects to your cloud/distributed storage.
https://diffuse.sh
Other
809 stars 66 forks source link

Consider ffprobe as 2nd fallback for metadata processing #411

Closed icidasset closed 6 months ago

icidasset commented 6 months ago

The first fallback, mediainfo.js, has character encoding issues so we have to look at some alternatives. ffprobe is another option that can be loaded through wasm.

https://wasmer.io/wasmer/ffmpeg Usage example: https://wasmer.io/posts/introducing-the-wasmer-js-sdk

icidasset commented 6 months ago

https://github.com/taglib/taglib is another library, but I don't think there's any wasm packages for it yet.

icidasset commented 6 months ago

Hmm, requires setting the Cross-origin isolation headers, closing for now.