autotako

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

config.example.toml (1904B)


      1 # this is the URL to your moombox instance
      2 # autotako polls the status endpoint for updates
      3 moombox_url = "http://127.0.0.1:5000/"
      4 
      5 # hide jobs older than this duration, specified in ISO8601 format
      6 # because the perf of rendering 1000+ items is not good
      7 max_visible_task_age = "P30D"
      8 
      9 [autoupload]
     10 # whether or not automatic uploads are actually enabled
     11 # this is set to false for testing purposes (will print on streams that meet the criteria)
     12 # set to true once you know that it's working like you'd expect it to
     13 active = false
     14 
     15 [torrent]
     16 # nested list of trackers
     17 # each tracker is grouped by announce tier
     18 trackers = [
     19   [
     20     "http://tracker.opentrackr.org:1337/announce",
     21   ],
     22 ]
     23 
     24 [qbittorrent]
     25 # configuration for qbittorrent
     26 host = "http://127.0.0.1:5001/"
     27 username = "admin"
     28 password = "password"
     29 
     30 # whether or not torrents should be paused when submitted to the client
     31 # set this to 'false' when deploying to production and automating
     32 start_paused = true
     33 
     34 # fallback path to be used in development
     35 # 
     36 # normally moombox's output paths will take priority, but in testing you might not have a
     37 # full-blown qbittorrent instance ready to go, or your test moombox instance is different from
     38 # the one used in prod
     39 default_save_path = "/srv/share/livestreams"
     40 
     41 [webdav]
     42 # configuration for webdav upload
     43 # this *must* have a trailing slash
     44 # dufs creates parent directories as needed; unsure if other webdav servers operate the same way
     45 base_url = "http://127.0.0.1:5002/testing/"
     46 username = "user"
     47 password = "password"
     48 
     49 [term_normalization]
     50 # maps keywords from moombox
     51 "no archive" = "unarchived"
     52 
     53 [[channel]]
     54 # channel to upload for
     55 id = "UCL_qhgtOy0dy1Agp8vkySQg"
     56 
     57 # name to use in templates
     58 # TODO: we should probably factor this into a table with more variables e.g. 'template.name' ...
     59 name = "Calli"
     60 
     61 # path to use for this channel under webdav.base_url
     62 webdav_path = "hololive/moricalliope"