apiVersion: v1
kind: ConfigMap
metadata:
  name: ganymede-conf
  namespace: default
data:
  config.json: |
    {
      "archive": {
        "save_as_hls": false
      },
      "debug": false,
      "live_check_interval_seconds": 300,
      "livestream": {
        "proxies": [
          {
            "header": "",
            "url": "https://eu.luminous.dev"
          },
          {
            "header": "x-donate-to:https://ttv.lol/donate",
            "url": "https://api.ttv.lol"
          }
        ],
        "proxy_enabled": false,
        "proxy_parameters": "%3Fplayer%3Dtwitchweb%26type%3Dany%26allow_source%3Dtrue%26allow_audio_only%3Dtrue%26allow_spectre%3Dfalse%26fast_bread%3Dtrue",
        "proxy_whitelist": [
          ""
        ]
      },
      "notifications": {
        "error_enabled": true,
        "error_template": "⚠️ Error: Queue ID {{queue_id}} for {{channel_display_name}} failed at task {{failed_task}}.",
        "error_webhook_url": "",
        "is_live_enabled": true,
        "is_live_template": "🔴 {{channel_display_name}} is live!",
        "is_live_webhook_url": "",
        "live_success_enabled": true,
        "live_success_template": "✅ Live Stream Archived: {{vod_title}} by {{channel_display_name}}.",
        "live_success_webhook_url": "",
        "video_success_enabled": true,
        "video_success_template": "✅ Video Archived: {{vod_title}} by {{channel_display_name}}.",
        "video_success_webhook_url": ""
      },
      "oauth_enabled": true,
      "parameters": {
        "chat_render": "-h 1440 -w 340 --framerate 30 --font Inter --font-size 13",
        "streamlink_live": "--twitch-low-latency,--twitch-disable-hosting",
        "twitch_token": "",
        "video_convert": "-c:v copy -c:a copy"
      },
      "registration_enabled": true,
      "storage_templates": {
        "file_template": "{{id}}",
        "folder_template": "{{date}}-{{id}}-{{type}}-{{uuid}}"
      },
      "video_check_interval_minutes": 180
    }