Skip to content

slskd: fix config validation errors and scope download path

jedmund requested to merge jedmund/slskd-config-fixes into main

Created by: jedmund

Summary

Fixes two validation errors introduced in #24 and scopes the download path:

  • slots: 0 invalid — slskd requires slots ≥ 1; leechers now get slots: 1 with speed_limit: 1 KB/s, making them effectively blocked in practice
  • /downloads/.incomplete non-existent — slskd requires the incomplete directory to pre-exist; added an Ansible task that creates /downloads/music and /downloads/music/.incomplete in the named Docker volume before deploying
  • Download path scoped to /downloads/music — keeps slskd downloads from cluttering the shared downloads volume root alongside torrents, videos, etc.

Test plan

  • Deployed to nuc-mini — stack restarted cleanly with no validation errors
  • Confirm new slskd downloads land in /downloads/music
  • Confirm leecher group is accepted in config (check slskd UI)

Merge request reports

Loading