From 27de298cf4f0a92d94c9355ca4cade86686d118a Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Mon, 8 Aug 2022 12:25:13 +0200 Subject: [PATCH] Add blog entry --- README.md | 3 +++ src/sync.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31925ea..f96fd40 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # Google Photo Album Sync + +[![Read the blog entry at c0ntroller.de](https://c0ntroller.de/img/read-blog.svg)](https://c0ntroller.de/#/project/photo-sync) + A script that will download all images from an album. Perfect to use if you have a local directory for your background, chromecast or whatever. diff --git a/src/sync.js b/src/sync.js index 00dc446..a1c6c01 100644 --- a/src/sync.js +++ b/src/sync.js @@ -63,7 +63,7 @@ async function syncImage(imageObject) { Solution: We use a counter to keep track of how many times we've downloaded the same filename. This is only dependend on the sync but not accross syncs. - This want work when the creation time of the images change because Google sorts + This wont work when the creation time of the images change because Google sorts images by that. And we can't sort them ourself because "orderBy" needs a "dateFilter" and that is exclusive with the "albumId"... */