You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I am alive. For a long time, to any bigger issue that showed up here, i responded "idk, code is 馃挬, will rewrite it some day"
So I did 馃帀
Behold, Dart
GPTH, on new gpth_dart branch, is now written in Dart language - it allows way better organization than Python, and has beautiful tools for manipulating lists, async/await, etc - thanks to this, whole code is 160 lines less now (without test/), while doing things more stable, perdictable, and actually being documented
Missing stuff
Sadly, some functionalities are missing now:
script does not write timestamps/geo data from jsons back to files - this may be sad in some cases (where people manually edited the location in app) - but i think it's better for the simplicity
--skip-extras-harder was removed
--divide-to-dates not implemented yet - but will be 馃憤
sadly, finding albums is still purely theoretical, because we don't know what to do about it
testing - lib/ is ~77% covered 馃挴
performance - didn't test yet but expect a big difference 馃挴
you also now have clear choice between coping files - which leaves input folder completely untouched (in contrast to python version 馃檮), and moving them, which should be very good performance
Fixed issues
json names being trimed to 51 chars prevented script from finding jsons - JSON naming too long?聽#8
I marked this as "too hard to resolve" in my head, but now in Dart it's fixed, meaning finding correct json should be 99% success. And if not...
nicely standardized date extraction - @tkuenzle in Make date extraction more modular聽#112 suggested that date extraction should be cleaner and modularized - python script was to shitty for that, but now take a look at
Hi @everyone!
Yes, I am alive. For a long time, to any bigger issue that showed up here, i responded "idk, code is 馃挬, will rewrite it some day"
So I did 馃帀
Behold, Dart
GPTH, on new
gpth_dart
branch, is now written in Dart language - it allows way better organization than Python, and has beautiful tools for manipulating lists, async/await, etc - thanks to this, whole code is 160 lines less now (withouttest/
), while doing things more stable, perdictable, and actually being documentedMissing stuff
Sadly, some functionalities are missing now:
--skip-extras-harder
was removed--divide-to-dates
not implemented yet - but will be 馃憤Stuff working better than ever
anyone interested can take a look: https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper/blob/gpth_dart/lib/duplicate.dart
lib/
is ~77% covered 馃挴Fixed issues
I marked this as "too hard to resolve" in my head, but now in Dart it's fixed, meaning finding correct json should be 99% success. And if not...
GooglePhotosTakeoutHelper/bin/gpth.dart
Lines 68 to 72 in 3695208
I need you 鈽濓笍
I would be very happy if you guys could help and test how new version works for you etc:
Binaries are in releases for you 鉂わ笍
The text was updated successfully, but these errors were encountered: