aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2020-04-02 17:18:39 +1100
committerBen Sturmfels <ben@sturm.com.au>2020-04-02 17:18:39 +1100
commit882cd7ea3e5c116d6c7d2584b66022382de612d2 (patch)
treeb6c0334bdb8004647ecc825fd9c2ea7871589410
parent2b487fc16de2fc7c961f8df725c5ece0e5f56e3a (diff)
downloadmediagoblin-882cd7ea3e5c116d6c7d2584b66022382de612d2.tar.lz
mediagoblin-882cd7ea3e5c116d6c7d2584b66022382de612d2.tar.xz
mediagoblin-882cd7ea3e5c116d6c7d2584b66022382de612d2.zip
Note possible future steps for Python 3 audio thumbnailing.
-rw-r--r--mediagoblin/media_types/audio/transcoders.py4
1 files changed, 4 insertions, 0 deletions
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.