Skip to content

javanator/SynoImporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What this is

I created this to privatize and archive my photos from Google. I will try to make scripts modular so that they may be reused for other purposes. The synology API has been rather difficult to integrate with as there are not very many examples and barely any documentation.

Currently, API integration is functional, but overall script to import a Google takeout file contents is a work in progress

Errata

sudo apt install libexiv2-dev libboost-python-dev

Synology photos stores tags as IPTC data in a field called "keywords". If scripting tag based albums, an optimization may be to write the keywords to the jpeg files prior to upload. This would save on network round-trips.

Troubleshooting Help

  • If creating a tag based album fails, ensure that there are photos with the tag first. It is not possible to create an empty tag based album

SSH To Diskstation Server

This log file will show API activity and will sometimes provide more error details than what is returned in the HTTP response

sudo vi /var/log/synoscgi.log

References

Synology DSM API Reference

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages