aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/media-types.rst
diff options
context:
space:
mode:
authorWill Kahn-Greene <willg@bluesock.org>2012-04-20 22:10:21 -0400
committerWill Kahn-Greene <willg@bluesock.org>2012-04-20 22:10:21 -0400
commit7798f911ab31622efd6517585057c657454cebb0 (patch)
tree6d8d1eb2245c68eeeaf349d1990521fc2f952a71 /docs/source/media-types.rst
parentf646e2e11bebac8254d76101a134a7474fcd703e (diff)
downloadmediagoblin-7798f911ab31622efd6517585057c657454cebb0.tar.lz
mediagoblin-7798f911ab31622efd6517585057c657454cebb0.tar.xz
mediagoblin-7798f911ab31622efd6517585057c657454cebb0.zip
Documentation updates and fixes
* Nixed some of the mongodb references--pretty sure we're done with that. * Fixed some awkward language. * Fixed : :: stuff. Sphinx lets you do :: so you don't need the additional colon. * Turned a paragraph into a .. note:: section. That makes it easier to notice and read.
Diffstat (limited to 'docs/source/media-types.rst')
-rw-r--r--docs/source/media-types.rst30
1 files changed, 20 insertions, 10 deletions
diff --git a/docs/source/media-types.rst b/docs/source/media-types.rst
index 647f2b42..1cf7f30c 100644
--- a/docs/source/media-types.rst
+++ b/docs/source/media-types.rst
@@ -18,7 +18,8 @@ Enabling Media Types
====================
In the future, there will be all sorts of media types you can enable,
-but in the meanwhile there's only one additional media type: video.
+but in the meanwhile there are two additional media type: video and
+ascii art.
First, you should probably read ":doc:`configuration`" to make sure
you know how to modify the mediagoblin config file.
@@ -30,21 +31,27 @@ To enable video, first install gstreamer and the python-gstreamer
bindings (as well as whatever gstremaer extensions you want,
good/bad/ugly). On Debianoid systems::
- sudo apt-get install python-gst0.10 gstreamer0.10-plugins-{base,bad,good,ugly} gstreamer0.10-ffmpeg
+ sudo apt-get install python-gst0.10 gstreamer0.10-plugins-{base,bad,good,ugly} \
+ gstreamer0.10-ffmpeg
Next, modify (and possibly copy over from ``mediagoblin.ini``) your
-``mediagoblin_local.ini``. Uncomment this line in the ``[mediagoblin]``
-section::
+``mediagoblin_local.ini``. In the ``[mediagoblin]`` section, add
+``mediagoblin.media_types.video`` to the ``media_types`` list.
+
+For example, if your system supported image and video media types, then
+the list would look like this::
media_types = mediagoblin.media_types.image, mediagoblin.media_types.video
Now you should be able to submit videos, and mediagoblin should
transcode them.
-Note that you almost certainly want to separate Celery from the normal
-paste process or your users will probably find that their connections
-time out as the video transcodes. To set that up, check out the
-":doc:`production-deployments`" section of this manual.
+.. note::
+
+ You almost certainly want to separate Celery from the normal
+ paste process or your users will probably find that their connections
+ time out as the video transcodes. To set that up, check out the
+ ":doc:`production-deployments`" section of this manual.
Ascii art
@@ -58,8 +65,11 @@ library, which is necessary for creating thumbnails of ascii art::
Next, modify (and possibly copy over from ``mediagoblin.ini``) your
-``mediagoblin_local.ini``. Uncomment or add to the media_types line
-'mediagoblin.media_types.ascii' like so::
+``mediagoblin_local.ini``. In the ``[mediagoblin]`` section, add
+``mediagoblin.media_types.ascii`` to the ``media_types`` list.
+
+For example, if your system supported image and ascii art media types, then
+the list would look like this::
media_types = mediagoblin.media_types.image, mediagoblin.media_types.ascii