autotako

Service to monitor moombox for completed livestream downloads to upload for distribution
git clone https://code.alwayswait.ing/autotako.git
Log | Files | Refs

commit 3c33640db6eadc5b0b39d940cd4fa52b751522cf
parent 8156d40e56803d5cdbc15160ead2fff835173df3
Author: archiveanon <>
Date:   Tue, 25 Feb 2025 12:06:35 +0000

Add example configuration

Diffstat:
Aconfig.example.toml | 58++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+), 0 deletions(-)

diff --git a/config.example.toml b/config.example.toml @@ -0,0 +1,58 @@ +# this is the URL to your moombox instance +# autotako polls the status endpoint for updates +moombox_url = "http://127.0.0.1:5000/" + +[autoupload] +# whether or not automatic uploads are actually enabled +# this is set to false for testing purposes (will print on streams that meet the criteria) +# set to true once you know that it's working like you'd expect it to +active = false + +[torrent] +# nested list of trackers +# each tracker is grouped by announce tier +trackers = [ + [ + "http://tracker.opentrackr.org:1337/announce", + ], +] + +[qbittorrent] +# configuration for qbittorrent +host = "http://127.0.0.1:5001/" +username = "admin" +password = "password" + +# whether or not torrents should be paused when submitted to the client +# set this to 'false' when deploying to production and automating +start_paused = true + +# fallback path to be used in development +# +# normally moombox's output paths will take priority, but in testing you might not have a +# full-blown qbittorrent instance ready to go, or your test moombox instance is different from +# the one used in prod +default_save_path = "/srv/share/livestreams" + +[webdav] +# configuration for webdav upload +# this *must* have a trailing slash +# dufs creates parent directories as needed; unsure if other webdav servers operate the same way +base_url = "http://127.0.0.1:5002/testing/" +username = "user" +password = "password" + +[term_normalization] +# maps keywords from moombox +"no archive" = "unarchived" + +[[channel]] +# channel to upload for +id = "UCL_qhgtOy0dy1Agp8vkySQg" + +# name to use in templates +# TODO: we should probably factor this into a table with more variables e.g. 'template.name' ... +name = "Calli" + +# path to use for this channel under webdav.base_url +webdav_path = "hololive/moricalliope"