makingglitches / GooglePhotoDownload

Connects to Google Photos and downloads all content, keeping track of original data on disk and moving files only on the computer and already on server to respective directories, and tries to download the entire collection and store size info for quicker startup as well as original file sizes of those on disk, downloading the files still on disk first so they can be freed up. Supports multiple user accounts. Its just a better mousetrap. Google Takeout prepares whole archives of photos, this allows you to download them separately and keep track of some statistics as well on space usage.
6 stars 4 forks source link

Add logic to check if server size is larger than original size where available and not to download the larger file #31

Closed makingglitches closed 3 years ago

makingglitches commented 3 years ago

In the case of files I've already reduced for archival purposes with ffmpeg the space savings are nonexistent and some of the files I downloaded from googles cloud platform were actually slightly larger.

Add logic to exclude these from queue, and mark them appropriately.

makingglitches commented 3 years ago

Updated setwaittillnext query.

makingglitches commented 3 years ago

There is still the matter of missing local originals however.

makingglitches commented 3 years ago

and this was already fixed the last fucking time i wrote this code. stop stealing.

makingglitches commented 3 years ago

Handled in the marking of storeitems from queuestore comparisons are made after multiple size updates etc and comparisons. results in a list of files that would have been marked with waitillnext=1 to be 0 instead, so they are not considered for download.