Skip to content

Instantly share code, notes, and snippets.

@nathanbirrell
Created June 5, 2023 07:00
Show Gist options
  • Save nathanbirrell/ebd3868b5918c304010ccb13fbdbf18d to your computer and use it in GitHub Desktop.
Save nathanbirrell/ebd3868b5918c304010ccb13fbdbf18d to your computer and use it in GitHub Desktop.
Use Soundcloud Downloader to download your likes on Synology NAS as a script or cron job
# python3 and ffmpeg can both be installed easily via the Synology Package Manager
# ensure python3 installed
python3 --version
# ensure pip3 installed
sudo python3 -m ensurepip
# install scdl
python3 -m pip install scdl
# test install (note that binary not added to path, I did not bother with this)
/var/packages/py3k/target/usr/local/bin/scdl --version
# test script
sudo /var/packages/py3k/target/usr/local/bin/scdl -l https://soundcloud.com/naaaateeee -f --download-archive archive.txt --sync archive.txt -c -n 50
# or, run without waiting for the result!
sudo /var/packages/py3k/target/usr/local/bin/scdl -l https://soundcloud.com/naaaateeee -f --download-archive archive.txt --sync archive.txt -c -n 50 > output.log 2>&1 &
# outputs a PID, cancel with kill -9 PID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment