Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

homarus config syntax, audio formats #18

Merged
merged 2 commits into from
Feb 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
crayfish_version_tag: 0.0.13
crayfish_version_tag: 0.0.14

crayfish_services:
- Gemini
Expand Down Expand Up @@ -117,10 +117,16 @@ crayfish_homarus_executable_config:
- video/mp4
- video/x-msvideo
- video/ogg
- audio/x-wav
- audio/mpeg
- audio/aac
default: video/mp4
mime_to_format:
valid:
- video/mp4_mp4
- video/x-msvideo_avi
- video/ogg_ogg
- video/ogg_ogg
- audio/x-wav_wav
- audio/mpeg_mp3
- audio/aac_m4a
default: mp4
7 changes: 5 additions & 2 deletions templates/Homarus.config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ homarus:
{% endfor %}
default: {{ crayfish_homarus_executable_config.mime_types.default }}
mime_to_format:
{% for type_to_format in crayfish_homarus_executable_config.mime_to_format %}
- {{ type_to_format }}
valid:
{% for format in crayfish_homarus_executable_config.mime_to_format.valid %}
- {{ format }}
{% endfor %}
default: {{ crayfish_homarus_executable_config.mime_to_format.default }}


fedora_resource:
base_url: {{ crayfish_houdini_fedora_base_url }}
Expand Down