Fix audio thumbnailing once and for all.
authorBen Sturmfels <ben@sturm.com.au>
Wed, 1 Apr 2020 05:52:05 +0000 (16:52 +1100)
committerBen Sturmfels <ben@sturm.com.au>
Wed, 1 Apr 2020 05:52:05 +0000 (16:52 +1100)
commit1038aea822fdc8a84745bd44cc96ed97d66bbc28
tree4f684a61a72f9b5b612e864ee1e455f3651381eb
parentad3a0aea833a26735d1d2986f427e9f286dbac21
Fix audio thumbnailing once and for all.

This change adds a Python 3-specific audio thumbnailer that side-steps the
bundled Python 2-only `audioprocessing` module. Instead of an audio spectrogram,
Python 3 users will get a static image.

This also allows me to remove my ineffective customisations to
`audioprocessing`, returning it to the upstream version as should always be the
case for vendored code in "extlib".
extlib/freesound/audioprocessing.py
mediagoblin/media_types/audio/transcoders.py