Downloads files from Synology Photo Station
576
DiskStation Downloader (formerly photostationtagdownloader / pstd)
Downloads files from Synology DiskStation Manager. Supports downloading
Get the binary for your specific OS from the release page.
wget -O dsdl https://github.com/schnatterer/dsdl/releases/download/2.0.0/dsdl-linux-x64
chmod +x dsdl
Use it like so:
./dsdl photo --user your-diskstsation-user --output photos/ http://diskstation/photo
./dsdl audio --user your-user --output music/ http://diskstation:5000/
You will be prompted for the password.
docker run --rm -ti -v $(pwd):/dsdl schnatterer/dsdl:2.0.0 audio --user your-photostation-user --output /dsdl http://diskstation/photo
Make sure uid/gid 1000 are allowed to write into current folder.
You can also run it with your own node js instance. This also allows for running on platforms that are not supplied with prebuilt binaries, like arm/arm64. For example on android, you can run dsdl via termux.
yarn install
node src/cli/dsdl.js photo --user your-photostation-user --output photos/ http://diskstation/photo
If running in batch/non-interactive mode, you you can just pipe it to dsdl.
Note that passwords showing up in the shell history or log files are a potential security risk.
echo "PW" | ./dsdl photo -u ...
--folder-structure
list - creates subdirs for each list.flat - writes all photos to a single folders.server - creates same folder structure as on server (Works only for audio).--tags - downloads specific tags. Note that tags containing spaces must be quoted. Multiple tags can either be specified
--tags "tag one",numberTwo) or--tags "tag one" --tags numberTwo)--playlists - downloads specific playlists. Note that playlists containing spaces must be quoted. Multiple playlists can either be specified
--playlists "tag one",numberTwo) or--playlists "tag one" --playlists numberTwo)--m3u - Create m3u playlist files for each downloaded playlistContent type
Image
Digest
Size
30.6 MB
Last updated
about 5 years ago
docker pull schnatterer/dsdl