From 3c2b2f960d16221c5fbc6f135223a6e17e018ef7 Mon Sep 17 00:00:00 2001 From: ronbruins <43776917+ronbruins@users.noreply.github.com> Date: Sat, 1 Jun 2024 08:36:35 +0300 Subject: [PATCH 1/3] added comment loop --- homebox.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homebox.py b/homebox.py index 7f47de7..3ce6f97 100644 --- a/homebox.py +++ b/homebox.py @@ -54,6 +54,7 @@ def do_parent_item(parent_itemname,location_id,location): hb.upload_photo(parent_item_id,pic_name,item_location) return parent_item_id,item_location +#added loop item# def loop_item(location_id,item_location,parent_item_id): for root, dirs, files in os.walk(item_location): for item in files: From 47fa1eb3a7236da6ef781506edd0835b7456c8eb Mon Sep 17 00:00:00 2001 From: ronbruins <43776917+ronbruins@users.noreply.github.com> Date: Sat, 1 Jun 2024 08:37:14 +0300 Subject: [PATCH 2/3] added label update comloc commentment --- homebox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homebox.py b/homebox.py index 3ce6f97..510cad2 100644 --- a/homebox.py +++ b/homebox.py @@ -100,7 +100,7 @@ def loop_item(location_id,item_location,parent_item_id): hb.update_item_label(parent_item_id,item_id,location_id,itemname,labels,labelids) - +## label update ### def update_label(label_id): items = hb.get_items() for item in items['items']: @@ -121,7 +121,7 @@ def update_label(label_id): hb.update_item_label(parent_item_id,item_id,location_id,name) except: pass - +## loc comment ## def mv_loc_parent_item(): locations = hb.get_location() for location in locations: From 49b2a139d54c6f0cf287ddb2a408e0ce89e8ed4a Mon Sep 17 00:00:00 2001 From: ronbruins <43776917+ronbruins@users.noreply.github.com> Date: Sat, 1 Jun 2024 08:37:49 +0300 Subject: [PATCH 3/3] exiftool --- homebox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebox.py b/homebox.py index 510cad2..cb3712e 100644 --- a/homebox.py +++ b/homebox.py @@ -136,7 +136,7 @@ def mv_loc_parent_item(): print(item['name']) print(item['id']) hb.update_item(parent_item_id,item['id'],location_id,item['name']) - +##exiftool ## def call_ssc(FileLoc): cmd = "-j -G -n"