synology-pictures/README.md

726 B

Synology Photos extraction

I have all my photos in a Synology Photos database and want to do fun stuff with it.

I'm getting the pictures from the Synology and upload them into Home Assistant. Make sure you have access to the database.

Installation

sudo apt-get install ufraw-batch imagemagick libheif-examples libolm-dev
pipenv install
pipenv shell

Open postgresql port on Synology

Taken from https://www.youtube.com/watch?v=MqJuKu38BsA

echo "host all all 192.168.1.1/24 trust" >> /etc/postgresql/pg_hba.conf
sed -i /listen_addresses = '127.0.0.1'/listen_addresses = '*'/ /etc/pastgresql/postgresql.conf

License

GPL v3