autotako

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

config.example.toml (1751B)


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