go-podcast-proxy/config.toml

30 lines
968 B
TOML
Raw Normal View History

2024-08-03 20:05:08 +02:00
port = 3666
media-proxy-base-url = "http://localhost:3666"
# MUST match the PUBLICALLY accessible url!
2024-08-03 20:05:08 +02:00
file-root = "set path here..."
update-timeout = 30
[[podcasts]]
name = "another_very_unique_name"
url = "https://myawesomepodcast2"
convert = "opus"
[[podcasts]]
name = "a_unique_name"
url = "https://myawesomepodcast"
convert = "opus" # the file format to convert to
#[[podcasts.mpvoptions]]
#option = "option1"
#value = "value.."
#[[podcasts.mpvoptions]]
#option = "option2"
#value = "blabla"
# mpvoptions is an array of simple option=value tuples, passed to libmpv
filter-type = "published"
# the type of the filter to use. omit or leave empty to use no filtering
filter-direction-asc = false
# the order to sort before limiting. true means ascending order, false means descending.
filter-limit = 5
# take the first n elements AFTER sorting. to get the 5 last of the entire feed,
# use filter-direction-asc = false (to get old ones first), and filter-limit = 5