---
apiVersion: v1
data:
  config.toml: |
    [server]
    port = 8080
    data_dir = "/app/data/"
    hostname = "https://podsync.${SECRET_DOMAIN_ME}"

    [database]
    badger = { truncate = true, file_io = true }

    [tokens]
    youtube = "${SECRET_YOUTUBE_TOKEN}"

    [feeds]
      [feeds.bares]
      url = "https://www.youtube.com/channel/UC53bIpnef1pwAx69ERmmOLA"
      page_size = 10 # The number of episodes to query each update (keep in mind, that this might drain API token)
      update_period = "12h" # How often query for updates, examples: "60m", "4h", "2h45m"
      quality = "high" # or "low"
      format = "video" # or "audio"
      clean = { keep_last = 10 }

      [feeds.spotfightnews]
      url = "https://www.youtube.com/channel/UCdsHMu1VHhZ8SlrdUQa457w"
      page_size = 5
      update_period = "1h"
      quality = "high"
      format = "audio"
      clean = { keep_last = 5 }

      [feeds.DevOpsToolkit]
      url = "https://www.youtube.com/playlist?list=UUfz8x0lVzJpb_dgWm9kPVrw"
      page_size = 15
      update_period = "8h"
      quality = "high"
      format = "video"
      clean = { keep_last = 15 }

      [feeds.TechWorldWithNana]
      url = "https://www.youtube.com/playlist?list=UUdngmbVKX1Tgre699-XLlUA"
      page_size = 15
      update_period = "8h"
      quality = "high"
      format = "video"
      clean = { keep_last = 15 }

      [feeds.oralsessions]
      url = "https://www.youtube.com/playlist?list=PLquP20HDxBb0hSlkoKj6Zx6ifU5rYK_u3"
      page_size = 5
      update_period = "10h"
      quality = "high"
      format = "video"
      clean = { keep_last = 5 }

      [feeds.headlock_breaking]
      url = "https://www.youtube.com/channel/UC4A1tkY5mw9MWYa9SnDi3CQ"
      page_size = 5
      update_period = "6h"
      quality = "high"
      format = "audio"
      clean = { keep_last = 5 }
      filters = { title = "(B|b)reaking" }
      custom = { title = "Headlock Breaking News" }

      [feeds.automateallthethings]
      url = "https://www.youtube.com/playlist?list=PLuNyVxp8vlDKGy1d5O8aDfB6qopI91jX7"
      page_size = 5
      update_period = "15h"
      quality = "high"
      format = "video"
      clean = { keep_last = 5 }

      [feeds.mytowatch]
      url = "https://youtube.com/playlist?list=PL7qBQ0Mi2xAp-alNW5mJ7z4X9Zko9rpWJ"
      page_size = 30
      update_period = "7h"
      quality = "high"
      format = "video"
      clean = { keep_last = 30 }

      [feeds.adriangoins]
      url="https://www.youtube.com/channel/UCjjwExYSPRWwjj9WwydrVmA"
      page_size = 5
      update_period = "15h"
      quality = "high"
      format = "video"
      clean = { keep_last = 5 }

    [feeds.SmarterEveryDay]
      url="https://www.youtube.com/user/destinws2/videos"
      page_size = 5
      update_period = "16h"
      quality = "high"
      format = "video"
      clean = { keep_last = 5 }

    [feeds.MyMechanicsInsights]
      url="https://www.youtube.com/channel/UC4EQCwfH54ieNPswtXh5K0w"
      page_size = 5
      update_period = "17h"
      quality = "high"
      format = "video"
      clean = { keep_last = 5 }

    [feeds.MyMechanics]
      url="https://www.youtube.com/channel/UCMrMVIBtqFW6O0-MWq26gqw"
      page_size = 5
      update_period = "18h"
      quality = "high"
      format = "video"
      clean = { keep_last = 5 }

    [feeds.sammyvlog]
      url="https://youtube.com/playlist?list=PLPjr81MfHO9uAob4pVd_a3YrUB21uYCAM"
      page_size = 5
      update_period = "19h"
      quality = "high"
      format = "video"
      clean = { keep_last = 5 }

    [downloader]
    self_update = true
kind: ConfigMap
metadata:
  labels:
    app: podsync
  name: podsync-config
