From 882cd7ea3e5c116d6c7d2584b66022382de612d2 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 2 Apr 2020 17:18:39 +1100 Subject: [PATCH] Note possible future steps for Python 3 audio thumbnailing. --- mediagoblin/media_types/audio/transcoders.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mediagoblin/media_types/audio/transcoders.py b/mediagoblin/media_types/audio/transcoders.py index f78cbf28..445ede51 100644 --- a/mediagoblin/media_types/audio/transcoders.py +++ b/mediagoblin/media_types/audio/transcoders.py @@ -121,6 +121,10 @@ class Python3AudioThumbnailer(Python2AudioThumbnailer): MediaGoblin. Until the feature is rewritten, this thumbnailer class simply provides a generic image. + TODO: Consider Python 3 compatible interfaces to libsndfile, such as + https://pypi.python.org/pypi/PySoundFile/0.9.0.post1 as discussed here + https://issues.mediagoblin.org/ticket/5467#comment:6 + """ def spectrogram(self, src, dst, **kw): # Using PIL here in case someone wants to swap out the image for a PNG. -- 2.25.1