Try ipython-based shell first, falling back to plain shell
[mediagoblin.git] / mediagoblin / config_spec.ini
index 866d799befaf9ee8145f0e3a9f4538ec37571f36..17df281975dac20883bc239ad513e589f9be591b 100644 (file)
@@ -60,6 +60,13 @@ push_urls = string_list(default=list())
 exif_visible = boolean(default=False)
 geolocation_map_visible = boolean(default=False)
 
+# Theming stuff
+theme_install_dir = string(default="%(here)s/user_dev/themes/")
+theme_web_path = string(default="/theme_static/")
+theme_linked_assets_dir = string(default="%(here)s/user_dev/theme_static/")
+theme = string()
+
+
 [storage:publicstore]
 storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
 base_dir = string(default="%(here)s/user_dev/media/public")
@@ -69,11 +76,41 @@ base_url = string(default="/mgoblin_media/")
 storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
 base_dir = string(default="%(here)s/user_dev/media/queue")
 
+[media:medium]
+# Dimensions used when creating media display images.
+max_width = integer(default=640)
+max_height = integer(default=640)
+
+[media:thumb]
+# Dimensions used when creating media thumbnails
+# This is unfortunately not implemented in the media
+# types yet. You can help!
+# TODO: Make plugins follow the media size settings
+max_width = integer(default=180)
+max_height = integer(default=180)
 
-# Should we keep the original file?
 [media_type:mediagoblin.media_types.video]
+# Should we keep the original file?
 keep_original = boolean(default=False)
 
+# 0 means autodetect, autodetect means number_of_CPUs - 1
+vp8_threads = integer(default=0)
+# Range: 0..10
+vp8_quality = integer(default=8)
+# Range: -0.1..1
+vorbis_quality = float(default=0.3)
+
+
+[media_type:mediagoblin.media_types.audio]
+keep_original = boolean(default=True)
+# vorbisenc qualiy
+quality = float(default=0.3)
+create_spectrogram = boolean(default=True)
+spectrogram_fft_size = integer(default=4096)
+
+
+[media_type:mediagoblin.media_types.ascii]
+thumbnail_font = string(default=None)
 
 [beaker.cache]
 type = string(default="file")