diff options
author | Jorge <mediagoblin@gybs.wa> | 2017-02-10 23:18:19 +0100 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2020-04-02 16:58:11 +1100 |
commit | 2b487fc16de2fc7c961f8df725c5ece0e5f56e3a (patch) | |
tree | f522d45e4d2369bd529dd42c5f75d6d5e91c3b03 /docs/source/siteadmin | |
parent | 853147339b318ea6e862eab1983653d0765bb433 (diff) | |
download | mediagoblin-2b487fc16de2fc7c961f8df725c5ece0e5f56e3a.tar.lz mediagoblin-2b487fc16de2fc7c961f8df725c5ece0e5f56e3a.tar.xz mediagoblin-2b487fc16de2fc7c961f8df725c5ece0e5f56e3a.zip |
Use audio icon when spectrogram fails. Add note to doc:media-types.
In addition to side-stepping spectrograms completely in Python 3 in 1038aea8,
this commit adds some fallbacks that will help with potential issues in Python 2.
Fixes Issue #5457
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
Author: Jorge <mediagoblin@gybs.waa>
Diffstat (limited to 'docs/source/siteadmin')
-rw-r--r-- | docs/source/siteadmin/media-types.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/source/siteadmin/media-types.rst b/docs/source/siteadmin/media-types.rst index e06739ec..57d967eb 100644 --- a/docs/source/siteadmin/media-types.rst +++ b/docs/source/siteadmin/media-types.rst @@ -133,10 +133,13 @@ To install these on Debianoid systems, run:: If you're running Python 2, install ``scikits.audiolab`` for the spectrograms:: - ./bin/pip install scikits.audiolab +.. code-block:: bash + + ./bin/pip install numpy==1.9.1 + ./bin/pip install scikits.audiolab==0.10.2 -Audio spectrograms are currently not available on Python 3, since scikits.audiolab -does not provide Python 3 support. +For Python 3 ``scikits.audiolab`` has no package yet. Instead of the cool +specrogram image a static icon is used until we found a replacement. (#5467) Add ``[[mediagoblin.media_types.audio]]`` under the ``[plugins]`` section in your ``mediagoblin.ini`` and restart MediaGoblin. |