No description
Find a file
2023-02-19 13:42:01 +09:00
systemd Add systemd files and passing room-id for matrix 2023-02-19 13:42:01 +09:00
.env.original Remove /volume1 from path 2022-10-22 13:12:23 +09:00
.gitignore Add matrix 'Today x years ago' 2023-01-25 10:36:43 +09:00
.gitmodules Removed heic2jpeg git submodule 2022-10-22 22:13:27 +09:00
client_secret.json.original Initial commit 2021-08-06 04:43:12 +02:00
darktable.py Add Darktable to export files 2021-09-08 12:08:48 +09:00
edit.py Add systemd files and passing room-id for matrix 2023-02-19 13:42:01 +09:00
google-photos.py Change DB name and path to adapt to DSM7 2021-08-25 17:25:47 +02:00
ha.py Remove /volume1 from path 2022-10-22 13:12:23 +09:00
helper.py Move escape file path to helper.py file 2021-09-08 11:41:27 +09:00
LICENSE Add license 2021-08-06 04:49:27 +02:00
matrix.py Add systemd files and passing room-id for matrix 2023-02-19 13:42:01 +09:00
Pipfile Add matrix 'Today x years ago' 2023-01-25 10:36:43 +09:00
Pipfile.lock Add matrix 'Today x years ago' 2023-01-25 10:36:43 +09:00
README.md Add matrix 'Today x years ago' 2023-01-25 10:36:43 +09:00
run-matrix.sh Add systemd files and passing room-id for matrix 2023-02-19 13:42:01 +09:00
run.sh Remove /volume1 from path 2022-10-22 13:12:23 +09:00
synology.py Add systemd files and passing room-id for matrix 2023-02-19 13:42:01 +09:00

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